From 5cb9cef2a9abbe8c947c5f122b8e61726353dab9 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 29 May 2026 00:10:50 +0800 Subject: [PATCH] fix: remove Jinja2 condition from accounting menu items (Jinja2 not effective at menu render time) --- wwwroot/global_menu.ui | 2 -- 1 file changed, 2 deletions(-) diff --git a/wwwroot/global_menu.ui b/wwwroot/global_menu.ui index 86b88a1..c115d0b 100644 --- a/wwwroot/global_menu.ui +++ b/wwwroot/global_menu.ui @@ -87,7 +87,6 @@ "target": "app.sage_main_content" } {% endif %} -{% if 'reseller.accountant' in roles or 'owner.superuser' in roles %} ,{ "name": "accounting", "label": "计费管理", @@ -102,7 +101,6 @@ "url": "{{entire_url('/accounting/credit_limit/index.ui')}}", "target": "app.sage_main_content" } -{% endif %} {% if get_user() %} ,{ "name": "rbac",