feat(manager): expenses, the supplier book and tabs on v2 (platform-v2 step 6.13a)
- Finance -> Expenses: still owed, late, filters, new/edit (supplier picked or added there), pay in parts, details with payments, delete - CRM -> Contacts: the supplier book with what each one is owed - Finance -> Tabs: open (who owes most first) / settled, charges and payments, pay (cash/card/other), close, forgive - backend: expenses.manage / tabs.manage (the list also reports.view, a customer's tabs also crm.manage, put-on-tab needs tabs.manage); payment <= due (expense.over_due), total >= paid (expense.below_paid), categories/kinds/methods checked, null clears a field; live events expenses.changed / tabs.changed; GET /api/expenses ?from=&to= venue dates (the report uses it); tab_status=settled - fix: an expense with a due date failed to save (naive date refused by D-11) - @xenia/i18n/number subpath; tests: test_finance.py (6), finance.test.mjs (5), e2e manager.mjs finance flow Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -41,15 +41,15 @@ export const NAV = [
|
||||
{
|
||||
group: 'crm', icon: BookUser, label: 'nav.crm',
|
||||
children: [
|
||||
{ to: '/crm/contacts', icon: BookUser, label: 'nav.contacts', module: 'expenses', perm: DASH },
|
||||
{ to: '/crm/contacts', icon: BookUser, label: 'nav.contacts', module: 'expenses', perm: 'expenses.manage' },
|
||||
{ to: '/crm/customers', icon: Users, label: 'nav.customers', module: 'crm', perm: DASH },
|
||||
],
|
||||
},
|
||||
{
|
||||
group: 'financials', icon: Receipt, label: 'nav.finance',
|
||||
children: [
|
||||
{ to: '/financials/expenses', icon: Receipt, label: 'nav.expenses', module: 'expenses', perm: DASH },
|
||||
{ to: '/financials/tabs', icon: CreditCard, label: 'nav.tabs', module: 'tabs', perm: DASH },
|
||||
{ to: '/financials/expenses', icon: Receipt, label: 'nav.expenses', module: 'expenses', perm: 'expenses.manage' },
|
||||
{ to: '/financials/tabs', icon: CreditCard, label: 'nav.tabs', module: 'tabs', perm: 'tabs.manage' },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user