Gate Finance behind a super-admin business module.

Add finance to the modules picker and hide sidebar, home tile, and customer invoice actions when it is disabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-11 15:23:56 +03:30
co-authored by Cursor
parent 917b840ee5
commit a50685ec69
6 changed files with 22 additions and 11 deletions
+1
View File
@@ -142,6 +142,7 @@ export function Sidebar() {
icon: Wallet,
labelKey: 'nav.finance',
basePath: '/finance',
moduleId: 'finance',
children: [
{ labelKey: 'nav.finance.overview', to: '/finance' },
{ labelKey: 'nav.finance.invoices', to: '/invoices' },