Add unified hierarchical client management interface
This commit is contained in:
@@ -2,6 +2,7 @@ from fastapi import FastAPI
|
||||
from fastapi.staticfiles import StaticFiles
|
||||
|
||||
from app.modules.clients.ui import router as clients_ui_router, portal_router as client_portal_router
|
||||
from app.modules.clients.management_ui import router as client_management_ui_router
|
||||
from app.modules.clients.scope_ui import router as client_scope_ui_router
|
||||
from app.modules.client_groups.ui import router as client_groups_ui_router
|
||||
from app.modules.consultants.ui import router as consultants_ui_router, portal_router as consultant_portal_router
|
||||
@@ -110,6 +111,7 @@ def mount_ui(app: FastAPI) -> None:
|
||||
app.include_router(system_admin_dashboard_router)
|
||||
app.include_router(work_detail_ui_router)
|
||||
app.include_router(clients_ui_router)
|
||||
app.include_router(client_management_ui_router)
|
||||
app.include_router(client_scope_ui_router)
|
||||
app.include_router(client_groups_ui_router)
|
||||
app.include_router(registrations_ui_router)
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
'active': _firm_admin_path.startswith('/clients'),
|
||||
'children': [
|
||||
{'label': 'Client List', 'url': '/clients', 'active': _firm_admin_path == '/clients'},
|
||||
{'label': 'Client Management', 'url': '/clients/management', 'active': _firm_admin_path.startswith('/clients/management')},
|
||||
{'label': 'Add Client', 'url': '/clients/new', 'active': _firm_admin_path.startswith('/clients/new')},
|
||||
{'label': 'Import Clients', 'url': '/clients/import', 'active': _firm_admin_path.startswith('/clients/import')},
|
||||
{'label': 'Export Clients', 'url': '/clients/export', 'active': _firm_admin_path.startswith('/clients/export')}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% if navigation_render_location_v2|default('page') == 'global-host' or not global_role_navigation_host_v2|default(false) %}
|
||||
{% if navigation_render_location_v2|default('page') == 'global-host' or not global_role_navigation_host_v2|default(false) %}
|
||||
{#
|
||||
Partner operations navigation.
|
||||
Presentation only: all links use existing production routes and route-level permissions remain authoritative.
|
||||
@@ -62,6 +62,11 @@
|
||||
'url': '/partner/clients',
|
||||
'active': _partner_path.startswith('/partner/clients')
|
||||
},
|
||||
{
|
||||
'label': 'Client Management',
|
||||
'url': '/clients/management',
|
||||
'active': _partner_path.startswith('/clients/management')
|
||||
},
|
||||
{
|
||||
'label': 'Add Client',
|
||||
'url': '/clients/new',
|
||||
|
||||
Reference in New Issue
Block a user