Add business Finance hub with invoices and templates.

Ship invoice issue/list/templates under Finance, fix tenant theme reset and owner role badge, and show customers-joined charts by Persian months.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-11 15:17:03 +03:30
co-authored by Cursor
parent 722933dda9
commit 917b840ee5
44 changed files with 5136 additions and 105 deletions
+8 -8
View File
@@ -6,7 +6,7 @@ import {
Users,
FileText,
Briefcase,
Globe,
Wallet,
} from 'lucide-react'
import { useLocale } from '@meshkee/dashboard-ui'
import { useAuth } from '../context/AuthContext'
@@ -69,6 +69,13 @@ const sections: {
href: '/customers',
countKey: 'customers',
},
{
icon: Wallet,
titleKey: 'home.card.finance.title',
descKey: 'home.card.finance.desc',
linkKey: 'home.card.finance.link',
href: '/finance',
},
{
icon: FileText,
titleKey: 'home.card.blog.title',
@@ -89,13 +96,6 @@ const sections: {
countKey: 'portfolios',
moduleId: 'portfolio',
},
{
icon: Globe,
titleKey: 'home.card.website.title',
descKey: 'home.card.website.desc',
linkKey: 'home.card.website.link',
href: '/website',
},
]
type SectionCounts = Partial<Record<CountKey, number>>