@apptimate/core-lib 1.5.0 → 1.7.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptimate/core-lib",
3
- "version": "1.5.0",
3
+ "version": "1.7.0",
4
4
  "main": "src/index.ts",
5
5
  "types": "src/index.ts",
6
6
  "publishConfig": {
@@ -142,6 +142,19 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
142
142
  { key: 'jewelry__karigar_making_charges', label: 'Making Charges', path: '/jewelry/karigar-making-charges', module: 'Jewelry', defaultGroup: 'Karigar' },
143
143
  { key: 'jewelry__settings', label: 'Settings', path: '/jewelry/settings', module: 'Jewelry', defaultGroup: 'Configuration' },
144
144
  { key: 'jewelry__reports', label: 'Reports & Dashboards', path: '/reports/jewelry', module: 'Jewelry', defaultGroup: 'Analytics' },
145
+
146
+ // ── Money Exchange Module ──
147
+ { key: 'money_exchange__dashboard', label: 'Dashboard', path: '/money-exchange', module: 'Money Exchange', defaultGroup: 'Overview' },
148
+ { key: 'money_exchange__rates', label: 'Rates Management', path: '/money-exchange/rates', module: 'Money Exchange', defaultGroup: 'Overview' },
149
+ { key: 'money_exchange__pos', label: 'Point of Sale', path: '/money-exchange/pos', module: 'Money Exchange', defaultGroup: 'Operations' },
150
+ { key: 'money_exchange__till', label: 'Till & Inventory', path: '/money-exchange/till', module: 'Money Exchange', defaultGroup: 'Inventory & Stock' },
151
+ { key: 'money_exchange__transfers', label: 'Internal Transfers', path: '/money-exchange/transfers', module: 'Money Exchange', defaultGroup: 'Inventory & Stock' },
152
+ { key: 'money_exchange__wholesale', label: 'Wholesale Operations', path: '/money-exchange/wholesale', module: 'Money Exchange', defaultGroup: 'Wholesale' },
153
+ { key: 'money_exchange__suppliers', label: 'Supplier Registry', path: '/money-exchange/suppliers', module: 'Money Exchange', defaultGroup: 'Wholesale' },
154
+ { key: 'money_exchange__remittance_agents', label: 'Agent Registry', path: '/money-exchange/agents', module: 'Money Exchange', defaultGroup: 'Remittances' },
155
+ { key: 'money_exchange__remittance_corridors', label: 'Corridors', path: '/money-exchange/corridors', module: 'Money Exchange', defaultGroup: 'Remittances' },
156
+ { key: 'money_exchange__remittances', label: 'Transactions', path: '/money-exchange/remittances', module: 'Money Exchange', defaultGroup: 'Remittances' },
157
+ { key: 'money_exchange__remittance_settlements', label: 'Settlements', path: '/money-exchange/settlements', module: 'Money Exchange', defaultGroup: 'Remittances' },
145
158
  ];
146
159
 
147
160
  /**
@@ -287,6 +300,24 @@ export const MENU_PRESETS: MenuPreset[] = [
287
300
  'jewelry__settings',
288
301
  ],
289
302
  },
303
+ {
304
+ id: 'money_exchange',
305
+ label: 'Money Exchange',
306
+ iconName: 'Banknote',
307
+ secondaryItems: [
308
+ 'money_exchange__dashboard',
309
+ 'money_exchange__rates',
310
+ 'money_exchange__pos',
311
+ 'money_exchange__till',
312
+ 'money_exchange__transfers',
313
+ 'money_exchange__wholesale',
314
+ 'money_exchange__suppliers',
315
+ 'money_exchange__remittance_agents',
316
+ 'money_exchange__remittance_corridors',
317
+ 'money_exchange__remittances',
318
+ 'money_exchange__remittance_settlements',
319
+ ],
320
+ },
290
321
  ],
291
322
  },
292
323
  ];
@@ -529,6 +560,7 @@ export const APP_MENUS: MainMenuItem[] = [
529
560
  items: [
530
561
  { id: "purchase_orders", label: "Purchase Orders", path: "/jewelry/procurement/orders" },
531
562
  { id: "goods_receipt", label: "Goods Receipt", path: "/jewelry/procurement/grn" },
563
+ { id: "opening_stock", label: "Opening Stock", path: "/jewelry/procurement/opening_stock" },
532
564
  { id: "custom_orders", label: "Custom Orders", path: "/jewelry/custom-orders" },
533
565
  { id: "transformations", label: "Transformations", path: "/jewelry/procurement/transformations" },
534
566
  ],
@@ -613,6 +645,54 @@ export const APP_MENUS: MainMenuItem[] = [
613
645
  },
614
646
  ],
615
647
  },
648
+ {
649
+ id: "money_exchange",
650
+ label: "Money Exchange",
651
+ iconName: "Banknote",
652
+ groups: [
653
+ {
654
+ id: "money_exchange_overview",
655
+ label: "Overview",
656
+ items: [
657
+ { id: "money_exchange_dashboard", label: "Dashboard", path: "/money-exchange" },
658
+ { id: "money_exchange_rates", label: "Rates Management", path: "/money-exchange/rates" },
659
+ ],
660
+ },
661
+ {
662
+ id: "money_exchange_operations",
663
+ label: "Operations",
664
+ items: [
665
+ { id: "money_exchange_pos", label: "Point of Sale", path: "/money-exchange/pos" },
666
+ ],
667
+ },
668
+ {
669
+ id: "money_exchange_inventory",
670
+ label: "Inventory & Stock",
671
+ items: [
672
+ { id: "money_exchange_till", label: "Till & Inventory", path: "/money-exchange/till" },
673
+ { id: "money_exchange_transfers", label: "Internal Transfers", path: "/money-exchange/transfers" },
674
+ ],
675
+ },
676
+ {
677
+ id: "money_exchange_wholesale",
678
+ label: "Wholesale",
679
+ items: [
680
+ { id: "money_exchange_wholesale", label: "Wholesale Operations", path: "/money-exchange/wholesale" },
681
+ { id: "money_exchange_suppliers", label: "Supplier Registry", path: "/money-exchange/suppliers" },
682
+ ],
683
+ },
684
+ {
685
+ id: "money_exchange_remittances",
686
+ label: "Remittances",
687
+ items: [
688
+ { id: "money_exchange_remittance_agents", label: "Agent Registry", path: "/money-exchange/agents" },
689
+ { id: "money_exchange_remittance_corridors", label: "Corridors", path: "/money-exchange/corridors" },
690
+ { id: "money_exchange_remittances", label: "Transactions", path: "/money-exchange/remittances" },
691
+ { id: "money_exchange_remittance_settlements", label: "Settlements", path: "/money-exchange/settlements" },
692
+ ],
693
+ },
694
+ ],
695
+ },
616
696
  ];
617
697
 
618
698
  /**