urlpatterns = [path('', as_view(pattern_name='apply:projects:all'), name='overview'), path('all/', as_view(), name='all'), path('statuses/', get_project_status_counts, name='projects_status_counts'), path('invoices/', as_view(), name='invoices'), path('invoices/statuses/', get_invoices_status_counts, name='invoices_status_counts'), path('<int:pk>/', include([path('', as_view(), name='detail'), path('partial/activities/', partial_project_activities, name='partial-activities'), path('edit/', as_view(), name='edit'), path('paf/skip/', as_view(), name='paf_skip'), path('documents/submit/', as_view(), name='submit_project_for_approval'), path('pafapprovers/assign/', as_view(), name='assign_pafapprovers'), path('pafapprovers/update/', as_view(), name='update_pafapprovers'), path('pafstatus/update/', as_view(), name='update_pafstatus'), path('document/<int:category_pk>/upload/', as_view(), name='supporting_doc_upload'), path('document/<int:document_pk>/remove/', as_view(), name='remove_supporting_document'), path('partial/documents/', partial_supporting_documents, name='supporting_documents'), path('documents/<int:file_pk>', as_view(), name='document'), path('documents/<uuid:field_id>/<str:file_name>', as_view(), name='document'), path('contract/upload/', as_view(), name='contract_upload'), path('partial/contract/documents/', partial_contracting_documents, name='contract_documents'), path('contract/documents/<int:category_pk>/upload/', as_view(), name='contract_doc_upload'), path('contract/documents/<int:document_pk>/remove/', as_view(), name='remove_contracting_document'), path('category/<str:type>/<int:category_pk>/template/', as_view(), name='category_template'), path('contract/<int:file_pk>/', as_view(), name='contract'), path('contract/documents/<int:file_pk>/', as_view(), name='contract_document'), path('contract/documents/submit/', as_view(), name='contract_documents_submit'), path('contract/approve/', as_view(), name='contract_approve'), path('download/<str:export_type>/', as_view(), name='download'), path('approval/', as_view(), name='approval'), path('sow/', as_view(), name='sow'), path('sow/download/<str:export_type>/', as_view(), name='download-sow'), path('invoice/', as_view(), name='invoice'), path('partial/invoice-status/', partial_get_invoice_status_table, name='partial-invoices-status'), path('partial/rejected-invoice-status/', partial_get_invoice_status_table, {'rejected': True}, name='partial-rejected-invoices-status'), path('invoices/<int:invoice_pk>/', include([path('', as_view(), name='invoice-detail'), path('edit/', as_view(), name='invoice-edit'), path('update/', as_view(), name='invoice-update'), path('delete/', as_view(), name='invoice-delete'), path('partial/status/', partial_get_invoice_status, name='partial-invoice-status'), path('actions/', partial_get_invoice_detail_actions, name='partial-invoice-detail-actions'), path('documents/invoice/', as_view(), name='invoice-document'), path('documents/supporting/<int:file_pk>/', as_view(), name='invoice-supporting-document')]))])), path('reports/', include(([path('', as_view(), name='all'), path('<int:pk>/', include([path('', as_view(), name='detail'), path('skip/', as_view(), name='skip'), path('edit/', as_view(), name='edit'), path('documents/<int:file_pk>/', as_view(), name='document')]))], 'reports'))), path('reporting/', as_view(), name='reporting')]