Upgrade client dashboard to v2 grouped ajax portal
This commit is contained in:
@@ -916,15 +916,17 @@ def _active_financial_year(request: Request) -> str | None:
|
||||
|
||||
CLIENT_PORTAL_TABS = {
|
||||
"overview": "modules/clients/templates/clients/portal_partials/overview.html",
|
||||
"action-centre": "modules/clients/templates/clients/portal_partials/action_centre.html",
|
||||
"services-documents": "modules/clients/templates/clients/portal_partials/services_documents.html",
|
||||
"billing-messages": "modules/clients/templates/clients/portal_partials/billing_messages.html",
|
||||
"reports": "modules/clients/templates/clients/portal_partials/reports.html",
|
||||
"pending": "modules/clients/templates/clients/portal_partials/pending.html",
|
||||
"services": "modules/clients/templates/clients/portal_partials/services.html",
|
||||
"documents": "modules/clients/templates/clients/portal_partials/documents.html",
|
||||
"billing": "modules/clients/templates/clients/portal_partials/billing.html",
|
||||
"messages": "modules/clients/templates/clients/portal_partials/messages.html",
|
||||
"reports": "modules/clients/templates/clients/portal_partials/reports.html",
|
||||
}
|
||||
|
||||
|
||||
def _client_dashboard_payload(db, client_row, financial_year: str | None = None) -> dict:
|
||||
summary = build_client_portal_summary(db, client_row, financial_year=financial_year)
|
||||
billing_summary = build_client_billing_summary(db, client_row, financial_year=financial_year)
|
||||
|
||||
Reference in New Issue
Block a user