Project partials
hypha.apply.projects.views.project_partials
¶
partial_project_activities
¶
Source code in hypha/apply/projects/views/project_partials.py
partial_supporting_documents
¶
Source code in hypha/apply/projects/views/project_partials.py
partial_contracting_documents
¶
Source code in hypha/apply/projects/views/project_partials.py
get_project_status_counts
¶
Source code in hypha/apply/projects/views/project_partials.py
get_invoices_status_counts
¶
Source code in hypha/apply/projects/views/project_partials.py
partial_get_invoice_status_table
¶
Partial to get the invoice status table
Parameters:
-
request
(HttpRequest
) –request used to retrieve partial
-
pk
(int
) –PK of the project to retrieve invoices for
-
rejected
(Optional[bool]
, default:False
) –retrieve rejected invoices, by default only retrieves not rejected invoices
Returns:
-
–
HttpResponse containing the table of requested invoices
Source code in hypha/apply/projects/views/project_partials.py
partial_get_invoice_status
¶
Partial to get the invoice status for invoice detail view
Parameters:
-
request
(HttpRequest
) –request used to retrieve partial
-
pk
(int
) –ID of the associated project
-
invoice_pk
(int
) –ID of the invoice to retrieve the status of
Returns:
-
–
HttpResponse containing the status line of requested invoice
Source code in hypha/apply/projects/views/project_partials.py
partial_get_invoice_detail_actions
¶
Partial to get the actions for the invoice detail view
Parameters:
-
request
(HttpRequest
) –request used to retrieve partial
-
pk
(int
) –ID of the associated project
-
invoice_pk
(int
) –ID of the invoice to retrieve the status of
Returns:
-
–
HttpResponse containing the status line of requested invoice