@apptimate/core-lib 1.2.0 → 1.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 +48 -1
package/package.json
CHANGED
package/src/constants/menus.ts
CHANGED
|
@@ -119,6 +119,7 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
119
119
|
|
|
120
120
|
// ── Jewelry Module ──
|
|
121
121
|
{ key: 'jewelry__items', label: 'Jewelry Items', path: '/jewelry/items', module: 'Jewelry', defaultGroup: 'Catalog' },
|
|
122
|
+
{ key: 'jewelry__services', label: 'Services', path: '/jewelry/services', module: 'Jewelry', defaultGroup: 'Catalog' },
|
|
122
123
|
{ key: 'jewelry__categories', label: 'Categories', path: '/jewelry/categories', module: 'Jewelry', defaultGroup: 'Catalog' },
|
|
123
124
|
{ key: 'jewelry__material_types', label: 'Material Types', path: '/jewelry/material-types', module: 'Jewelry', defaultGroup: 'Master Data' },
|
|
124
125
|
{ key: 'jewelry__purities', label: 'Purities', path: '/jewelry/purities', module: 'Jewelry', defaultGroup: 'Master Data' },
|
|
@@ -132,8 +133,11 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
132
133
|
{ key: 'jewelry__sales_orders', label: 'Sales Orders', path: '/jewelry/sales/orders', module: 'Jewelry', defaultGroup: 'Sales' },
|
|
133
134
|
{ key: 'jewelry__stock_balances', label: 'Stock Balances', path: '/jewelry/stock/balances', module: 'Jewelry', defaultGroup: 'Stock' },
|
|
134
135
|
{ key: 'jewelry__stock_movements', label: 'Stock Movements', path: '/jewelry/stock/movements', module: 'Jewelry', defaultGroup: 'Stock' },
|
|
136
|
+
{ key: 'jewelry__stock_transfers', label: 'Transfers', path: '/jewelry/stock-transfers', module: 'Jewelry', defaultGroup: 'Stock' },
|
|
135
137
|
{ key: 'jewelry__party_transactions', label: 'Party Transactions', path: '/jewelry/party-transactions', module: 'Jewelry', defaultGroup: 'Karigar' },
|
|
138
|
+
{ key: 'jewelry__karigar_scrap_returns', label: 'Karigar Dust Returns', path: '/jewelry/karigar-scrap-returns', module: 'Jewelry', defaultGroup: 'Karigar' },
|
|
136
139
|
{ key: 'jewelry__settings', label: 'Settings', path: '/jewelry/settings', module: 'Jewelry', defaultGroup: 'Configuration' },
|
|
140
|
+
{ key: 'jewelry__reports', label: 'Reports & Dashboards', path: '/reports/jewelry', module: 'Jewelry', defaultGroup: 'Analytics' },
|
|
137
141
|
];
|
|
138
142
|
|
|
139
143
|
/**
|
|
@@ -271,8 +275,10 @@ export const MENU_PRESETS: MenuPreset[] = [
|
|
|
271
275
|
'jewelry__purchase_orders', 'jewelry__grn', 'jewelry__custom_orders', 'jewelry__transformations',
|
|
272
276
|
'jewelry__old_gold_purchases',
|
|
273
277
|
'jewelry__sales', 'jewelry__sales_orders',
|
|
274
|
-
'jewelry__stock_balances', 'jewelry__stock_movements',
|
|
278
|
+
'jewelry__stock_balances', 'jewelry__stock_movements', 'jewelry__stock_transfers',
|
|
275
279
|
'jewelry__party_transactions',
|
|
280
|
+
'jewelry__karigar_scrap_returns',
|
|
281
|
+
'jewelry__reports',
|
|
276
282
|
'jewelry__settings',
|
|
277
283
|
],
|
|
278
284
|
},
|
|
@@ -497,6 +503,7 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
497
503
|
label: "Catalog",
|
|
498
504
|
items: [
|
|
499
505
|
{ id: "jewelry_items", label: "Jewelry Items", path: "/jewelry/items" },
|
|
506
|
+
{ id: "jewelry_services", label: "Services", path: "/jewelry/services" },
|
|
500
507
|
{ id: "jewelry_categories", label: "Categories", path: "/jewelry/categories" },
|
|
501
508
|
],
|
|
502
509
|
},
|
|
@@ -540,6 +547,7 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
540
547
|
items: [
|
|
541
548
|
{ id: "stock_balances", label: "Stock Balances", path: "/jewelry/stock/balances" },
|
|
542
549
|
{ id: "stock_movements", label: "Stock Movements", path: "/jewelry/stock/movements" },
|
|
550
|
+
{ id: "stock_transfers", label: "Transfers", path: "/jewelry/stock-transfers" },
|
|
543
551
|
],
|
|
544
552
|
},
|
|
545
553
|
{
|
|
@@ -547,6 +555,14 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
547
555
|
label: "Karigar",
|
|
548
556
|
items: [
|
|
549
557
|
{ id: "party_transactions", label: "Party Transactions", path: "/jewelry/party-transactions" },
|
|
558
|
+
{ id: "karigar_scrap_returns", label: "Karigar Dust Returns", path: "/jewelry/karigar-scrap-returns" },
|
|
559
|
+
],
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
id: "jewelry_analytics",
|
|
563
|
+
label: "Analytics",
|
|
564
|
+
items: [
|
|
565
|
+
{ id: "jewelry_reports", label: "Reports & Dashboards", path: "/reports/jewelry" },
|
|
550
566
|
],
|
|
551
567
|
},
|
|
552
568
|
{
|
|
@@ -558,6 +574,37 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
558
574
|
},
|
|
559
575
|
],
|
|
560
576
|
},
|
|
577
|
+
{
|
|
578
|
+
id: "reports",
|
|
579
|
+
label: "Reports",
|
|
580
|
+
iconName: "BarChart3",
|
|
581
|
+
groups: [
|
|
582
|
+
{
|
|
583
|
+
id: "reports_dashboards",
|
|
584
|
+
label: "Dashboards",
|
|
585
|
+
items: [
|
|
586
|
+
{ id: "reports_jewelry", label: "Jewelry", path: "/reports/jewelry" },
|
|
587
|
+
{ id: "reports_inventory", label: "Inventory", path: "/reports/inventory" },
|
|
588
|
+
{ id: "reports_finance", label: "Finance", path: "/reports/finance" },
|
|
589
|
+
],
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
id: "reports_home",
|
|
593
|
+
label: "General",
|
|
594
|
+
items: [
|
|
595
|
+
{ id: "reports_all", label: "All Reports", path: "/reports" },
|
|
596
|
+
],
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
id: "reports_admin",
|
|
600
|
+
label: "Administration",
|
|
601
|
+
items: [
|
|
602
|
+
{ id: "reports_builder", label: "Report Builder", path: "/reports/admin/reports" },
|
|
603
|
+
{ id: "reports_configurator", label: "Dashboard Configurator", path: "/reports/admin/dashboards" },
|
|
604
|
+
],
|
|
605
|
+
},
|
|
606
|
+
],
|
|
607
|
+
},
|
|
561
608
|
];
|
|
562
609
|
|
|
563
610
|
/**
|