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
@@ -75,6 +75,7 @@ const sections: {
descKey: 'home.card.finance.desc',
linkKey: 'home.card.finance.link',
href: '/finance',
moduleId: 'finance',
},
{
icon: FileText,