From 392ce9893bcb3e2bf2050fec8deb93e502f20c0e Mon Sep 17 00:00:00 2001 From: A R R R Associates Date: Wed, 1 Jul 2026 15:41:49 +0530 Subject: [PATCH] firmwiz button --- app/ui/templates/base/layout.html | 41 ++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/app/ui/templates/base/layout.html b/app/ui/templates/base/layout.html index 55fbc20..4b090eb 100644 --- a/app/ui/templates/base/layout.html +++ b/app/ui/templates/base/layout.html @@ -1,4 +1,4 @@ - + @@ -108,7 +108,7 @@ {% if firm_branding.logo_url %}{{ current_firm_name }} logo{% else %}
{{ (current_firm_name[:2] if current_firm_name else 'AF')|upper }}
{% endif %}
{{ current_firm_name }}
-
{% if full_auth %}{{ current_branch_name }}{% if current_branch_name and current_branch_name != "-" %} Branch{% endif %} • Workspace{% elif domain_context.is_resolved %}{{ current_branch_name or 'Domain Workspace' }}{% else %}Secure Practice Workspace{% endif %}
+
{% if full_auth %}{{ current_branch_name }}{% if current_branch_name and current_branch_name != "-" %} Branch{% endif %} • Workspace{% elif domain_context.is_resolved %}{{ current_branch_name or 'Domain Workspace' }}{% else %}Secure Practice Workspace{% endif %}
@@ -153,7 +153,7 @@
My Workspace - + ›
{% if can_view_employee_portal(current_user, ui_perms, ui_roles) %} @@ -186,7 +186,7 @@
Partner Workspace - + ›
Overview @@ -201,7 +201,7 @@
Team Workspace - + ›
{% if can_manage_employee_work(current_user, ui_perms, ui_roles) %} @@ -226,7 +226,7 @@
Billing - + ›
Invoices @@ -244,7 +244,7 @@
Team Administration - + ›
{% if can_view_employee_dashboard(current_user, ui_perms, ui_roles) %}HR Dashboard{% endif %} @@ -282,7 +282,7 @@
Firm Administration - + ›
{% if "Firm Admin" in ui_roles or is_system_admin_user %} @@ -338,7 +338,7 @@
Platform - + ›
Domain Configuration
@@ -360,7 +360,7 @@
Core Setup - + ›
{% if can_view_settings(current_user, ui_perms, ui_roles) %} @@ -400,11 +400,11 @@
{{ current_user.full_name or current_user.email }}
{{ current_user.email }}
{% if current_user.qualification or current_user.designation %} -
{{ current_user.qualification or '' }}{% if current_user.qualification and current_user.designation %} • {% endif %}{{ current_user.designation or '' }}
+
{{ current_user.qualification or '' }}{% if current_user.qualification and current_user.designation %} • {% endif %}{{ current_user.designation or '' }}
{% endif %}
Your Firm: {{ current_firm_name }} - • Branch: {{ current_branch_name }}{% if active_financial_year %} • FY: {{ active_financial_year }}{% endif %} + • Branch: {{ current_branch_name }}{% if active_financial_year %} • FY: {{ active_financial_year }}{% endif %}
{% if "Consultant" in ui_roles %} @@ -426,7 +426,7 @@
{% else %} {% if domain_context.is_resolved %} -
{{ current_firm_name }}{% if current_branch_name %} • {{ current_branch_name }}{% endif %}
+
{{ current_firm_name }}{% if current_branch_name %} • {{ current_branch_name }}{% endif %}
{% endif %} Login {% endif %} @@ -472,10 +472,20 @@
{% endif %} + + {% if is_system_admin_user %} +
+ + + + Create Firm + +
+ {% endif %}
Active Scope: {{ current_firm_name }} - • {{ current_branch_name if active_branch_id else "All Branches" }}{% if active_financial_year %} • FY {{ active_financial_year }}{% endif %} + • {{ current_branch_name if active_branch_id else "All Branches" }}{% if active_financial_year %} • FY {{ active_financial_year }}{% endif %}
{% endif %} @@ -547,7 +557,7 @@ wrapper.className = "overflow-hidden rounded-2xl border shadow-soft " + priorityClasses(alert.priority); wrapper.innerHTML = `
-
🔔
+
🔔
New Alert
@@ -615,3 +625,4 @@ +