@apptimate/core-lib 1.2.0 → 1.4.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 +49 -3
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
|
/**
|
|
@@ -270,9 +274,11 @@ export const MENU_PRESETS: MenuPreset[] = [
|
|
|
270
274
|
'jewelry__material_types', 'jewelry__purities', 'jewelry__metal_rates',
|
|
271
275
|
'jewelry__purchase_orders', 'jewelry__grn', 'jewelry__custom_orders', 'jewelry__transformations',
|
|
272
276
|
'jewelry__old_gold_purchases',
|
|
273
|
-
'jewelry__sales',
|
|
274
|
-
'jewelry__stock_balances', 'jewelry__stock_movements',
|
|
277
|
+
'jewelry__sales',
|
|
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
|
},
|
|
@@ -531,7 +538,6 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
531
538
|
label: "Sales",
|
|
532
539
|
items: [
|
|
533
540
|
{ id: "jewelry_sales_main", label: "Sales", path: "/jewelry/sales" },
|
|
534
|
-
{ id: "sales_orders", label: "Sales Orders", path: "/jewelry/sales/orders" },
|
|
535
541
|
],
|
|
536
542
|
},
|
|
537
543
|
{
|
|
@@ -540,6 +546,7 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
540
546
|
items: [
|
|
541
547
|
{ id: "stock_balances", label: "Stock Balances", path: "/jewelry/stock/balances" },
|
|
542
548
|
{ id: "stock_movements", label: "Stock Movements", path: "/jewelry/stock/movements" },
|
|
549
|
+
{ id: "stock_transfers", label: "Transfers", path: "/jewelry/stock-transfers" },
|
|
543
550
|
],
|
|
544
551
|
},
|
|
545
552
|
{
|
|
@@ -547,6 +554,14 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
547
554
|
label: "Karigar",
|
|
548
555
|
items: [
|
|
549
556
|
{ id: "party_transactions", label: "Party Transactions", path: "/jewelry/party-transactions" },
|
|
557
|
+
{ id: "karigar_scrap_returns", label: "Karigar Dust Returns", path: "/jewelry/karigar-scrap-returns" },
|
|
558
|
+
],
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
id: "jewelry_analytics",
|
|
562
|
+
label: "Analytics",
|
|
563
|
+
items: [
|
|
564
|
+
{ id: "jewelry_reports", label: "Reports & Dashboards", path: "/reports/jewelry" },
|
|
550
565
|
],
|
|
551
566
|
},
|
|
552
567
|
{
|
|
@@ -558,6 +573,37 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
558
573
|
},
|
|
559
574
|
],
|
|
560
575
|
},
|
|
576
|
+
{
|
|
577
|
+
id: "reports",
|
|
578
|
+
label: "Reports",
|
|
579
|
+
iconName: "BarChart3",
|
|
580
|
+
groups: [
|
|
581
|
+
{
|
|
582
|
+
id: "reports_dashboards",
|
|
583
|
+
label: "Dashboards",
|
|
584
|
+
items: [
|
|
585
|
+
{ id: "reports_jewelry", label: "Jewelry", path: "/reports/jewelry" },
|
|
586
|
+
{ id: "reports_inventory", label: "Inventory", path: "/reports/inventory" },
|
|
587
|
+
{ id: "reports_finance", label: "Finance", path: "/reports/finance" },
|
|
588
|
+
],
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
id: "reports_home",
|
|
592
|
+
label: "General",
|
|
593
|
+
items: [
|
|
594
|
+
{ id: "reports_all", label: "All Reports", path: "/reports" },
|
|
595
|
+
],
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
id: "reports_admin",
|
|
599
|
+
label: "Administration",
|
|
600
|
+
items: [
|
|
601
|
+
{ id: "reports_builder", label: "Report Builder", path: "/reports/admin/reports" },
|
|
602
|
+
{ id: "reports_configurator", label: "Dashboard Configurator", path: "/reports/admin/dashboards" },
|
|
603
|
+
],
|
|
604
|
+
},
|
|
605
|
+
],
|
|
606
|
+
},
|
|
561
607
|
];
|
|
562
608
|
|
|
563
609
|
/**
|