Index
hypha.apply.projects.forms
¶
BatchUpdateInvoiceStatusForm
¶
Bases: Form
Source code in hypha/apply/projects/forms/payment.py
ChangeInvoiceStatusForm
¶
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
¶
ApproveContractForm
¶
ApproversForm
¶
Bases: ModelForm
Source code in hypha/apply/projects/forms/project.py
Meta
¶
save
¶
Source code in hypha/apply/projects/forms/project.py
AssignApproversForm
¶
Bases: ModelForm
Source code in hypha/apply/projects/forms/project.py
Meta
¶
save
¶
Source code in hypha/apply/projects/forms/project.py
ChangePAFStatusForm
¶
Bases: ModelForm
Source code in hypha/apply/projects/forms/project.py
paf_status
class-attribute
instance-attribute
¶
paf_status = ChoiceField(label=gettext_lazy('Project form status'), choices=PAF_STATUS_CHOICES, widget=RadioSelect())
ChangeProjectStatusForm
¶
Bases: ModelForm
Source code in hypha/apply/projects/forms/project.py
ProjectCreateForm
¶
Bases: Form
Source code in hypha/apply/projects/forms/project.py
ProjectForm
¶
Bases: StreamBaseForm
, ModelForm
Source code in hypha/apply/projects/forms/project.py
Meta
¶
swap_fields_for_display
¶
Source code in hypha/apply/stream_forms/forms.py
hidden_fields
¶
delete_temporary_files
¶
Overridden method of django_file_form's FileFormMixin, to handle multiple forms on the same page.
Source code in hypha/apply/stream_forms/forms.py
clean
¶
save
¶
Source code in hypha/apply/projects/forms/project.py
ProjectSOWForm
¶
Bases: StreamBaseForm
, ModelForm
Source code in hypha/apply/projects/forms/project.py
Meta
¶
swap_fields_for_display
¶
Source code in hypha/apply/stream_forms/forms.py
hidden_fields
¶
delete_temporary_files
¶
Overridden method of django_file_form's FileFormMixin, to handle multiple forms on the same page.
Source code in hypha/apply/stream_forms/forms.py
clean
¶
save
¶
Source code in hypha/apply/projects/forms/project.py
SetPendingForm
¶
Bases: ApproversForm
Source code in hypha/apply/projects/forms/project.py
Meta
¶
save
¶
Source code in hypha/apply/projects/forms/project.py
clean
¶
Source code in hypha/apply/projects/forms/project.py
SkipPAFApprovalProcessForm
¶
Bases: ModelForm
Source code in hypha/apply/projects/forms/project.py
StaffUploadContractForm
¶
SubmitContractDocumentsForm
¶
Bases: ModelForm
Source code in hypha/apply/projects/forms/project.py
UpdateProjectLeadForm
¶
Bases: ModelForm
Source code in hypha/apply/projects/forms/project.py
UpdateProjectTitleForm
¶
UploadContractDocumentForm
¶
Bases: FileFormMixin
, ModelForm
Source code in hypha/apply/projects/forms/project.py
document
class-attribute
instance-attribute
¶
document = SingleFileField(label=gettext_lazy('Contract Document'), required=True)
Meta
¶
UploadContractForm
¶
Bases: FileFormMixin
, ModelForm
file
class-attribute
instance-attribute
¶
file = SingleFileField(label=gettext_lazy('Contract'), required=True)
signed_and_approved
class-attribute
instance-attribute
¶
Meta
¶
UploadDocumentForm
¶
Bases: FileFormMixin
, ModelForm
Source code in hypha/apply/projects/forms/project.py
document
class-attribute
instance-attribute
¶
document = SingleFileField(label=gettext_lazy('Document'), required=True)
Meta
¶
ReportEditForm
¶
Bases: StreamBaseForm
, ModelForm
Source code in hypha/apply/projects/forms/report.py
Meta
¶
swap_fields_for_display
¶
Source code in hypha/apply/stream_forms/forms.py
hidden_fields
¶
delete_temporary_files
¶
Overridden method of django_file_form's FileFormMixin, to handle multiple forms on the same page.