Payment
hypha.apply.projects.forms.payment
¶
ChangeInvoiceStatusForm
¶
Bases: ModelForm
Source code in hypha/apply/projects/forms/payment.py
InvoiceBaseForm
¶
Bases: ModelForm
Source code in hypha/apply/projects/forms/payment.py
CreateInvoiceForm
¶
Bases: FileFormMixin
, InvoiceBaseForm
Source code in hypha/apply/projects/forms/payment.py
document
class-attribute
instance-attribute
¶
document = SingleFileField(label=gettext_lazy('Invoice file'), required=True, help_text=gettext_lazy('The invoice must be a PDF.'))
supporting_documents
class-attribute
instance-attribute
¶
supporting_documents = MultiFileField(required=False, help_text=gettext_lazy('Files that are related to the invoice. They could be xls, microsoft office documents, open office documents, pdfs, txt files.'))
field_order
class-attribute
instance-attribute
¶
field_order = ['invoice_number', 'invoice_amount', 'invoice_date', 'document', 'supporting_documents', 'message_for_pm']
Meta
¶
save
¶
Source code in hypha/apply/projects/forms/payment.py
EditInvoiceForm
¶
Bases: FileFormMixin
, InvoiceBaseForm
Source code in hypha/apply/projects/forms/payment.py
document
class-attribute
instance-attribute
¶
document = SingleFileField(label=gettext_lazy('Invoice File'), required=True)
supporting_documents
class-attribute
instance-attribute
¶
supporting_documents = MultiFileField(required=False)
field_order
class-attribute
instance-attribute
¶
field_order = ['invoice_number', 'invoice_amount', 'invoice_date', 'document', 'supporting_documents', 'message_for_pm']
Meta
¶
save
¶
Source code in hypha/apply/projects/forms/payment.py
SelectDocumentForm
¶
BatchUpdateInvoiceStatusForm
¶
Bases: Form