mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-26 14:42:25 +00:00
12 lines
361 B
Python
12 lines
361 B
Python
from django import forms
|
|
from django.utils.translation import ugettext_lazy as _l
|
|
|
|
from re2o.mixins import FormRevMixin
|
|
from cotisations.models import Facture as Invoice
|
|
|
|
|
|
class InvoiceForm(FormRevMixin, forms.ModelForm):
|
|
"""A simple form to get the bank a the cheque number."""
|
|
class Meta:
|
|
model = Invoice
|
|
fields = ['banque', 'cheque']
|