mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
11 lines
350 B
Python
11 lines
350 B
Python
|
from django import forms
|
||
|
from django.utils.translation import ugettext_lazy as _l
|
||
|
|
||
|
from cotisations.models import Banque as Bank
|
||
|
|
||
|
|
||
|
class ChequeForm(forms.Form):
|
||
|
"""A simple form to get the bank a the cheque number."""
|
||
|
bank = forms.ModelChoiceField(Bank.objects.all(), label=_l("Bank"))
|
||
|
number = forms.CharField(label=_l("Cheque number"))
|