Add partner client registration menu

This commit is contained in:
A R R R Associates
2026-08-05 21:16:17 +05:30
parent 28277590cc
commit 445a03a539
2 changed files with 12 additions and 1 deletions
@@ -50,7 +50,7 @@
{
'label': 'Clients',
'visible': true,
'active': (_partner_path.startswith('/partner/dashboard') and _partner_tab == 'clients') or _partner_path.startswith('/partner/clients') or _partner_path.startswith('/clients') or _partner_path.startswith('/documents/permanent'),
'active': (_partner_path.startswith('/partner/dashboard') and _partner_tab == 'clients') or _partner_path.startswith('/partner/clients') or _partner_path.startswith('/clients') or _partner_path.startswith('/registrations') or _partner_path.startswith('/documents/permanent'),
'children': [
{
'label': 'Client Overview',
@@ -67,6 +67,16 @@
'url': '/clients/new',
'active': _partner_path == '/clients/new'
},
{
'label': 'Registrations & Renewals',
'url': '/registrations',
'active': _partner_path == '/registrations' or (_partner_path.startswith('/registrations/') and not _partner_path.startswith('/registrations/masters'))
},
{
'label': 'Registration Masters',
'url': '/registrations/masters',
'active': _partner_path.startswith('/registrations/masters')
},
{
'label': 'Permanent Docs',
'url': '/documents/permanent',