@apptimate/core-lib 3.1.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/constants/menus.ts +5 -2
package/package.json
CHANGED
package/src/constants/menus.ts
CHANGED
|
@@ -111,6 +111,7 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
111
111
|
// ── Finance Module ──
|
|
112
112
|
{ key: 'finance__invoices', label: 'Invoices', path: '/finance/invoices', module: 'Finance', defaultGroup: 'Transactions', permission: null },
|
|
113
113
|
{ key: 'finance__payments', label: 'Payments', path: '/finance/payments', module: 'Finance', defaultGroup: 'Transactions', permission: null },
|
|
114
|
+
{ key: 'finance__direct_transactions', label: 'Direct Transactions', path: '/finance/direct-transactions', module: 'Finance', defaultGroup: 'Transactions', permission: null },
|
|
114
115
|
{ key: 'finance__chart_of_accounts', label: 'Chart of Accounts', path: '/finance/chart-of-accounts', module: 'Finance', defaultGroup: 'Accounting', permission: null },
|
|
115
116
|
{ key: 'finance__journal_entries', label: 'Journal Entries', path: '/finance/journal-entries', module: 'Finance', defaultGroup: 'Accounting', permission: null },
|
|
116
117
|
{ key: 'finance__fiscal_years', label: 'Fiscal Years', path: '/finance/fiscal-years', module: 'Finance', defaultGroup: 'Accounting', permission: null },
|
|
@@ -121,6 +122,8 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
121
122
|
{ key: 'finance__party_statement', label: 'Party Statement', path: '/finance/reports/party-statement', module: 'Finance', defaultGroup: 'Reports', permission: null },
|
|
122
123
|
{ key: 'finance__payment_modes', label: 'Payment Modes', path: '/finance/payment-modes', module: 'Finance', defaultGroup: 'Settings', permission: null },
|
|
123
124
|
{ key: 'finance__bank_accounts', label: 'Bank Accounts', path: '/finance/bank-accounts', module: 'Finance', defaultGroup: 'Settings', permission: null },
|
|
125
|
+
{ key: 'finance__cheque_books', label: 'Cheque Books', path: '/finance/cheque-books', module: 'Finance', defaultGroup: 'Settings', permission: 'finance.cheque_book.view' },
|
|
126
|
+
{ key: 'finance__cheque_registry', label: 'Cheque Registry', path: '/finance/cheque-registry', module: 'Finance', defaultGroup: 'Transactions', permission: 'finance.cheque_book.view' },
|
|
124
127
|
{ key: 'finance__account_mappings', label: 'Account Mappings', path: '/finance/account-mappings', module: 'Finance', defaultGroup: 'Settings', permission: null },
|
|
125
128
|
{ key: 'finance__opening_balances', label: 'Opening Balances', path: '/finance/opening-balances', module: 'Finance', defaultGroup: 'Settings', permission: null },
|
|
126
129
|
{ key: 'finance__transaction_ledger', label: 'Transaction Ledger', path: '/finance/transactions', module: 'Finance', defaultGroup: 'Transactions', permission: null },
|
|
@@ -327,10 +330,10 @@ export const MENU_PRESETS: MenuPreset[] = [
|
|
|
327
330
|
label: 'Finance',
|
|
328
331
|
iconName: 'Wallet',
|
|
329
332
|
secondaryItems: [
|
|
330
|
-
'finance__invoices', 'finance__payments', 'finance__transaction_ledger',
|
|
333
|
+
'finance__invoices', 'finance__payments', 'finance__cheque_registry', 'finance__direct_transactions', 'finance__transaction_ledger',
|
|
331
334
|
'finance__chart_of_accounts', 'finance__journal_entries', 'finance__fiscal_years',
|
|
332
335
|
'finance__trial_balance', 'finance__profit_loss', 'finance__balance_sheet', 'finance__account_ledger', 'finance__party_statement',
|
|
333
|
-
'finance__payment_modes', 'finance__bank_accounts', 'finance__bank_statements', 'finance__account_mappings', 'finance__opening_balances',
|
|
336
|
+
'finance__payment_modes', 'finance__bank_accounts', 'finance__cheque_books', 'finance__bank_statements', 'finance__account_mappings', 'finance__opening_balances',
|
|
334
337
|
],
|
|
335
338
|
},
|
|
336
339
|
{
|