@apptimate/core-lib 2.6.0 → 2.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 +1 -1
- package/src/constants/menus.ts +29 -21
package/package.json
CHANGED
package/src/constants/menus.ts
CHANGED
|
@@ -133,6 +133,7 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
133
133
|
{ key: 'jewelry__purchase_orders', label: 'Purchase Orders', path: '/jewelry/procurement/orders', module: 'Jewelry', defaultGroup: 'Procurement' },
|
|
134
134
|
{ key: 'jewelry__grn', label: 'Goods Receipt', path: '/jewelry/procurement/grn', module: 'Jewelry', defaultGroup: 'Procurement' },
|
|
135
135
|
{ key: 'jewelry__custom_orders', label: 'Custom Orders', path: '/jewelry/custom-orders', module: 'Jewelry', defaultGroup: 'Procurement' },
|
|
136
|
+
{ key: 'jewelry__service_orders', label: 'Service Orders', path: '/jewelry/service-orders', module: 'Jewelry', defaultGroup: 'Procurement' },
|
|
136
137
|
{ key: 'jewelry__transformations', label: 'Transformations', path: '/jewelry/procurement/transformations', module: 'Jewelry', defaultGroup: 'Procurement' },
|
|
137
138
|
{ key: 'jewelry__old_gold_purchases', label: 'Old Material Purchases', path: '/jewelry/old-gold-purchases', module: 'Jewelry', defaultGroup: 'Buying' },
|
|
138
139
|
{ key: 'jewelry__sales', label: 'Sales', path: '/jewelry/sales', module: 'Jewelry', defaultGroup: 'Sales' },
|
|
@@ -183,15 +184,17 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
183
184
|
{ key: 'money_exchange__transactions', label: 'Transactions', path: '/money-exchange/transactions', module: 'Money Exchange', defaultGroup: 'Operations' },
|
|
184
185
|
{ key: 'money_exchange__till', label: 'Till', path: '/money-exchange/till', module: 'Money Exchange', defaultGroup: 'Inventory & Stock' },
|
|
185
186
|
{ key: 'money_exchange__branch_stock', label: 'Vault', path: '/money-exchange/branch-stock', module: 'Money Exchange', defaultGroup: 'Inventory & Stock' },
|
|
186
|
-
{ key: 'money_exchange__opening_stock', label: 'Opening Stock', path: '/money-exchange/opening-stock', module: 'Money Exchange', defaultGroup: '
|
|
187
|
+
{ key: 'money_exchange__opening_stock', label: 'Opening Stock', path: '/money-exchange/opening-stock', module: 'Money Exchange', defaultGroup: 'Config' },
|
|
187
188
|
{ key: 'money_exchange__internal_transfers', label: 'Internal Transfers', path: '/money-exchange/internal-transfers', module: 'Money Exchange', defaultGroup: 'Inventory & Stock' },
|
|
188
189
|
{ key: 'money_exchange__wholesale', label: 'Wholesale Operations', path: '/money-exchange/wholesale', module: 'Money Exchange', defaultGroup: 'Wholesale' },
|
|
189
190
|
{ key: 'money_exchange__suppliers', label: 'Supplier Registry', path: '/money-exchange/suppliers', module: 'Money Exchange', defaultGroup: 'Wholesale' },
|
|
190
|
-
{ key: 'money_exchange__remittance_agents', label: 'Agent Registry', path: '/money-exchange/agents', module: 'Money Exchange', defaultGroup: 'Remittances' },
|
|
191
|
-
{ key: 'money_exchange__remittance_corridors', label: 'Corridors', path: '/money-exchange/corridors', module: 'Money Exchange', defaultGroup: 'Remittances' },
|
|
192
|
-
{ key: 'money_exchange__remittances', label: 'Transactions', path: '/money-exchange/remittances', module: 'Money Exchange', defaultGroup: 'Remittances' },
|
|
193
|
-
{ key: 'money_exchange__remittance_settlements', label: 'Settlements', path: '/money-exchange/settlements', module: 'Money Exchange', defaultGroup: 'Remittances' },
|
|
191
|
+
// { key: 'money_exchange__remittance_agents', label: 'Agent Registry', path: '/money-exchange/agents', module: 'Money Exchange', defaultGroup: 'Remittances' },
|
|
192
|
+
// { key: 'money_exchange__remittance_corridors', label: 'Corridors', path: '/money-exchange/corridors', module: 'Money Exchange', defaultGroup: 'Remittances' },
|
|
193
|
+
// { key: 'money_exchange__remittances', label: 'Transactions', path: '/money-exchange/remittances', module: 'Money Exchange', defaultGroup: 'Remittances' },
|
|
194
|
+
// { key: 'money_exchange__remittance_settlements', label: 'Settlements', path: '/money-exchange/settlements', module: 'Money Exchange', defaultGroup: 'Remittances' },
|
|
194
195
|
{ key: 'money_exchange__denominations', label: 'Denomination', path: '/money-exchange/denominations', module: 'Money Exchange', defaultGroup: 'Config' },
|
|
196
|
+
{ key: 'money_exchange__till_thresholds', label: 'Till Thresholds', path: '/money-exchange/till-thresholds', module: 'Money Exchange', defaultGroup: 'Config' },
|
|
197
|
+
{ key: 'money_exchange__cross_currency', label: 'Margin Rate', path: '/money-exchange/cross-currency', module: 'Money Exchange', defaultGroup: 'Config' },
|
|
195
198
|
];
|
|
196
199
|
|
|
197
200
|
/**
|
|
@@ -326,7 +329,7 @@ export const MENU_PRESETS: MenuPreset[] = [
|
|
|
326
329
|
secondaryItems: [
|
|
327
330
|
'jewelry__items', 'jewelry__categories',
|
|
328
331
|
'jewelry__material_types', 'jewelry__purities', 'jewelry__metal_rates',
|
|
329
|
-
'jewelry__purchase_orders', 'jewelry__grn', 'jewelry__custom_orders', 'jewelry__transformations',
|
|
332
|
+
'jewelry__purchase_orders', 'jewelry__grn', 'jewelry__custom_orders', 'jewelry__service_orders', 'jewelry__transformations',
|
|
330
333
|
'jewelry__old_gold_purchases',
|
|
331
334
|
'jewelry__sales', 'jewelry__sales_returns',
|
|
332
335
|
'jewelry__stock_balances', 'jewelry__stock_movements', 'jewelry__stock_transfers',
|
|
@@ -363,11 +366,13 @@ export const MENU_PRESETS: MenuPreset[] = [
|
|
|
363
366
|
'money_exchange__internal_transfers',
|
|
364
367
|
'money_exchange__wholesale',
|
|
365
368
|
'money_exchange__suppliers',
|
|
366
|
-
'money_exchange__remittance_agents',
|
|
367
|
-
'money_exchange__remittance_corridors',
|
|
368
|
-
'money_exchange__remittances',
|
|
369
|
-
'money_exchange__remittance_settlements',
|
|
369
|
+
// 'money_exchange__remittance_agents',
|
|
370
|
+
// 'money_exchange__remittance_corridors',
|
|
371
|
+
// 'money_exchange__remittances',
|
|
372
|
+
// 'money_exchange__remittance_settlements',
|
|
370
373
|
'money_exchange__denominations',
|
|
374
|
+
'money_exchange__till_thresholds',
|
|
375
|
+
'money_exchange__cross_currency',
|
|
371
376
|
],
|
|
372
377
|
},
|
|
373
378
|
],
|
|
@@ -684,6 +689,7 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
684
689
|
{ id: "goods_receipt", label: "Goods Receipt", path: "/jewelry/procurement/grn" },
|
|
685
690
|
{ id: "opening_stock", label: "Opening Stock", path: "/jewelry/procurement/opening_stock" },
|
|
686
691
|
{ id: "custom_orders", label: "Custom Orders", path: "/jewelry/custom-orders" },
|
|
692
|
+
{ id: "service_orders", label: "Service Orders", path: "/jewelry/service-orders" },
|
|
687
693
|
{ id: "transformations", label: "Transformations", path: "/jewelry/procurement/transformations" },
|
|
688
694
|
],
|
|
689
695
|
},
|
|
@@ -797,7 +803,6 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
797
803
|
items: [
|
|
798
804
|
{ id: "money_exchange_till", label: "Till", path: "/money-exchange/till" },
|
|
799
805
|
{ id: "money_exchange_branch_stock", label: "Vault", path: "/money-exchange/branch-stock" },
|
|
800
|
-
{ id: "money_exchange_opening_stock", label: "Opening Stock", path: "/money-exchange/opening-stock" },
|
|
801
806
|
{ id: "money_exchange_internal_transfers", label: "Internal Transfers", path: "/money-exchange/internal-transfers" },
|
|
802
807
|
],
|
|
803
808
|
},
|
|
@@ -809,21 +814,24 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
809
814
|
{ id: "money_exchange_suppliers", label: "Supplier Registry", path: "/money-exchange/suppliers" },
|
|
810
815
|
],
|
|
811
816
|
},
|
|
812
|
-
{
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
},
|
|
817
|
+
// {
|
|
818
|
+
// id: "money_exchange_remittances",
|
|
819
|
+
// label: "Remittances",
|
|
820
|
+
// items: [
|
|
821
|
+
// { id: "money_exchange_remittance_agents", label: "Agent Registry", path: "/money-exchange/agents" },
|
|
822
|
+
// { id: "money_exchange_remittance_corridors", label: "Corridors", path: "/money-exchange/corridors" },
|
|
823
|
+
// { id: "money_exchange_remittances", label: "Transactions", path: "/money-exchange/remittances" },
|
|
824
|
+
// { id: "money_exchange_remittance_settlements", label: "Settlements", path: "/money-exchange/settlements" },
|
|
825
|
+
// ],
|
|
826
|
+
// },
|
|
822
827
|
{
|
|
823
828
|
id: "money_exchange_config",
|
|
824
829
|
label: "Config",
|
|
825
830
|
items: [
|
|
826
831
|
{ id: "money_exchange_denominations", label: "Denomination", path: "/money-exchange/denominations" },
|
|
832
|
+
{ id: "money_exchange_till_thresholds", label: "Till Thresholds", path: "/money-exchange/till-thresholds" },
|
|
833
|
+
{ id: "money_exchange_cross_currency", label: "Margin Rate", path: "/money-exchange/cross-currency" },
|
|
834
|
+
{ id: "money_exchange_opening_stock", label: "Opening Stock", path: "/money-exchange/opening-stock" },
|
|
827
835
|
],
|
|
828
836
|
},
|
|
829
837
|
],
|