@feedmepos/mf-inventory-portal 0.0.23-dev.22 → 0.0.23-dev.24
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/dist/{App-B3Lc5sQ1.js → App-dQy0_X6Q.js} +3 -3
- package/dist/{ApprovalView-BS3jKVhn.js → ApprovalView-CxwAuXae.js} +2 -2
- package/dist/{BindingsDialog-CJsZBmYf.js → BindingsDialog-BX8J03Uc.js} +2 -2
- package/dist/{BindingsPicker-DDa3F7UG.js → BindingsPicker-CAW_3sSv.js} +1 -1
- package/dist/{BindingsTable-Cd43pT6-.js → BindingsTable-7UmxSmdW.js} +1 -1
- package/dist/ClosingDraftView-DukJAMlK.js +1135 -0
- package/dist/{ClosingTemplateView-BPMd73x8.js → ClosingTemplateView-Dm7_gMTo.js} +216 -217
- package/dist/{FmDroppableField-B0MCjb6f.js → FmDroppableField-BqZcDO2v.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-QKDk7BQ1.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DN3N20Nb.js} +3 -3
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DWG1kbH5.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BrPRiS_u.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B7dXsfLJ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bln1lReW.js} +1 -1
- package/dist/{IngredientGroupView-D8g5285H.js → IngredientGroupView-BKIJHeh9.js} +1 -1
- package/dist/{IngredientsView-D3EBTVpL.js → IngredientsView-Blnohl3I.js} +7 -7
- package/dist/{IntegrationView-BQt35u9_.js → IntegrationView-Dna4bUA7.js} +2 -2
- package/dist/{InventoryBindingForm-Cbh3Q5K4.js → InventoryBindingForm-D6HSF8Wn.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DD7zMo0u.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnWvwNjJ.js} +3 -3
- package/dist/{InventoryBindingSummary-Z3YFpRpr.js → InventoryBindingSummary-CNNCv8NX.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C8Pgb4za.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CrMkMTAt.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CyCkwMSc.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Cw3E2NKS.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-5LKgnQqy.js → PurchaseOrderPrintPreview-PEN03dZK.js} +1 -1
- package/dist/{ReceiveRequestView-kHwlmbsq.js → ReceiveRequestView-rTUhjMLY.js} +146 -143
- package/dist/{RecipeView-CmhMcFYW.js → RecipeView-V1hx1AUG.js} +4 -4
- package/dist/{StockView-bpoymhya.js → StockView-B5nDn8nO.js} +7 -7
- package/dist/{SupplierView--_H4vORF.js → SupplierView-DyyRxm6k.js} +7 -7
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DLivaday.js → TransferDetails.vue_vue_type_script_setup_true_lang-D6oZOwHL.js} +5 -5
- package/dist/{TransferTemplateView-COB5dMBd.js → TransferTemplateView-OTR9Re51.js} +7 -7
- package/dist/{UnitView-CGkMkxTB.js → UnitView-DGhm1JXD.js} +3 -3
- package/dist/{WarehouseView-DPiXq2vK.js → WarehouseView-DMAvFisd.js} +1 -1
- package/dist/{app-DGULB4V9.js → app-DQRbwx-z.js} +2224 -2192
- package/dist/app.js +1 -1
- package/dist/{decimal-HQR2xIiL.js → decimal-DuJEFEYp.js} +1 -1
- package/dist/{feature-BINaF_1s.js → feature-BRqas45f.js} +1 -1
- package/dist/{format-unit-display-XShcYaSo.js → format-unit-display-G6VtlQe7.js} +5 -5
- package/dist/{index-CTfao5ul.js → index-D3f51k-I.js} +1 -1
- package/dist/{netsuite-DsCeD02V.js → netsuite-D4b5JceM.js} +1 -1
- package/dist/{stock-OVllFFZj.js → stock-DZkj2LE0.js} +1 -1
- package/dist/{supplier-DSinhYHO.js → supplier-Cm5Cw3u7.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-BBSRiAlY.js → use-inventory-binding-dialog-DCt0wUiw.js} +1 -1
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +178 -8
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1498 -478
- package/dist/{xlsx-CHmlVmKD.js → xlsx-9Gc42bxv.js} +1 -1
- package/dist/{xlsx.util-DZmuhVz8.js → xlsx.util-CEvUL8mk.js} +1 -1
- package/package.json +1 -1
- package/dist/ClosingDraftView-nWXh50Xp.js +0 -1116
|
@@ -21,6 +21,91 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
21
21
|
}[] | null | undefined;
|
|
22
22
|
closingAdjustmentId?: string | null | undefined;
|
|
23
23
|
closingId?: string | null | undefined;
|
|
24
|
+
negativeStockItems?: {
|
|
25
|
+
remark?: string | null | undefined;
|
|
26
|
+
sku: {
|
|
27
|
+
trackingMeasurement?: string | null | undefined;
|
|
28
|
+
convert?: {
|
|
29
|
+
measurement?: string | null | undefined;
|
|
30
|
+
inventoryBindings?: {
|
|
31
|
+
measurement?: {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
abbrev: string;
|
|
35
|
+
conversion: {
|
|
36
|
+
amount: number;
|
|
37
|
+
precision: number;
|
|
38
|
+
};
|
|
39
|
+
} | null | undefined;
|
|
40
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
41
|
+
amount: {
|
|
42
|
+
amount: number;
|
|
43
|
+
precision: number;
|
|
44
|
+
};
|
|
45
|
+
id: string;
|
|
46
|
+
}[] | null | undefined;
|
|
47
|
+
} | null | undefined;
|
|
48
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
49
|
+
defaultCost?: {
|
|
50
|
+
measurement?: {
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
abbrev: string;
|
|
54
|
+
conversion: {
|
|
55
|
+
amount: number;
|
|
56
|
+
precision: number;
|
|
57
|
+
};
|
|
58
|
+
} | null | undefined;
|
|
59
|
+
costPerUnit: {
|
|
60
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
61
|
+
amount: number;
|
|
62
|
+
precision: number;
|
|
63
|
+
};
|
|
64
|
+
} | null | undefined;
|
|
65
|
+
thresholds?: {
|
|
66
|
+
low: number;
|
|
67
|
+
mid: number;
|
|
68
|
+
} | null | undefined;
|
|
69
|
+
operationalGroup?: string | null | undefined;
|
|
70
|
+
unit: {
|
|
71
|
+
_id: string;
|
|
72
|
+
name: string;
|
|
73
|
+
abbrev: string;
|
|
74
|
+
precision: number;
|
|
75
|
+
measurements: {
|
|
76
|
+
id: string;
|
|
77
|
+
name: string;
|
|
78
|
+
abbrev: string;
|
|
79
|
+
conversion: {
|
|
80
|
+
amount: number;
|
|
81
|
+
precision: number;
|
|
82
|
+
};
|
|
83
|
+
}[];
|
|
84
|
+
};
|
|
85
|
+
code: string;
|
|
86
|
+
_id: string;
|
|
87
|
+
name: string;
|
|
88
|
+
};
|
|
89
|
+
baseAmount: {
|
|
90
|
+
amount: number;
|
|
91
|
+
precision: number;
|
|
92
|
+
};
|
|
93
|
+
measurementsAmounts: {
|
|
94
|
+
amount: {
|
|
95
|
+
amount: number;
|
|
96
|
+
precision: number;
|
|
97
|
+
};
|
|
98
|
+
measurement: {
|
|
99
|
+
id: string;
|
|
100
|
+
name: string;
|
|
101
|
+
abbrev: string;
|
|
102
|
+
conversion: {
|
|
103
|
+
amount: number;
|
|
104
|
+
precision: number;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}[];
|
|
108
|
+
}[] | null | undefined;
|
|
24
109
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
25
110
|
_id: string;
|
|
26
111
|
items: {
|
|
@@ -114,10 +199,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
114
199
|
};
|
|
115
200
|
createdAt: string;
|
|
116
201
|
updatedAt: string;
|
|
117
|
-
updatedBy: {
|
|
118
|
-
name: string;
|
|
119
|
-
id: string;
|
|
120
|
-
};
|
|
121
202
|
usingTemplates: {
|
|
122
203
|
ref?: string | null | undefined;
|
|
123
204
|
_rev?: string | null | undefined;
|
|
@@ -216,6 +297,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
216
297
|
_id: string;
|
|
217
298
|
name: string;
|
|
218
299
|
}[];
|
|
300
|
+
updatedBy: {
|
|
301
|
+
name: string;
|
|
302
|
+
id: string;
|
|
303
|
+
};
|
|
219
304
|
} & RevisionIdMeta>[];
|
|
220
305
|
drafts: import("vue").Ref<{
|
|
221
306
|
remark?: string | null | undefined;
|
|
@@ -237,9 +322,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
237
322
|
}[] | null | undefined;
|
|
238
323
|
closingAdjustmentId?: string | null | undefined;
|
|
239
324
|
closingId?: string | null | undefined;
|
|
240
|
-
|
|
241
|
-
_id: string;
|
|
242
|
-
items: {
|
|
325
|
+
negativeStockItems?: {
|
|
243
326
|
remark?: string | null | undefined;
|
|
244
327
|
sku: {
|
|
245
328
|
trackingMeasurement?: string | null | undefined;
|
|
@@ -323,135 +406,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
323
406
|
};
|
|
324
407
|
};
|
|
325
408
|
}[];
|
|
326
|
-
}[];
|
|
327
|
-
createdBy: {
|
|
328
|
-
name: string;
|
|
329
|
-
id: string;
|
|
330
|
-
};
|
|
331
|
-
createdAt: string;
|
|
332
|
-
updatedAt: string;
|
|
333
|
-
updatedBy: {
|
|
334
|
-
name: string;
|
|
335
|
-
id: string;
|
|
336
|
-
};
|
|
337
|
-
usingTemplates: {
|
|
338
|
-
ref?: string | null | undefined;
|
|
339
|
-
_rev?: string | null | undefined;
|
|
340
|
-
updatedAt?: Date | null | undefined;
|
|
341
|
-
locations?: {
|
|
342
|
-
type: "restaurant" | "warehouse";
|
|
343
|
-
name: string;
|
|
344
|
-
acceptRequest: boolean;
|
|
345
|
-
dbName: string;
|
|
346
|
-
doc: {
|
|
347
|
-
_id: string;
|
|
348
|
-
businessId: string;
|
|
349
|
-
profile: {
|
|
350
|
-
code?: string | null | undefined;
|
|
351
|
-
_id?: string | null | undefined;
|
|
352
|
-
name?: string | undefined;
|
|
353
|
-
address?: {
|
|
354
|
-
coordinates?: number[] | null | undefined;
|
|
355
|
-
line2?: string | null | undefined;
|
|
356
|
-
state: string;
|
|
357
|
-
country: string;
|
|
358
|
-
line1: string;
|
|
359
|
-
city: string;
|
|
360
|
-
postcode: string;
|
|
361
|
-
} | undefined;
|
|
362
|
-
email?: string | undefined;
|
|
363
|
-
regNo?: string | undefined;
|
|
364
|
-
sstRegNo?: string | null | undefined;
|
|
365
|
-
phoneNo?: string | undefined;
|
|
366
|
-
legalName?: string | null | undefined;
|
|
367
|
-
discovery?: boolean | null | undefined;
|
|
368
|
-
coverPhoto?: string | null | undefined;
|
|
369
|
-
thumbnailPhoto?: string | null | undefined;
|
|
370
|
-
description?: string | null | undefined;
|
|
371
|
-
photos?: string[] | null | undefined;
|
|
372
|
-
operatingHours?: {
|
|
373
|
-
0: {
|
|
374
|
-
hours: {
|
|
375
|
-
end: string;
|
|
376
|
-
start: string;
|
|
377
|
-
}[];
|
|
378
|
-
enable: boolean;
|
|
379
|
-
};
|
|
380
|
-
2: {
|
|
381
|
-
hours: {
|
|
382
|
-
end: string;
|
|
383
|
-
start: string;
|
|
384
|
-
}[];
|
|
385
|
-
enable: boolean;
|
|
386
|
-
};
|
|
387
|
-
1: {
|
|
388
|
-
hours: {
|
|
389
|
-
end: string;
|
|
390
|
-
start: string;
|
|
391
|
-
}[];
|
|
392
|
-
enable: boolean;
|
|
393
|
-
};
|
|
394
|
-
3: {
|
|
395
|
-
hours: {
|
|
396
|
-
end: string;
|
|
397
|
-
start: string;
|
|
398
|
-
}[];
|
|
399
|
-
enable: boolean;
|
|
400
|
-
};
|
|
401
|
-
4: {
|
|
402
|
-
hours: {
|
|
403
|
-
end: string;
|
|
404
|
-
start: string;
|
|
405
|
-
}[];
|
|
406
|
-
enable: boolean;
|
|
407
|
-
};
|
|
408
|
-
5: {
|
|
409
|
-
hours: {
|
|
410
|
-
end: string;
|
|
411
|
-
start: string;
|
|
412
|
-
}[];
|
|
413
|
-
enable: boolean;
|
|
414
|
-
};
|
|
415
|
-
6: {
|
|
416
|
-
hours: {
|
|
417
|
-
end: string;
|
|
418
|
-
start: string;
|
|
419
|
-
}[];
|
|
420
|
-
enable: boolean;
|
|
421
|
-
};
|
|
422
|
-
} | null | undefined;
|
|
423
|
-
tags?: string[] | null | undefined;
|
|
424
|
-
url?: string | null | undefined;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
}[] | null | undefined;
|
|
428
|
-
updatedBy?: {
|
|
429
|
-
name: string;
|
|
430
|
-
id: string;
|
|
431
|
-
} | null | undefined;
|
|
432
|
-
_id: string;
|
|
433
|
-
name: string;
|
|
434
|
-
}[];
|
|
435
|
-
}[], ({
|
|
436
|
-
remark?: string | null | undefined;
|
|
437
|
-
_rev?: string | null | undefined;
|
|
438
|
-
effectiveAt?: string | null | undefined;
|
|
439
|
-
approvedAt?: string | null | undefined;
|
|
440
|
-
approvedBy?: {
|
|
441
|
-
name: string;
|
|
442
|
-
id: string;
|
|
443
|
-
} | null | undefined;
|
|
444
|
-
approveRemark?: string | null | undefined;
|
|
445
|
-
rejectionHistory?: {
|
|
446
|
-
rejectedAt: string;
|
|
447
|
-
rejectedBy: {
|
|
448
|
-
name: string;
|
|
449
|
-
id: string;
|
|
450
|
-
};
|
|
451
|
-
rejectRemark: string;
|
|
452
409
|
}[] | null | undefined;
|
|
453
|
-
closingAdjustmentId?: string | null | undefined;
|
|
454
|
-
closingId?: string | null | undefined;
|
|
455
410
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
456
411
|
_id: string;
|
|
457
412
|
items: {
|
|
@@ -545,10 +500,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
545
500
|
};
|
|
546
501
|
createdAt: string;
|
|
547
502
|
updatedAt: string;
|
|
548
|
-
updatedBy: {
|
|
549
|
-
name: string;
|
|
550
|
-
id: string;
|
|
551
|
-
};
|
|
552
503
|
usingTemplates: {
|
|
553
504
|
ref?: string | null | undefined;
|
|
554
505
|
_rev?: string | null | undefined;
|
|
@@ -647,9 +598,13 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
647
598
|
_id: string;
|
|
648
599
|
name: string;
|
|
649
600
|
}[];
|
|
650
|
-
|
|
601
|
+
updatedBy: {
|
|
602
|
+
name: string;
|
|
603
|
+
id: string;
|
|
604
|
+
};
|
|
605
|
+
}[], ({
|
|
651
606
|
remark?: string | null | undefined;
|
|
652
|
-
_rev
|
|
607
|
+
_rev?: string | null | undefined;
|
|
653
608
|
effectiveAt?: string | null | undefined;
|
|
654
609
|
approvedAt?: string | null | undefined;
|
|
655
610
|
approvedBy?: {
|
|
@@ -667,9 +622,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
667
622
|
}[] | null | undefined;
|
|
668
623
|
closingAdjustmentId?: string | null | undefined;
|
|
669
624
|
closingId?: string | null | undefined;
|
|
670
|
-
|
|
671
|
-
_id: string;
|
|
672
|
-
items: {
|
|
625
|
+
negativeStockItems?: {
|
|
673
626
|
remark?: string | null | undefined;
|
|
674
627
|
sku: {
|
|
675
628
|
trackingMeasurement?: string | null | undefined;
|
|
@@ -753,140 +706,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
753
706
|
};
|
|
754
707
|
};
|
|
755
708
|
}[];
|
|
756
|
-
}[];
|
|
757
|
-
createdBy: {
|
|
758
|
-
name: string;
|
|
759
|
-
id: string;
|
|
760
|
-
};
|
|
761
|
-
createdAt: string;
|
|
762
|
-
updatedAt: string;
|
|
763
|
-
updatedBy: {
|
|
764
|
-
name: string;
|
|
765
|
-
id: string;
|
|
766
|
-
};
|
|
767
|
-
usingTemplates: {
|
|
768
|
-
ref?: string | null | undefined;
|
|
769
|
-
_rev?: string | null | undefined;
|
|
770
|
-
updatedAt?: Date | null | undefined;
|
|
771
|
-
locations?: {
|
|
772
|
-
type: "restaurant" | "warehouse";
|
|
773
|
-
name: string;
|
|
774
|
-
acceptRequest: boolean;
|
|
775
|
-
dbName: string;
|
|
776
|
-
doc: {
|
|
777
|
-
_id: string;
|
|
778
|
-
businessId: string;
|
|
779
|
-
profile: {
|
|
780
|
-
code?: string | null | undefined;
|
|
781
|
-
_id?: string | null | undefined;
|
|
782
|
-
name?: string | undefined;
|
|
783
|
-
address?: {
|
|
784
|
-
coordinates?: number[] | null | undefined;
|
|
785
|
-
line2?: string | null | undefined;
|
|
786
|
-
state: string;
|
|
787
|
-
country: string;
|
|
788
|
-
line1: string;
|
|
789
|
-
city: string;
|
|
790
|
-
postcode: string;
|
|
791
|
-
} | undefined;
|
|
792
|
-
email?: string | undefined;
|
|
793
|
-
regNo?: string | undefined;
|
|
794
|
-
sstRegNo?: string | null | undefined;
|
|
795
|
-
phoneNo?: string | undefined;
|
|
796
|
-
legalName?: string | null | undefined;
|
|
797
|
-
discovery?: boolean | null | undefined;
|
|
798
|
-
coverPhoto?: string | null | undefined;
|
|
799
|
-
thumbnailPhoto?: string | null | undefined;
|
|
800
|
-
description?: string | null | undefined;
|
|
801
|
-
photos?: string[] | null | undefined;
|
|
802
|
-
operatingHours?: {
|
|
803
|
-
0: {
|
|
804
|
-
hours: {
|
|
805
|
-
end: string;
|
|
806
|
-
start: string;
|
|
807
|
-
}[];
|
|
808
|
-
enable: boolean;
|
|
809
|
-
};
|
|
810
|
-
2: {
|
|
811
|
-
hours: {
|
|
812
|
-
end: string;
|
|
813
|
-
start: string;
|
|
814
|
-
}[];
|
|
815
|
-
enable: boolean;
|
|
816
|
-
};
|
|
817
|
-
1: {
|
|
818
|
-
hours: {
|
|
819
|
-
end: string;
|
|
820
|
-
start: string;
|
|
821
|
-
}[];
|
|
822
|
-
enable: boolean;
|
|
823
|
-
};
|
|
824
|
-
3: {
|
|
825
|
-
hours: {
|
|
826
|
-
end: string;
|
|
827
|
-
start: string;
|
|
828
|
-
}[];
|
|
829
|
-
enable: boolean;
|
|
830
|
-
};
|
|
831
|
-
4: {
|
|
832
|
-
hours: {
|
|
833
|
-
end: string;
|
|
834
|
-
start: string;
|
|
835
|
-
}[];
|
|
836
|
-
enable: boolean;
|
|
837
|
-
};
|
|
838
|
-
5: {
|
|
839
|
-
hours: {
|
|
840
|
-
end: string;
|
|
841
|
-
start: string;
|
|
842
|
-
}[];
|
|
843
|
-
enable: boolean;
|
|
844
|
-
};
|
|
845
|
-
6: {
|
|
846
|
-
hours: {
|
|
847
|
-
end: string;
|
|
848
|
-
start: string;
|
|
849
|
-
}[];
|
|
850
|
-
enable: boolean;
|
|
851
|
-
};
|
|
852
|
-
} | null | undefined;
|
|
853
|
-
tags?: string[] | null | undefined;
|
|
854
|
-
url?: string | null | undefined;
|
|
855
|
-
};
|
|
856
|
-
};
|
|
857
|
-
}[] | null | undefined;
|
|
858
|
-
updatedBy?: {
|
|
859
|
-
name: string;
|
|
860
|
-
id: string;
|
|
861
|
-
} | null | undefined;
|
|
862
|
-
_id: string;
|
|
863
|
-
name: string;
|
|
864
|
-
}[];
|
|
865
|
-
}[]>;
|
|
866
|
-
loading: import("vue").Ref<boolean, boolean>;
|
|
867
|
-
fetchDrafts: () => Promise<void>;
|
|
868
|
-
loadDraft: (draftId: string) => Promise<void>;
|
|
869
|
-
}, "loading" | "columnDefs" | "drafts">>, Pick<{
|
|
870
|
-
columnDefs: ColumnDef<{
|
|
871
|
-
remark?: string | null | undefined;
|
|
872
|
-
_rev?: string | null | undefined;
|
|
873
|
-
effectiveAt?: string | null | undefined;
|
|
874
|
-
approvedAt?: string | null | undefined;
|
|
875
|
-
approvedBy?: {
|
|
876
|
-
name: string;
|
|
877
|
-
id: string;
|
|
878
|
-
} | null | undefined;
|
|
879
|
-
approveRemark?: string | null | undefined;
|
|
880
|
-
rejectionHistory?: {
|
|
881
|
-
rejectedAt: string;
|
|
882
|
-
rejectedBy: {
|
|
883
|
-
name: string;
|
|
884
|
-
id: string;
|
|
885
|
-
};
|
|
886
|
-
rejectRemark: string;
|
|
887
709
|
}[] | null | undefined;
|
|
888
|
-
closingAdjustmentId?: string | null | undefined;
|
|
889
|
-
closingId?: string | null | undefined;
|
|
890
710
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
891
711
|
_id: string;
|
|
892
712
|
items: {
|
|
@@ -980,10 +800,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
980
800
|
};
|
|
981
801
|
createdAt: string;
|
|
982
802
|
updatedAt: string;
|
|
983
|
-
updatedBy: {
|
|
984
|
-
name: string;
|
|
985
|
-
id: string;
|
|
986
|
-
};
|
|
987
803
|
usingTemplates: {
|
|
988
804
|
ref?: string | null | undefined;
|
|
989
805
|
_rev?: string | null | undefined;
|
|
@@ -1082,8 +898,11 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1082
898
|
_id: string;
|
|
1083
899
|
name: string;
|
|
1084
900
|
}[];
|
|
1085
|
-
|
|
1086
|
-
|
|
901
|
+
updatedBy: {
|
|
902
|
+
name: string;
|
|
903
|
+
id: string;
|
|
904
|
+
};
|
|
905
|
+
} & RevisionIdMeta)[] | {
|
|
1087
906
|
remark?: string | null | undefined;
|
|
1088
907
|
_rev: string;
|
|
1089
908
|
effectiveAt?: string | null | undefined;
|
|
@@ -1103,6 +922,91 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1103
922
|
}[] | null | undefined;
|
|
1104
923
|
closingAdjustmentId?: string | null | undefined;
|
|
1105
924
|
closingId?: string | null | undefined;
|
|
925
|
+
negativeStockItems?: {
|
|
926
|
+
remark?: string | null | undefined;
|
|
927
|
+
sku: {
|
|
928
|
+
trackingMeasurement?: string | null | undefined;
|
|
929
|
+
convert?: {
|
|
930
|
+
measurement?: string | null | undefined;
|
|
931
|
+
inventoryBindings?: {
|
|
932
|
+
measurement?: {
|
|
933
|
+
id: string;
|
|
934
|
+
name: string;
|
|
935
|
+
abbrev: string;
|
|
936
|
+
conversion: {
|
|
937
|
+
amount: number;
|
|
938
|
+
precision: number;
|
|
939
|
+
};
|
|
940
|
+
} | null | undefined;
|
|
941
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
942
|
+
amount: {
|
|
943
|
+
amount: number;
|
|
944
|
+
precision: number;
|
|
945
|
+
};
|
|
946
|
+
id: string;
|
|
947
|
+
}[] | null | undefined;
|
|
948
|
+
} | null | undefined;
|
|
949
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
950
|
+
defaultCost?: {
|
|
951
|
+
measurement?: {
|
|
952
|
+
id: string;
|
|
953
|
+
name: string;
|
|
954
|
+
abbrev: string;
|
|
955
|
+
conversion: {
|
|
956
|
+
amount: number;
|
|
957
|
+
precision: number;
|
|
958
|
+
};
|
|
959
|
+
} | null | undefined;
|
|
960
|
+
costPerUnit: {
|
|
961
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
962
|
+
amount: number;
|
|
963
|
+
precision: number;
|
|
964
|
+
};
|
|
965
|
+
} | null | undefined;
|
|
966
|
+
thresholds?: {
|
|
967
|
+
low: number;
|
|
968
|
+
mid: number;
|
|
969
|
+
} | null | undefined;
|
|
970
|
+
operationalGroup?: string | null | undefined;
|
|
971
|
+
unit: {
|
|
972
|
+
_id: string;
|
|
973
|
+
name: string;
|
|
974
|
+
abbrev: string;
|
|
975
|
+
precision: number;
|
|
976
|
+
measurements: {
|
|
977
|
+
id: string;
|
|
978
|
+
name: string;
|
|
979
|
+
abbrev: string;
|
|
980
|
+
conversion: {
|
|
981
|
+
amount: number;
|
|
982
|
+
precision: number;
|
|
983
|
+
};
|
|
984
|
+
}[];
|
|
985
|
+
};
|
|
986
|
+
code: string;
|
|
987
|
+
_id: string;
|
|
988
|
+
name: string;
|
|
989
|
+
};
|
|
990
|
+
baseAmount: {
|
|
991
|
+
amount: number;
|
|
992
|
+
precision: number;
|
|
993
|
+
};
|
|
994
|
+
measurementsAmounts: {
|
|
995
|
+
amount: {
|
|
996
|
+
amount: number;
|
|
997
|
+
precision: number;
|
|
998
|
+
};
|
|
999
|
+
measurement: {
|
|
1000
|
+
id: string;
|
|
1001
|
+
name: string;
|
|
1002
|
+
abbrev: string;
|
|
1003
|
+
conversion: {
|
|
1004
|
+
amount: number;
|
|
1005
|
+
precision: number;
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
}[];
|
|
1009
|
+
}[] | null | undefined;
|
|
1106
1010
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1107
1011
|
_id: string;
|
|
1108
1012
|
items: {
|
|
@@ -1196,10 +1100,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1196
1100
|
};
|
|
1197
1101
|
createdAt: string;
|
|
1198
1102
|
updatedAt: string;
|
|
1199
|
-
updatedBy: {
|
|
1200
|
-
name: string;
|
|
1201
|
-
id: string;
|
|
1202
|
-
};
|
|
1203
1103
|
usingTemplates: {
|
|
1204
1104
|
ref?: string | null | undefined;
|
|
1205
1105
|
_rev?: string | null | undefined;
|
|
@@ -1298,7 +1198,16 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1298
1198
|
_id: string;
|
|
1299
1199
|
name: string;
|
|
1300
1200
|
}[];
|
|
1301
|
-
|
|
1201
|
+
updatedBy: {
|
|
1202
|
+
name: string;
|
|
1203
|
+
id: string;
|
|
1204
|
+
};
|
|
1205
|
+
}[]>;
|
|
1206
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
1207
|
+
fetchDrafts: () => Promise<void>;
|
|
1208
|
+
loadDraft: (draftId: string) => Promise<void>;
|
|
1209
|
+
}, "loading" | "columnDefs" | "drafts">>, Pick<{
|
|
1210
|
+
columnDefs: ColumnDef<{
|
|
1302
1211
|
remark?: string | null | undefined;
|
|
1303
1212
|
_rev?: string | null | undefined;
|
|
1304
1213
|
effectiveAt?: string | null | undefined;
|
|
@@ -1318,9 +1227,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1318
1227
|
}[] | null | undefined;
|
|
1319
1228
|
closingAdjustmentId?: string | null | undefined;
|
|
1320
1229
|
closingId?: string | null | undefined;
|
|
1321
|
-
|
|
1322
|
-
_id: string;
|
|
1323
|
-
items: {
|
|
1230
|
+
negativeStockItems?: {
|
|
1324
1231
|
remark?: string | null | undefined;
|
|
1325
1232
|
sku: {
|
|
1326
1233
|
trackingMeasurement?: string | null | undefined;
|
|
@@ -1404,34 +1311,117 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1404
1311
|
};
|
|
1405
1312
|
};
|
|
1406
1313
|
}[];
|
|
1407
|
-
}[];
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1314
|
+
}[] | null | undefined;
|
|
1315
|
+
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1316
|
+
_id: string;
|
|
1317
|
+
items: {
|
|
1318
|
+
remark?: string | null | undefined;
|
|
1319
|
+
sku: {
|
|
1320
|
+
trackingMeasurement?: string | null | undefined;
|
|
1321
|
+
convert?: {
|
|
1322
|
+
measurement?: string | null | undefined;
|
|
1323
|
+
inventoryBindings?: {
|
|
1324
|
+
measurement?: {
|
|
1325
|
+
id: string;
|
|
1326
|
+
name: string;
|
|
1327
|
+
abbrev: string;
|
|
1328
|
+
conversion: {
|
|
1329
|
+
amount: number;
|
|
1330
|
+
precision: number;
|
|
1331
|
+
};
|
|
1332
|
+
} | null | undefined;
|
|
1333
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1334
|
+
amount: {
|
|
1335
|
+
amount: number;
|
|
1336
|
+
precision: number;
|
|
1337
|
+
};
|
|
1338
|
+
id: string;
|
|
1339
|
+
}[] | null | undefined;
|
|
1340
|
+
} | null | undefined;
|
|
1341
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1342
|
+
defaultCost?: {
|
|
1343
|
+
measurement?: {
|
|
1344
|
+
id: string;
|
|
1345
|
+
name: string;
|
|
1346
|
+
abbrev: string;
|
|
1347
|
+
conversion: {
|
|
1348
|
+
amount: number;
|
|
1349
|
+
precision: number;
|
|
1350
|
+
};
|
|
1351
|
+
} | null | undefined;
|
|
1352
|
+
costPerUnit: {
|
|
1353
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1354
|
+
amount: number;
|
|
1355
|
+
precision: number;
|
|
1356
|
+
};
|
|
1357
|
+
} | null | undefined;
|
|
1358
|
+
thresholds?: {
|
|
1359
|
+
low: number;
|
|
1360
|
+
mid: number;
|
|
1361
|
+
} | null | undefined;
|
|
1362
|
+
operationalGroup?: string | null | undefined;
|
|
1363
|
+
unit: {
|
|
1364
|
+
_id: string;
|
|
1365
|
+
name: string;
|
|
1366
|
+
abbrev: string;
|
|
1367
|
+
precision: number;
|
|
1368
|
+
measurements: {
|
|
1369
|
+
id: string;
|
|
1370
|
+
name: string;
|
|
1371
|
+
abbrev: string;
|
|
1372
|
+
conversion: {
|
|
1373
|
+
amount: number;
|
|
1374
|
+
precision: number;
|
|
1375
|
+
};
|
|
1376
|
+
}[];
|
|
1377
|
+
};
|
|
1378
|
+
code: string;
|
|
1379
|
+
_id: string;
|
|
1380
|
+
name: string;
|
|
1381
|
+
};
|
|
1382
|
+
baseAmount: {
|
|
1383
|
+
amount: number;
|
|
1384
|
+
precision: number;
|
|
1385
|
+
};
|
|
1386
|
+
measurementsAmounts: {
|
|
1387
|
+
amount: {
|
|
1388
|
+
amount: number;
|
|
1389
|
+
precision: number;
|
|
1390
|
+
};
|
|
1391
|
+
measurement: {
|
|
1392
|
+
id: string;
|
|
1393
|
+
name: string;
|
|
1394
|
+
abbrev: string;
|
|
1395
|
+
conversion: {
|
|
1396
|
+
amount: number;
|
|
1397
|
+
precision: number;
|
|
1398
|
+
};
|
|
1399
|
+
};
|
|
1400
|
+
}[];
|
|
1401
|
+
}[];
|
|
1402
|
+
createdBy: {
|
|
1403
|
+
name: string;
|
|
1404
|
+
id: string;
|
|
1405
|
+
};
|
|
1406
|
+
createdAt: string;
|
|
1407
|
+
updatedAt: string;
|
|
1408
|
+
usingTemplates: {
|
|
1409
|
+
ref?: string | null | undefined;
|
|
1410
|
+
_rev?: string | null | undefined;
|
|
1411
|
+
updatedAt?: Date | null | undefined;
|
|
1412
|
+
locations?: {
|
|
1413
|
+
type: "restaurant" | "warehouse";
|
|
1414
|
+
name: string;
|
|
1415
|
+
acceptRequest: boolean;
|
|
1416
|
+
dbName: string;
|
|
1417
|
+
doc: {
|
|
1418
|
+
_id: string;
|
|
1419
|
+
businessId: string;
|
|
1420
|
+
profile: {
|
|
1421
|
+
code?: string | null | undefined;
|
|
1422
|
+
_id?: string | null | undefined;
|
|
1423
|
+
name?: string | undefined;
|
|
1424
|
+
address?: {
|
|
1435
1425
|
coordinates?: number[] | null | undefined;
|
|
1436
1426
|
line2?: string | null | undefined;
|
|
1437
1427
|
state: string;
|
|
@@ -1513,7 +1503,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1513
1503
|
_id: string;
|
|
1514
1504
|
name: string;
|
|
1515
1505
|
}[];
|
|
1516
|
-
|
|
1506
|
+
updatedBy: {
|
|
1507
|
+
name: string;
|
|
1508
|
+
id: string;
|
|
1509
|
+
};
|
|
1510
|
+
} & RevisionIdMeta>[];
|
|
1511
|
+
drafts: import("vue").Ref<{
|
|
1517
1512
|
remark?: string | null | undefined;
|
|
1518
1513
|
_rev: string;
|
|
1519
1514
|
effectiveAt?: string | null | undefined;
|
|
@@ -1533,6 +1528,91 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1533
1528
|
}[] | null | undefined;
|
|
1534
1529
|
closingAdjustmentId?: string | null | undefined;
|
|
1535
1530
|
closingId?: string | null | undefined;
|
|
1531
|
+
negativeStockItems?: {
|
|
1532
|
+
remark?: string | null | undefined;
|
|
1533
|
+
sku: {
|
|
1534
|
+
trackingMeasurement?: string | null | undefined;
|
|
1535
|
+
convert?: {
|
|
1536
|
+
measurement?: string | null | undefined;
|
|
1537
|
+
inventoryBindings?: {
|
|
1538
|
+
measurement?: {
|
|
1539
|
+
id: string;
|
|
1540
|
+
name: string;
|
|
1541
|
+
abbrev: string;
|
|
1542
|
+
conversion: {
|
|
1543
|
+
amount: number;
|
|
1544
|
+
precision: number;
|
|
1545
|
+
};
|
|
1546
|
+
} | null | undefined;
|
|
1547
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1548
|
+
amount: {
|
|
1549
|
+
amount: number;
|
|
1550
|
+
precision: number;
|
|
1551
|
+
};
|
|
1552
|
+
id: string;
|
|
1553
|
+
}[] | null | undefined;
|
|
1554
|
+
} | null | undefined;
|
|
1555
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1556
|
+
defaultCost?: {
|
|
1557
|
+
measurement?: {
|
|
1558
|
+
id: string;
|
|
1559
|
+
name: string;
|
|
1560
|
+
abbrev: string;
|
|
1561
|
+
conversion: {
|
|
1562
|
+
amount: number;
|
|
1563
|
+
precision: number;
|
|
1564
|
+
};
|
|
1565
|
+
} | null | undefined;
|
|
1566
|
+
costPerUnit: {
|
|
1567
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1568
|
+
amount: number;
|
|
1569
|
+
precision: number;
|
|
1570
|
+
};
|
|
1571
|
+
} | null | undefined;
|
|
1572
|
+
thresholds?: {
|
|
1573
|
+
low: number;
|
|
1574
|
+
mid: number;
|
|
1575
|
+
} | null | undefined;
|
|
1576
|
+
operationalGroup?: string | null | undefined;
|
|
1577
|
+
unit: {
|
|
1578
|
+
_id: string;
|
|
1579
|
+
name: string;
|
|
1580
|
+
abbrev: string;
|
|
1581
|
+
precision: number;
|
|
1582
|
+
measurements: {
|
|
1583
|
+
id: string;
|
|
1584
|
+
name: string;
|
|
1585
|
+
abbrev: string;
|
|
1586
|
+
conversion: {
|
|
1587
|
+
amount: number;
|
|
1588
|
+
precision: number;
|
|
1589
|
+
};
|
|
1590
|
+
}[];
|
|
1591
|
+
};
|
|
1592
|
+
code: string;
|
|
1593
|
+
_id: string;
|
|
1594
|
+
name: string;
|
|
1595
|
+
};
|
|
1596
|
+
baseAmount: {
|
|
1597
|
+
amount: number;
|
|
1598
|
+
precision: number;
|
|
1599
|
+
};
|
|
1600
|
+
measurementsAmounts: {
|
|
1601
|
+
amount: {
|
|
1602
|
+
amount: number;
|
|
1603
|
+
precision: number;
|
|
1604
|
+
};
|
|
1605
|
+
measurement: {
|
|
1606
|
+
id: string;
|
|
1607
|
+
name: string;
|
|
1608
|
+
abbrev: string;
|
|
1609
|
+
conversion: {
|
|
1610
|
+
amount: number;
|
|
1611
|
+
precision: number;
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
}[];
|
|
1615
|
+
}[] | null | undefined;
|
|
1536
1616
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1537
1617
|
_id: string;
|
|
1538
1618
|
items: {
|
|
@@ -1626,10 +1706,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1626
1706
|
};
|
|
1627
1707
|
createdAt: string;
|
|
1628
1708
|
updatedAt: string;
|
|
1629
|
-
updatedBy: {
|
|
1630
|
-
name: string;
|
|
1631
|
-
id: string;
|
|
1632
|
-
};
|
|
1633
1709
|
usingTemplates: {
|
|
1634
1710
|
ref?: string | null | undefined;
|
|
1635
1711
|
_rev?: string | null | undefined;
|
|
@@ -1728,12 +1804,11 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1728
1804
|
_id: string;
|
|
1729
1805
|
name: string;
|
|
1730
1806
|
}[];
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
},
|
|
1736
|
-
columnDefs: ColumnDef<{
|
|
1807
|
+
updatedBy: {
|
|
1808
|
+
name: string;
|
|
1809
|
+
id: string;
|
|
1810
|
+
};
|
|
1811
|
+
}[], ({
|
|
1737
1812
|
remark?: string | null | undefined;
|
|
1738
1813
|
_rev?: string | null | undefined;
|
|
1739
1814
|
effectiveAt?: string | null | undefined;
|
|
@@ -1751,8 +1826,999 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1751
1826
|
};
|
|
1752
1827
|
rejectRemark: string;
|
|
1753
1828
|
}[] | null | undefined;
|
|
1754
|
-
closingAdjustmentId?: string | null | undefined;
|
|
1755
|
-
closingId?: string | null | undefined;
|
|
1829
|
+
closingAdjustmentId?: string | null | undefined;
|
|
1830
|
+
closingId?: string | null | undefined;
|
|
1831
|
+
negativeStockItems?: {
|
|
1832
|
+
remark?: string | null | undefined;
|
|
1833
|
+
sku: {
|
|
1834
|
+
trackingMeasurement?: string | null | undefined;
|
|
1835
|
+
convert?: {
|
|
1836
|
+
measurement?: string | null | undefined;
|
|
1837
|
+
inventoryBindings?: {
|
|
1838
|
+
measurement?: {
|
|
1839
|
+
id: string;
|
|
1840
|
+
name: string;
|
|
1841
|
+
abbrev: string;
|
|
1842
|
+
conversion: {
|
|
1843
|
+
amount: number;
|
|
1844
|
+
precision: number;
|
|
1845
|
+
};
|
|
1846
|
+
} | null | undefined;
|
|
1847
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1848
|
+
amount: {
|
|
1849
|
+
amount: number;
|
|
1850
|
+
precision: number;
|
|
1851
|
+
};
|
|
1852
|
+
id: string;
|
|
1853
|
+
}[] | null | undefined;
|
|
1854
|
+
} | null | undefined;
|
|
1855
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1856
|
+
defaultCost?: {
|
|
1857
|
+
measurement?: {
|
|
1858
|
+
id: string;
|
|
1859
|
+
name: string;
|
|
1860
|
+
abbrev: string;
|
|
1861
|
+
conversion: {
|
|
1862
|
+
amount: number;
|
|
1863
|
+
precision: number;
|
|
1864
|
+
};
|
|
1865
|
+
} | null | undefined;
|
|
1866
|
+
costPerUnit: {
|
|
1867
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1868
|
+
amount: number;
|
|
1869
|
+
precision: number;
|
|
1870
|
+
};
|
|
1871
|
+
} | null | undefined;
|
|
1872
|
+
thresholds?: {
|
|
1873
|
+
low: number;
|
|
1874
|
+
mid: number;
|
|
1875
|
+
} | null | undefined;
|
|
1876
|
+
operationalGroup?: string | null | undefined;
|
|
1877
|
+
unit: {
|
|
1878
|
+
_id: string;
|
|
1879
|
+
name: string;
|
|
1880
|
+
abbrev: string;
|
|
1881
|
+
precision: number;
|
|
1882
|
+
measurements: {
|
|
1883
|
+
id: string;
|
|
1884
|
+
name: string;
|
|
1885
|
+
abbrev: string;
|
|
1886
|
+
conversion: {
|
|
1887
|
+
amount: number;
|
|
1888
|
+
precision: number;
|
|
1889
|
+
};
|
|
1890
|
+
}[];
|
|
1891
|
+
};
|
|
1892
|
+
code: string;
|
|
1893
|
+
_id: string;
|
|
1894
|
+
name: string;
|
|
1895
|
+
};
|
|
1896
|
+
baseAmount: {
|
|
1897
|
+
amount: number;
|
|
1898
|
+
precision: number;
|
|
1899
|
+
};
|
|
1900
|
+
measurementsAmounts: {
|
|
1901
|
+
amount: {
|
|
1902
|
+
amount: number;
|
|
1903
|
+
precision: number;
|
|
1904
|
+
};
|
|
1905
|
+
measurement: {
|
|
1906
|
+
id: string;
|
|
1907
|
+
name: string;
|
|
1908
|
+
abbrev: string;
|
|
1909
|
+
conversion: {
|
|
1910
|
+
amount: number;
|
|
1911
|
+
precision: number;
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
}[];
|
|
1915
|
+
}[] | null | undefined;
|
|
1916
|
+
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1917
|
+
_id: string;
|
|
1918
|
+
items: {
|
|
1919
|
+
remark?: string | null | undefined;
|
|
1920
|
+
sku: {
|
|
1921
|
+
trackingMeasurement?: string | null | undefined;
|
|
1922
|
+
convert?: {
|
|
1923
|
+
measurement?: string | null | undefined;
|
|
1924
|
+
inventoryBindings?: {
|
|
1925
|
+
measurement?: {
|
|
1926
|
+
id: string;
|
|
1927
|
+
name: string;
|
|
1928
|
+
abbrev: string;
|
|
1929
|
+
conversion: {
|
|
1930
|
+
amount: number;
|
|
1931
|
+
precision: number;
|
|
1932
|
+
};
|
|
1933
|
+
} | null | undefined;
|
|
1934
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1935
|
+
amount: {
|
|
1936
|
+
amount: number;
|
|
1937
|
+
precision: number;
|
|
1938
|
+
};
|
|
1939
|
+
id: string;
|
|
1940
|
+
}[] | null | undefined;
|
|
1941
|
+
} | null | undefined;
|
|
1942
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1943
|
+
defaultCost?: {
|
|
1944
|
+
measurement?: {
|
|
1945
|
+
id: string;
|
|
1946
|
+
name: string;
|
|
1947
|
+
abbrev: string;
|
|
1948
|
+
conversion: {
|
|
1949
|
+
amount: number;
|
|
1950
|
+
precision: number;
|
|
1951
|
+
};
|
|
1952
|
+
} | null | undefined;
|
|
1953
|
+
costPerUnit: {
|
|
1954
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1955
|
+
amount: number;
|
|
1956
|
+
precision: number;
|
|
1957
|
+
};
|
|
1958
|
+
} | null | undefined;
|
|
1959
|
+
thresholds?: {
|
|
1960
|
+
low: number;
|
|
1961
|
+
mid: number;
|
|
1962
|
+
} | null | undefined;
|
|
1963
|
+
operationalGroup?: string | null | undefined;
|
|
1964
|
+
unit: {
|
|
1965
|
+
_id: string;
|
|
1966
|
+
name: string;
|
|
1967
|
+
abbrev: string;
|
|
1968
|
+
precision: number;
|
|
1969
|
+
measurements: {
|
|
1970
|
+
id: string;
|
|
1971
|
+
name: string;
|
|
1972
|
+
abbrev: string;
|
|
1973
|
+
conversion: {
|
|
1974
|
+
amount: number;
|
|
1975
|
+
precision: number;
|
|
1976
|
+
};
|
|
1977
|
+
}[];
|
|
1978
|
+
};
|
|
1979
|
+
code: string;
|
|
1980
|
+
_id: string;
|
|
1981
|
+
name: string;
|
|
1982
|
+
};
|
|
1983
|
+
baseAmount: {
|
|
1984
|
+
amount: number;
|
|
1985
|
+
precision: number;
|
|
1986
|
+
};
|
|
1987
|
+
measurementsAmounts: {
|
|
1988
|
+
amount: {
|
|
1989
|
+
amount: number;
|
|
1990
|
+
precision: number;
|
|
1991
|
+
};
|
|
1992
|
+
measurement: {
|
|
1993
|
+
id: string;
|
|
1994
|
+
name: string;
|
|
1995
|
+
abbrev: string;
|
|
1996
|
+
conversion: {
|
|
1997
|
+
amount: number;
|
|
1998
|
+
precision: number;
|
|
1999
|
+
};
|
|
2000
|
+
};
|
|
2001
|
+
}[];
|
|
2002
|
+
}[];
|
|
2003
|
+
createdBy: {
|
|
2004
|
+
name: string;
|
|
2005
|
+
id: string;
|
|
2006
|
+
};
|
|
2007
|
+
createdAt: string;
|
|
2008
|
+
updatedAt: string;
|
|
2009
|
+
usingTemplates: {
|
|
2010
|
+
ref?: string | null | undefined;
|
|
2011
|
+
_rev?: string | null | undefined;
|
|
2012
|
+
updatedAt?: Date | null | undefined;
|
|
2013
|
+
locations?: {
|
|
2014
|
+
type: "restaurant" | "warehouse";
|
|
2015
|
+
name: string;
|
|
2016
|
+
acceptRequest: boolean;
|
|
2017
|
+
dbName: string;
|
|
2018
|
+
doc: {
|
|
2019
|
+
_id: string;
|
|
2020
|
+
businessId: string;
|
|
2021
|
+
profile: {
|
|
2022
|
+
code?: string | null | undefined;
|
|
2023
|
+
_id?: string | null | undefined;
|
|
2024
|
+
name?: string | undefined;
|
|
2025
|
+
address?: {
|
|
2026
|
+
coordinates?: number[] | null | undefined;
|
|
2027
|
+
line2?: string | null | undefined;
|
|
2028
|
+
state: string;
|
|
2029
|
+
country: string;
|
|
2030
|
+
line1: string;
|
|
2031
|
+
city: string;
|
|
2032
|
+
postcode: string;
|
|
2033
|
+
} | undefined;
|
|
2034
|
+
email?: string | undefined;
|
|
2035
|
+
regNo?: string | undefined;
|
|
2036
|
+
sstRegNo?: string | null | undefined;
|
|
2037
|
+
phoneNo?: string | undefined;
|
|
2038
|
+
legalName?: string | null | undefined;
|
|
2039
|
+
discovery?: boolean | null | undefined;
|
|
2040
|
+
coverPhoto?: string | null | undefined;
|
|
2041
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2042
|
+
description?: string | null | undefined;
|
|
2043
|
+
photos?: string[] | null | undefined;
|
|
2044
|
+
operatingHours?: {
|
|
2045
|
+
0: {
|
|
2046
|
+
hours: {
|
|
2047
|
+
end: string;
|
|
2048
|
+
start: string;
|
|
2049
|
+
}[];
|
|
2050
|
+
enable: boolean;
|
|
2051
|
+
};
|
|
2052
|
+
2: {
|
|
2053
|
+
hours: {
|
|
2054
|
+
end: string;
|
|
2055
|
+
start: string;
|
|
2056
|
+
}[];
|
|
2057
|
+
enable: boolean;
|
|
2058
|
+
};
|
|
2059
|
+
1: {
|
|
2060
|
+
hours: {
|
|
2061
|
+
end: string;
|
|
2062
|
+
start: string;
|
|
2063
|
+
}[];
|
|
2064
|
+
enable: boolean;
|
|
2065
|
+
};
|
|
2066
|
+
3: {
|
|
2067
|
+
hours: {
|
|
2068
|
+
end: string;
|
|
2069
|
+
start: string;
|
|
2070
|
+
}[];
|
|
2071
|
+
enable: boolean;
|
|
2072
|
+
};
|
|
2073
|
+
4: {
|
|
2074
|
+
hours: {
|
|
2075
|
+
end: string;
|
|
2076
|
+
start: string;
|
|
2077
|
+
}[];
|
|
2078
|
+
enable: boolean;
|
|
2079
|
+
};
|
|
2080
|
+
5: {
|
|
2081
|
+
hours: {
|
|
2082
|
+
end: string;
|
|
2083
|
+
start: string;
|
|
2084
|
+
}[];
|
|
2085
|
+
enable: boolean;
|
|
2086
|
+
};
|
|
2087
|
+
6: {
|
|
2088
|
+
hours: {
|
|
2089
|
+
end: string;
|
|
2090
|
+
start: string;
|
|
2091
|
+
}[];
|
|
2092
|
+
enable: boolean;
|
|
2093
|
+
};
|
|
2094
|
+
} | null | undefined;
|
|
2095
|
+
tags?: string[] | null | undefined;
|
|
2096
|
+
url?: string | null | undefined;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
}[] | null | undefined;
|
|
2100
|
+
updatedBy?: {
|
|
2101
|
+
name: string;
|
|
2102
|
+
id: string;
|
|
2103
|
+
} | null | undefined;
|
|
2104
|
+
_id: string;
|
|
2105
|
+
name: string;
|
|
2106
|
+
}[];
|
|
2107
|
+
updatedBy: {
|
|
2108
|
+
name: string;
|
|
2109
|
+
id: string;
|
|
2110
|
+
};
|
|
2111
|
+
} & RevisionIdMeta)[] | {
|
|
2112
|
+
remark?: string | null | undefined;
|
|
2113
|
+
_rev: string;
|
|
2114
|
+
effectiveAt?: string | null | undefined;
|
|
2115
|
+
approvedAt?: string | null | undefined;
|
|
2116
|
+
approvedBy?: {
|
|
2117
|
+
name: string;
|
|
2118
|
+
id: string;
|
|
2119
|
+
} | null | undefined;
|
|
2120
|
+
approveRemark?: string | null | undefined;
|
|
2121
|
+
rejectionHistory?: {
|
|
2122
|
+
rejectedAt: string;
|
|
2123
|
+
rejectedBy: {
|
|
2124
|
+
name: string;
|
|
2125
|
+
id: string;
|
|
2126
|
+
};
|
|
2127
|
+
rejectRemark: string;
|
|
2128
|
+
}[] | null | undefined;
|
|
2129
|
+
closingAdjustmentId?: string | null | undefined;
|
|
2130
|
+
closingId?: string | null | undefined;
|
|
2131
|
+
negativeStockItems?: {
|
|
2132
|
+
remark?: string | null | undefined;
|
|
2133
|
+
sku: {
|
|
2134
|
+
trackingMeasurement?: string | null | undefined;
|
|
2135
|
+
convert?: {
|
|
2136
|
+
measurement?: string | null | undefined;
|
|
2137
|
+
inventoryBindings?: {
|
|
2138
|
+
measurement?: {
|
|
2139
|
+
id: string;
|
|
2140
|
+
name: string;
|
|
2141
|
+
abbrev: string;
|
|
2142
|
+
conversion: {
|
|
2143
|
+
amount: number;
|
|
2144
|
+
precision: number;
|
|
2145
|
+
};
|
|
2146
|
+
} | null | undefined;
|
|
2147
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2148
|
+
amount: {
|
|
2149
|
+
amount: number;
|
|
2150
|
+
precision: number;
|
|
2151
|
+
};
|
|
2152
|
+
id: string;
|
|
2153
|
+
}[] | null | undefined;
|
|
2154
|
+
} | null | undefined;
|
|
2155
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2156
|
+
defaultCost?: {
|
|
2157
|
+
measurement?: {
|
|
2158
|
+
id: string;
|
|
2159
|
+
name: string;
|
|
2160
|
+
abbrev: string;
|
|
2161
|
+
conversion: {
|
|
2162
|
+
amount: number;
|
|
2163
|
+
precision: number;
|
|
2164
|
+
};
|
|
2165
|
+
} | null | undefined;
|
|
2166
|
+
costPerUnit: {
|
|
2167
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2168
|
+
amount: number;
|
|
2169
|
+
precision: number;
|
|
2170
|
+
};
|
|
2171
|
+
} | null | undefined;
|
|
2172
|
+
thresholds?: {
|
|
2173
|
+
low: number;
|
|
2174
|
+
mid: number;
|
|
2175
|
+
} | null | undefined;
|
|
2176
|
+
operationalGroup?: string | null | undefined;
|
|
2177
|
+
unit: {
|
|
2178
|
+
_id: string;
|
|
2179
|
+
name: string;
|
|
2180
|
+
abbrev: string;
|
|
2181
|
+
precision: number;
|
|
2182
|
+
measurements: {
|
|
2183
|
+
id: string;
|
|
2184
|
+
name: string;
|
|
2185
|
+
abbrev: string;
|
|
2186
|
+
conversion: {
|
|
2187
|
+
amount: number;
|
|
2188
|
+
precision: number;
|
|
2189
|
+
};
|
|
2190
|
+
}[];
|
|
2191
|
+
};
|
|
2192
|
+
code: string;
|
|
2193
|
+
_id: string;
|
|
2194
|
+
name: string;
|
|
2195
|
+
};
|
|
2196
|
+
baseAmount: {
|
|
2197
|
+
amount: number;
|
|
2198
|
+
precision: number;
|
|
2199
|
+
};
|
|
2200
|
+
measurementsAmounts: {
|
|
2201
|
+
amount: {
|
|
2202
|
+
amount: number;
|
|
2203
|
+
precision: number;
|
|
2204
|
+
};
|
|
2205
|
+
measurement: {
|
|
2206
|
+
id: string;
|
|
2207
|
+
name: string;
|
|
2208
|
+
abbrev: string;
|
|
2209
|
+
conversion: {
|
|
2210
|
+
amount: number;
|
|
2211
|
+
precision: number;
|
|
2212
|
+
};
|
|
2213
|
+
};
|
|
2214
|
+
}[];
|
|
2215
|
+
}[] | null | undefined;
|
|
2216
|
+
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2217
|
+
_id: string;
|
|
2218
|
+
items: {
|
|
2219
|
+
remark?: string | null | undefined;
|
|
2220
|
+
sku: {
|
|
2221
|
+
trackingMeasurement?: string | null | undefined;
|
|
2222
|
+
convert?: {
|
|
2223
|
+
measurement?: string | null | undefined;
|
|
2224
|
+
inventoryBindings?: {
|
|
2225
|
+
measurement?: {
|
|
2226
|
+
id: string;
|
|
2227
|
+
name: string;
|
|
2228
|
+
abbrev: string;
|
|
2229
|
+
conversion: {
|
|
2230
|
+
amount: number;
|
|
2231
|
+
precision: number;
|
|
2232
|
+
};
|
|
2233
|
+
} | null | undefined;
|
|
2234
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2235
|
+
amount: {
|
|
2236
|
+
amount: number;
|
|
2237
|
+
precision: number;
|
|
2238
|
+
};
|
|
2239
|
+
id: string;
|
|
2240
|
+
}[] | null | undefined;
|
|
2241
|
+
} | null | undefined;
|
|
2242
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2243
|
+
defaultCost?: {
|
|
2244
|
+
measurement?: {
|
|
2245
|
+
id: string;
|
|
2246
|
+
name: string;
|
|
2247
|
+
abbrev: string;
|
|
2248
|
+
conversion: {
|
|
2249
|
+
amount: number;
|
|
2250
|
+
precision: number;
|
|
2251
|
+
};
|
|
2252
|
+
} | null | undefined;
|
|
2253
|
+
costPerUnit: {
|
|
2254
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2255
|
+
amount: number;
|
|
2256
|
+
precision: number;
|
|
2257
|
+
};
|
|
2258
|
+
} | null | undefined;
|
|
2259
|
+
thresholds?: {
|
|
2260
|
+
low: number;
|
|
2261
|
+
mid: number;
|
|
2262
|
+
} | null | undefined;
|
|
2263
|
+
operationalGroup?: string | null | undefined;
|
|
2264
|
+
unit: {
|
|
2265
|
+
_id: string;
|
|
2266
|
+
name: string;
|
|
2267
|
+
abbrev: string;
|
|
2268
|
+
precision: number;
|
|
2269
|
+
measurements: {
|
|
2270
|
+
id: string;
|
|
2271
|
+
name: string;
|
|
2272
|
+
abbrev: string;
|
|
2273
|
+
conversion: {
|
|
2274
|
+
amount: number;
|
|
2275
|
+
precision: number;
|
|
2276
|
+
};
|
|
2277
|
+
}[];
|
|
2278
|
+
};
|
|
2279
|
+
code: string;
|
|
2280
|
+
_id: string;
|
|
2281
|
+
name: string;
|
|
2282
|
+
};
|
|
2283
|
+
baseAmount: {
|
|
2284
|
+
amount: number;
|
|
2285
|
+
precision: number;
|
|
2286
|
+
};
|
|
2287
|
+
measurementsAmounts: {
|
|
2288
|
+
amount: {
|
|
2289
|
+
amount: number;
|
|
2290
|
+
precision: number;
|
|
2291
|
+
};
|
|
2292
|
+
measurement: {
|
|
2293
|
+
id: string;
|
|
2294
|
+
name: string;
|
|
2295
|
+
abbrev: string;
|
|
2296
|
+
conversion: {
|
|
2297
|
+
amount: number;
|
|
2298
|
+
precision: number;
|
|
2299
|
+
};
|
|
2300
|
+
};
|
|
2301
|
+
}[];
|
|
2302
|
+
}[];
|
|
2303
|
+
createdBy: {
|
|
2304
|
+
name: string;
|
|
2305
|
+
id: string;
|
|
2306
|
+
};
|
|
2307
|
+
createdAt: string;
|
|
2308
|
+
updatedAt: string;
|
|
2309
|
+
usingTemplates: {
|
|
2310
|
+
ref?: string | null | undefined;
|
|
2311
|
+
_rev?: string | null | undefined;
|
|
2312
|
+
updatedAt?: Date | null | undefined;
|
|
2313
|
+
locations?: {
|
|
2314
|
+
type: "restaurant" | "warehouse";
|
|
2315
|
+
name: string;
|
|
2316
|
+
acceptRequest: boolean;
|
|
2317
|
+
dbName: string;
|
|
2318
|
+
doc: {
|
|
2319
|
+
_id: string;
|
|
2320
|
+
businessId: string;
|
|
2321
|
+
profile: {
|
|
2322
|
+
code?: string | null | undefined;
|
|
2323
|
+
_id?: string | null | undefined;
|
|
2324
|
+
name?: string | undefined;
|
|
2325
|
+
address?: {
|
|
2326
|
+
coordinates?: number[] | null | undefined;
|
|
2327
|
+
line2?: string | null | undefined;
|
|
2328
|
+
state: string;
|
|
2329
|
+
country: string;
|
|
2330
|
+
line1: string;
|
|
2331
|
+
city: string;
|
|
2332
|
+
postcode: string;
|
|
2333
|
+
} | undefined;
|
|
2334
|
+
email?: string | undefined;
|
|
2335
|
+
regNo?: string | undefined;
|
|
2336
|
+
sstRegNo?: string | null | undefined;
|
|
2337
|
+
phoneNo?: string | undefined;
|
|
2338
|
+
legalName?: string | null | undefined;
|
|
2339
|
+
discovery?: boolean | null | undefined;
|
|
2340
|
+
coverPhoto?: string | null | undefined;
|
|
2341
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2342
|
+
description?: string | null | undefined;
|
|
2343
|
+
photos?: string[] | null | undefined;
|
|
2344
|
+
operatingHours?: {
|
|
2345
|
+
0: {
|
|
2346
|
+
hours: {
|
|
2347
|
+
end: string;
|
|
2348
|
+
start: string;
|
|
2349
|
+
}[];
|
|
2350
|
+
enable: boolean;
|
|
2351
|
+
};
|
|
2352
|
+
2: {
|
|
2353
|
+
hours: {
|
|
2354
|
+
end: string;
|
|
2355
|
+
start: string;
|
|
2356
|
+
}[];
|
|
2357
|
+
enable: boolean;
|
|
2358
|
+
};
|
|
2359
|
+
1: {
|
|
2360
|
+
hours: {
|
|
2361
|
+
end: string;
|
|
2362
|
+
start: string;
|
|
2363
|
+
}[];
|
|
2364
|
+
enable: boolean;
|
|
2365
|
+
};
|
|
2366
|
+
3: {
|
|
2367
|
+
hours: {
|
|
2368
|
+
end: string;
|
|
2369
|
+
start: string;
|
|
2370
|
+
}[];
|
|
2371
|
+
enable: boolean;
|
|
2372
|
+
};
|
|
2373
|
+
4: {
|
|
2374
|
+
hours: {
|
|
2375
|
+
end: string;
|
|
2376
|
+
start: string;
|
|
2377
|
+
}[];
|
|
2378
|
+
enable: boolean;
|
|
2379
|
+
};
|
|
2380
|
+
5: {
|
|
2381
|
+
hours: {
|
|
2382
|
+
end: string;
|
|
2383
|
+
start: string;
|
|
2384
|
+
}[];
|
|
2385
|
+
enable: boolean;
|
|
2386
|
+
};
|
|
2387
|
+
6: {
|
|
2388
|
+
hours: {
|
|
2389
|
+
end: string;
|
|
2390
|
+
start: string;
|
|
2391
|
+
}[];
|
|
2392
|
+
enable: boolean;
|
|
2393
|
+
};
|
|
2394
|
+
} | null | undefined;
|
|
2395
|
+
tags?: string[] | null | undefined;
|
|
2396
|
+
url?: string | null | undefined;
|
|
2397
|
+
};
|
|
2398
|
+
};
|
|
2399
|
+
}[] | null | undefined;
|
|
2400
|
+
updatedBy?: {
|
|
2401
|
+
name: string;
|
|
2402
|
+
id: string;
|
|
2403
|
+
} | null | undefined;
|
|
2404
|
+
_id: string;
|
|
2405
|
+
name: string;
|
|
2406
|
+
}[];
|
|
2407
|
+
updatedBy: {
|
|
2408
|
+
name: string;
|
|
2409
|
+
id: string;
|
|
2410
|
+
};
|
|
2411
|
+
}[]>;
|
|
2412
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
2413
|
+
fetchDrafts: () => Promise<void>;
|
|
2414
|
+
loadDraft: (draftId: string) => Promise<void>;
|
|
2415
|
+
}, never>, Pick<{
|
|
2416
|
+
columnDefs: ColumnDef<{
|
|
2417
|
+
remark?: string | null | undefined;
|
|
2418
|
+
_rev?: string | null | undefined;
|
|
2419
|
+
effectiveAt?: string | null | undefined;
|
|
2420
|
+
approvedAt?: string | null | undefined;
|
|
2421
|
+
approvedBy?: {
|
|
2422
|
+
name: string;
|
|
2423
|
+
id: string;
|
|
2424
|
+
} | null | undefined;
|
|
2425
|
+
approveRemark?: string | null | undefined;
|
|
2426
|
+
rejectionHistory?: {
|
|
2427
|
+
rejectedAt: string;
|
|
2428
|
+
rejectedBy: {
|
|
2429
|
+
name: string;
|
|
2430
|
+
id: string;
|
|
2431
|
+
};
|
|
2432
|
+
rejectRemark: string;
|
|
2433
|
+
}[] | null | undefined;
|
|
2434
|
+
closingAdjustmentId?: string | null | undefined;
|
|
2435
|
+
closingId?: string | null | undefined;
|
|
2436
|
+
negativeStockItems?: {
|
|
2437
|
+
remark?: string | null | undefined;
|
|
2438
|
+
sku: {
|
|
2439
|
+
trackingMeasurement?: string | null | undefined;
|
|
2440
|
+
convert?: {
|
|
2441
|
+
measurement?: string | null | undefined;
|
|
2442
|
+
inventoryBindings?: {
|
|
2443
|
+
measurement?: {
|
|
2444
|
+
id: string;
|
|
2445
|
+
name: string;
|
|
2446
|
+
abbrev: string;
|
|
2447
|
+
conversion: {
|
|
2448
|
+
amount: number;
|
|
2449
|
+
precision: number;
|
|
2450
|
+
};
|
|
2451
|
+
} | null | undefined;
|
|
2452
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2453
|
+
amount: {
|
|
2454
|
+
amount: number;
|
|
2455
|
+
precision: number;
|
|
2456
|
+
};
|
|
2457
|
+
id: string;
|
|
2458
|
+
}[] | null | undefined;
|
|
2459
|
+
} | null | undefined;
|
|
2460
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2461
|
+
defaultCost?: {
|
|
2462
|
+
measurement?: {
|
|
2463
|
+
id: string;
|
|
2464
|
+
name: string;
|
|
2465
|
+
abbrev: string;
|
|
2466
|
+
conversion: {
|
|
2467
|
+
amount: number;
|
|
2468
|
+
precision: number;
|
|
2469
|
+
};
|
|
2470
|
+
} | null | undefined;
|
|
2471
|
+
costPerUnit: {
|
|
2472
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2473
|
+
amount: number;
|
|
2474
|
+
precision: number;
|
|
2475
|
+
};
|
|
2476
|
+
} | null | undefined;
|
|
2477
|
+
thresholds?: {
|
|
2478
|
+
low: number;
|
|
2479
|
+
mid: number;
|
|
2480
|
+
} | null | undefined;
|
|
2481
|
+
operationalGroup?: string | null | undefined;
|
|
2482
|
+
unit: {
|
|
2483
|
+
_id: string;
|
|
2484
|
+
name: string;
|
|
2485
|
+
abbrev: string;
|
|
2486
|
+
precision: number;
|
|
2487
|
+
measurements: {
|
|
2488
|
+
id: string;
|
|
2489
|
+
name: string;
|
|
2490
|
+
abbrev: string;
|
|
2491
|
+
conversion: {
|
|
2492
|
+
amount: number;
|
|
2493
|
+
precision: number;
|
|
2494
|
+
};
|
|
2495
|
+
}[];
|
|
2496
|
+
};
|
|
2497
|
+
code: string;
|
|
2498
|
+
_id: string;
|
|
2499
|
+
name: string;
|
|
2500
|
+
};
|
|
2501
|
+
baseAmount: {
|
|
2502
|
+
amount: number;
|
|
2503
|
+
precision: number;
|
|
2504
|
+
};
|
|
2505
|
+
measurementsAmounts: {
|
|
2506
|
+
amount: {
|
|
2507
|
+
amount: number;
|
|
2508
|
+
precision: number;
|
|
2509
|
+
};
|
|
2510
|
+
measurement: {
|
|
2511
|
+
id: string;
|
|
2512
|
+
name: string;
|
|
2513
|
+
abbrev: string;
|
|
2514
|
+
conversion: {
|
|
2515
|
+
amount: number;
|
|
2516
|
+
precision: number;
|
|
2517
|
+
};
|
|
2518
|
+
};
|
|
2519
|
+
}[];
|
|
2520
|
+
}[] | null | undefined;
|
|
2521
|
+
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2522
|
+
_id: string;
|
|
2523
|
+
items: {
|
|
2524
|
+
remark?: string | null | undefined;
|
|
2525
|
+
sku: {
|
|
2526
|
+
trackingMeasurement?: string | null | undefined;
|
|
2527
|
+
convert?: {
|
|
2528
|
+
measurement?: string | null | undefined;
|
|
2529
|
+
inventoryBindings?: {
|
|
2530
|
+
measurement?: {
|
|
2531
|
+
id: string;
|
|
2532
|
+
name: string;
|
|
2533
|
+
abbrev: string;
|
|
2534
|
+
conversion: {
|
|
2535
|
+
amount: number;
|
|
2536
|
+
precision: number;
|
|
2537
|
+
};
|
|
2538
|
+
} | null | undefined;
|
|
2539
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2540
|
+
amount: {
|
|
2541
|
+
amount: number;
|
|
2542
|
+
precision: number;
|
|
2543
|
+
};
|
|
2544
|
+
id: string;
|
|
2545
|
+
}[] | null | undefined;
|
|
2546
|
+
} | null | undefined;
|
|
2547
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2548
|
+
defaultCost?: {
|
|
2549
|
+
measurement?: {
|
|
2550
|
+
id: string;
|
|
2551
|
+
name: string;
|
|
2552
|
+
abbrev: string;
|
|
2553
|
+
conversion: {
|
|
2554
|
+
amount: number;
|
|
2555
|
+
precision: number;
|
|
2556
|
+
};
|
|
2557
|
+
} | null | undefined;
|
|
2558
|
+
costPerUnit: {
|
|
2559
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2560
|
+
amount: number;
|
|
2561
|
+
precision: number;
|
|
2562
|
+
};
|
|
2563
|
+
} | null | undefined;
|
|
2564
|
+
thresholds?: {
|
|
2565
|
+
low: number;
|
|
2566
|
+
mid: number;
|
|
2567
|
+
} | null | undefined;
|
|
2568
|
+
operationalGroup?: string | null | undefined;
|
|
2569
|
+
unit: {
|
|
2570
|
+
_id: string;
|
|
2571
|
+
name: string;
|
|
2572
|
+
abbrev: string;
|
|
2573
|
+
precision: number;
|
|
2574
|
+
measurements: {
|
|
2575
|
+
id: string;
|
|
2576
|
+
name: string;
|
|
2577
|
+
abbrev: string;
|
|
2578
|
+
conversion: {
|
|
2579
|
+
amount: number;
|
|
2580
|
+
precision: number;
|
|
2581
|
+
};
|
|
2582
|
+
}[];
|
|
2583
|
+
};
|
|
2584
|
+
code: string;
|
|
2585
|
+
_id: string;
|
|
2586
|
+
name: string;
|
|
2587
|
+
};
|
|
2588
|
+
baseAmount: {
|
|
2589
|
+
amount: number;
|
|
2590
|
+
precision: number;
|
|
2591
|
+
};
|
|
2592
|
+
measurementsAmounts: {
|
|
2593
|
+
amount: {
|
|
2594
|
+
amount: number;
|
|
2595
|
+
precision: number;
|
|
2596
|
+
};
|
|
2597
|
+
measurement: {
|
|
2598
|
+
id: string;
|
|
2599
|
+
name: string;
|
|
2600
|
+
abbrev: string;
|
|
2601
|
+
conversion: {
|
|
2602
|
+
amount: number;
|
|
2603
|
+
precision: number;
|
|
2604
|
+
};
|
|
2605
|
+
};
|
|
2606
|
+
}[];
|
|
2607
|
+
}[];
|
|
2608
|
+
createdBy: {
|
|
2609
|
+
name: string;
|
|
2610
|
+
id: string;
|
|
2611
|
+
};
|
|
2612
|
+
createdAt: string;
|
|
2613
|
+
updatedAt: string;
|
|
2614
|
+
usingTemplates: {
|
|
2615
|
+
ref?: string | null | undefined;
|
|
2616
|
+
_rev?: string | null | undefined;
|
|
2617
|
+
updatedAt?: Date | null | undefined;
|
|
2618
|
+
locations?: {
|
|
2619
|
+
type: "restaurant" | "warehouse";
|
|
2620
|
+
name: string;
|
|
2621
|
+
acceptRequest: boolean;
|
|
2622
|
+
dbName: string;
|
|
2623
|
+
doc: {
|
|
2624
|
+
_id: string;
|
|
2625
|
+
businessId: string;
|
|
2626
|
+
profile: {
|
|
2627
|
+
code?: string | null | undefined;
|
|
2628
|
+
_id?: string | null | undefined;
|
|
2629
|
+
name?: string | undefined;
|
|
2630
|
+
address?: {
|
|
2631
|
+
coordinates?: number[] | null | undefined;
|
|
2632
|
+
line2?: string | null | undefined;
|
|
2633
|
+
state: string;
|
|
2634
|
+
country: string;
|
|
2635
|
+
line1: string;
|
|
2636
|
+
city: string;
|
|
2637
|
+
postcode: string;
|
|
2638
|
+
} | undefined;
|
|
2639
|
+
email?: string | undefined;
|
|
2640
|
+
regNo?: string | undefined;
|
|
2641
|
+
sstRegNo?: string | null | undefined;
|
|
2642
|
+
phoneNo?: string | undefined;
|
|
2643
|
+
legalName?: string | null | undefined;
|
|
2644
|
+
discovery?: boolean | null | undefined;
|
|
2645
|
+
coverPhoto?: string | null | undefined;
|
|
2646
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2647
|
+
description?: string | null | undefined;
|
|
2648
|
+
photos?: string[] | null | undefined;
|
|
2649
|
+
operatingHours?: {
|
|
2650
|
+
0: {
|
|
2651
|
+
hours: {
|
|
2652
|
+
end: string;
|
|
2653
|
+
start: string;
|
|
2654
|
+
}[];
|
|
2655
|
+
enable: boolean;
|
|
2656
|
+
};
|
|
2657
|
+
2: {
|
|
2658
|
+
hours: {
|
|
2659
|
+
end: string;
|
|
2660
|
+
start: string;
|
|
2661
|
+
}[];
|
|
2662
|
+
enable: boolean;
|
|
2663
|
+
};
|
|
2664
|
+
1: {
|
|
2665
|
+
hours: {
|
|
2666
|
+
end: string;
|
|
2667
|
+
start: string;
|
|
2668
|
+
}[];
|
|
2669
|
+
enable: boolean;
|
|
2670
|
+
};
|
|
2671
|
+
3: {
|
|
2672
|
+
hours: {
|
|
2673
|
+
end: string;
|
|
2674
|
+
start: string;
|
|
2675
|
+
}[];
|
|
2676
|
+
enable: boolean;
|
|
2677
|
+
};
|
|
2678
|
+
4: {
|
|
2679
|
+
hours: {
|
|
2680
|
+
end: string;
|
|
2681
|
+
start: string;
|
|
2682
|
+
}[];
|
|
2683
|
+
enable: boolean;
|
|
2684
|
+
};
|
|
2685
|
+
5: {
|
|
2686
|
+
hours: {
|
|
2687
|
+
end: string;
|
|
2688
|
+
start: string;
|
|
2689
|
+
}[];
|
|
2690
|
+
enable: boolean;
|
|
2691
|
+
};
|
|
2692
|
+
6: {
|
|
2693
|
+
hours: {
|
|
2694
|
+
end: string;
|
|
2695
|
+
start: string;
|
|
2696
|
+
}[];
|
|
2697
|
+
enable: boolean;
|
|
2698
|
+
};
|
|
2699
|
+
} | null | undefined;
|
|
2700
|
+
tags?: string[] | null | undefined;
|
|
2701
|
+
url?: string | null | undefined;
|
|
2702
|
+
};
|
|
2703
|
+
};
|
|
2704
|
+
}[] | null | undefined;
|
|
2705
|
+
updatedBy?: {
|
|
2706
|
+
name: string;
|
|
2707
|
+
id: string;
|
|
2708
|
+
} | null | undefined;
|
|
2709
|
+
_id: string;
|
|
2710
|
+
name: string;
|
|
2711
|
+
}[];
|
|
2712
|
+
updatedBy: {
|
|
2713
|
+
name: string;
|
|
2714
|
+
id: string;
|
|
2715
|
+
};
|
|
2716
|
+
} & RevisionIdMeta>[];
|
|
2717
|
+
drafts: import("vue").Ref<{
|
|
2718
|
+
remark?: string | null | undefined;
|
|
2719
|
+
_rev: string;
|
|
2720
|
+
effectiveAt?: string | null | undefined;
|
|
2721
|
+
approvedAt?: string | null | undefined;
|
|
2722
|
+
approvedBy?: {
|
|
2723
|
+
name: string;
|
|
2724
|
+
id: string;
|
|
2725
|
+
} | null | undefined;
|
|
2726
|
+
approveRemark?: string | null | undefined;
|
|
2727
|
+
rejectionHistory?: {
|
|
2728
|
+
rejectedAt: string;
|
|
2729
|
+
rejectedBy: {
|
|
2730
|
+
name: string;
|
|
2731
|
+
id: string;
|
|
2732
|
+
};
|
|
2733
|
+
rejectRemark: string;
|
|
2734
|
+
}[] | null | undefined;
|
|
2735
|
+
closingAdjustmentId?: string | null | undefined;
|
|
2736
|
+
closingId?: string | null | undefined;
|
|
2737
|
+
negativeStockItems?: {
|
|
2738
|
+
remark?: string | null | undefined;
|
|
2739
|
+
sku: {
|
|
2740
|
+
trackingMeasurement?: string | null | undefined;
|
|
2741
|
+
convert?: {
|
|
2742
|
+
measurement?: string | null | undefined;
|
|
2743
|
+
inventoryBindings?: {
|
|
2744
|
+
measurement?: {
|
|
2745
|
+
id: string;
|
|
2746
|
+
name: string;
|
|
2747
|
+
abbrev: string;
|
|
2748
|
+
conversion: {
|
|
2749
|
+
amount: number;
|
|
2750
|
+
precision: number;
|
|
2751
|
+
};
|
|
2752
|
+
} | null | undefined;
|
|
2753
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2754
|
+
amount: {
|
|
2755
|
+
amount: number;
|
|
2756
|
+
precision: number;
|
|
2757
|
+
};
|
|
2758
|
+
id: string;
|
|
2759
|
+
}[] | null | undefined;
|
|
2760
|
+
} | null | undefined;
|
|
2761
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2762
|
+
defaultCost?: {
|
|
2763
|
+
measurement?: {
|
|
2764
|
+
id: string;
|
|
2765
|
+
name: string;
|
|
2766
|
+
abbrev: string;
|
|
2767
|
+
conversion: {
|
|
2768
|
+
amount: number;
|
|
2769
|
+
precision: number;
|
|
2770
|
+
};
|
|
2771
|
+
} | null | undefined;
|
|
2772
|
+
costPerUnit: {
|
|
2773
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2774
|
+
amount: number;
|
|
2775
|
+
precision: number;
|
|
2776
|
+
};
|
|
2777
|
+
} | null | undefined;
|
|
2778
|
+
thresholds?: {
|
|
2779
|
+
low: number;
|
|
2780
|
+
mid: number;
|
|
2781
|
+
} | null | undefined;
|
|
2782
|
+
operationalGroup?: string | null | undefined;
|
|
2783
|
+
unit: {
|
|
2784
|
+
_id: string;
|
|
2785
|
+
name: string;
|
|
2786
|
+
abbrev: string;
|
|
2787
|
+
precision: number;
|
|
2788
|
+
measurements: {
|
|
2789
|
+
id: string;
|
|
2790
|
+
name: string;
|
|
2791
|
+
abbrev: string;
|
|
2792
|
+
conversion: {
|
|
2793
|
+
amount: number;
|
|
2794
|
+
precision: number;
|
|
2795
|
+
};
|
|
2796
|
+
}[];
|
|
2797
|
+
};
|
|
2798
|
+
code: string;
|
|
2799
|
+
_id: string;
|
|
2800
|
+
name: string;
|
|
2801
|
+
};
|
|
2802
|
+
baseAmount: {
|
|
2803
|
+
amount: number;
|
|
2804
|
+
precision: number;
|
|
2805
|
+
};
|
|
2806
|
+
measurementsAmounts: {
|
|
2807
|
+
amount: {
|
|
2808
|
+
amount: number;
|
|
2809
|
+
precision: number;
|
|
2810
|
+
};
|
|
2811
|
+
measurement: {
|
|
2812
|
+
id: string;
|
|
2813
|
+
name: string;
|
|
2814
|
+
abbrev: string;
|
|
2815
|
+
conversion: {
|
|
2816
|
+
amount: number;
|
|
2817
|
+
precision: number;
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
}[];
|
|
2821
|
+
}[] | null | undefined;
|
|
1756
2822
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
1757
2823
|
_id: string;
|
|
1758
2824
|
items: {
|
|
@@ -1846,10 +2912,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1846
2912
|
};
|
|
1847
2913
|
createdAt: string;
|
|
1848
2914
|
updatedAt: string;
|
|
1849
|
-
updatedBy: {
|
|
1850
|
-
name: string;
|
|
1851
|
-
id: string;
|
|
1852
|
-
};
|
|
1853
2915
|
usingTemplates: {
|
|
1854
2916
|
ref?: string | null | undefined;
|
|
1855
2917
|
_rev?: string | null | undefined;
|
|
@@ -1948,10 +3010,13 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1948
3010
|
_id: string;
|
|
1949
3011
|
name: string;
|
|
1950
3012
|
}[];
|
|
1951
|
-
|
|
1952
|
-
|
|
3013
|
+
updatedBy: {
|
|
3014
|
+
name: string;
|
|
3015
|
+
id: string;
|
|
3016
|
+
};
|
|
3017
|
+
}[], ({
|
|
1953
3018
|
remark?: string | null | undefined;
|
|
1954
|
-
_rev
|
|
3019
|
+
_rev?: string | null | undefined;
|
|
1955
3020
|
effectiveAt?: string | null | undefined;
|
|
1956
3021
|
approvedAt?: string | null | undefined;
|
|
1957
3022
|
approvedBy?: {
|
|
@@ -1969,9 +3034,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
1969
3034
|
}[] | null | undefined;
|
|
1970
3035
|
closingAdjustmentId?: string | null | undefined;
|
|
1971
3036
|
closingId?: string | null | undefined;
|
|
1972
|
-
|
|
1973
|
-
_id: string;
|
|
1974
|
-
items: {
|
|
3037
|
+
negativeStockItems?: {
|
|
1975
3038
|
remark?: string | null | undefined;
|
|
1976
3039
|
sku: {
|
|
1977
3040
|
trackingMeasurement?: string | null | undefined;
|
|
@@ -2055,135 +3118,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2055
3118
|
};
|
|
2056
3119
|
};
|
|
2057
3120
|
}[];
|
|
2058
|
-
}[];
|
|
2059
|
-
createdBy: {
|
|
2060
|
-
name: string;
|
|
2061
|
-
id: string;
|
|
2062
|
-
};
|
|
2063
|
-
createdAt: string;
|
|
2064
|
-
updatedAt: string;
|
|
2065
|
-
updatedBy: {
|
|
2066
|
-
name: string;
|
|
2067
|
-
id: string;
|
|
2068
|
-
};
|
|
2069
|
-
usingTemplates: {
|
|
2070
|
-
ref?: string | null | undefined;
|
|
2071
|
-
_rev?: string | null | undefined;
|
|
2072
|
-
updatedAt?: Date | null | undefined;
|
|
2073
|
-
locations?: {
|
|
2074
|
-
type: "restaurant" | "warehouse";
|
|
2075
|
-
name: string;
|
|
2076
|
-
acceptRequest: boolean;
|
|
2077
|
-
dbName: string;
|
|
2078
|
-
doc: {
|
|
2079
|
-
_id: string;
|
|
2080
|
-
businessId: string;
|
|
2081
|
-
profile: {
|
|
2082
|
-
code?: string | null | undefined;
|
|
2083
|
-
_id?: string | null | undefined;
|
|
2084
|
-
name?: string | undefined;
|
|
2085
|
-
address?: {
|
|
2086
|
-
coordinates?: number[] | null | undefined;
|
|
2087
|
-
line2?: string | null | undefined;
|
|
2088
|
-
state: string;
|
|
2089
|
-
country: string;
|
|
2090
|
-
line1: string;
|
|
2091
|
-
city: string;
|
|
2092
|
-
postcode: string;
|
|
2093
|
-
} | undefined;
|
|
2094
|
-
email?: string | undefined;
|
|
2095
|
-
regNo?: string | undefined;
|
|
2096
|
-
sstRegNo?: string | null | undefined;
|
|
2097
|
-
phoneNo?: string | undefined;
|
|
2098
|
-
legalName?: string | null | undefined;
|
|
2099
|
-
discovery?: boolean | null | undefined;
|
|
2100
|
-
coverPhoto?: string | null | undefined;
|
|
2101
|
-
thumbnailPhoto?: string | null | undefined;
|
|
2102
|
-
description?: string | null | undefined;
|
|
2103
|
-
photos?: string[] | null | undefined;
|
|
2104
|
-
operatingHours?: {
|
|
2105
|
-
0: {
|
|
2106
|
-
hours: {
|
|
2107
|
-
end: string;
|
|
2108
|
-
start: string;
|
|
2109
|
-
}[];
|
|
2110
|
-
enable: boolean;
|
|
2111
|
-
};
|
|
2112
|
-
2: {
|
|
2113
|
-
hours: {
|
|
2114
|
-
end: string;
|
|
2115
|
-
start: string;
|
|
2116
|
-
}[];
|
|
2117
|
-
enable: boolean;
|
|
2118
|
-
};
|
|
2119
|
-
1: {
|
|
2120
|
-
hours: {
|
|
2121
|
-
end: string;
|
|
2122
|
-
start: string;
|
|
2123
|
-
}[];
|
|
2124
|
-
enable: boolean;
|
|
2125
|
-
};
|
|
2126
|
-
3: {
|
|
2127
|
-
hours: {
|
|
2128
|
-
end: string;
|
|
2129
|
-
start: string;
|
|
2130
|
-
}[];
|
|
2131
|
-
enable: boolean;
|
|
2132
|
-
};
|
|
2133
|
-
4: {
|
|
2134
|
-
hours: {
|
|
2135
|
-
end: string;
|
|
2136
|
-
start: string;
|
|
2137
|
-
}[];
|
|
2138
|
-
enable: boolean;
|
|
2139
|
-
};
|
|
2140
|
-
5: {
|
|
2141
|
-
hours: {
|
|
2142
|
-
end: string;
|
|
2143
|
-
start: string;
|
|
2144
|
-
}[];
|
|
2145
|
-
enable: boolean;
|
|
2146
|
-
};
|
|
2147
|
-
6: {
|
|
2148
|
-
hours: {
|
|
2149
|
-
end: string;
|
|
2150
|
-
start: string;
|
|
2151
|
-
}[];
|
|
2152
|
-
enable: boolean;
|
|
2153
|
-
};
|
|
2154
|
-
} | null | undefined;
|
|
2155
|
-
tags?: string[] | null | undefined;
|
|
2156
|
-
url?: string | null | undefined;
|
|
2157
|
-
};
|
|
2158
|
-
};
|
|
2159
|
-
}[] | null | undefined;
|
|
2160
|
-
updatedBy?: {
|
|
2161
|
-
name: string;
|
|
2162
|
-
id: string;
|
|
2163
|
-
} | null | undefined;
|
|
2164
|
-
_id: string;
|
|
2165
|
-
name: string;
|
|
2166
|
-
}[];
|
|
2167
|
-
}[], ({
|
|
2168
|
-
remark?: string | null | undefined;
|
|
2169
|
-
_rev?: string | null | undefined;
|
|
2170
|
-
effectiveAt?: string | null | undefined;
|
|
2171
|
-
approvedAt?: string | null | undefined;
|
|
2172
|
-
approvedBy?: {
|
|
2173
|
-
name: string;
|
|
2174
|
-
id: string;
|
|
2175
|
-
} | null | undefined;
|
|
2176
|
-
approveRemark?: string | null | undefined;
|
|
2177
|
-
rejectionHistory?: {
|
|
2178
|
-
rejectedAt: string;
|
|
2179
|
-
rejectedBy: {
|
|
2180
|
-
name: string;
|
|
2181
|
-
id: string;
|
|
2182
|
-
};
|
|
2183
|
-
rejectRemark: string;
|
|
2184
3121
|
}[] | null | undefined;
|
|
2185
|
-
closingAdjustmentId?: string | null | undefined;
|
|
2186
|
-
closingId?: string | null | undefined;
|
|
2187
3122
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2188
3123
|
_id: string;
|
|
2189
3124
|
items: {
|
|
@@ -2277,10 +3212,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2277
3212
|
};
|
|
2278
3213
|
createdAt: string;
|
|
2279
3214
|
updatedAt: string;
|
|
2280
|
-
updatedBy: {
|
|
2281
|
-
name: string;
|
|
2282
|
-
id: string;
|
|
2283
|
-
};
|
|
2284
3215
|
usingTemplates: {
|
|
2285
3216
|
ref?: string | null | undefined;
|
|
2286
3217
|
_rev?: string | null | undefined;
|
|
@@ -2379,6 +3310,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2379
3310
|
_id: string;
|
|
2380
3311
|
name: string;
|
|
2381
3312
|
}[];
|
|
3313
|
+
updatedBy: {
|
|
3314
|
+
name: string;
|
|
3315
|
+
id: string;
|
|
3316
|
+
};
|
|
2382
3317
|
} & RevisionIdMeta)[] | {
|
|
2383
3318
|
remark?: string | null | undefined;
|
|
2384
3319
|
_rev: string;
|
|
@@ -2399,6 +3334,91 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2399
3334
|
}[] | null | undefined;
|
|
2400
3335
|
closingAdjustmentId?: string | null | undefined;
|
|
2401
3336
|
closingId?: string | null | undefined;
|
|
3337
|
+
negativeStockItems?: {
|
|
3338
|
+
remark?: string | null | undefined;
|
|
3339
|
+
sku: {
|
|
3340
|
+
trackingMeasurement?: string | null | undefined;
|
|
3341
|
+
convert?: {
|
|
3342
|
+
measurement?: string | null | undefined;
|
|
3343
|
+
inventoryBindings?: {
|
|
3344
|
+
measurement?: {
|
|
3345
|
+
id: string;
|
|
3346
|
+
name: string;
|
|
3347
|
+
abbrev: string;
|
|
3348
|
+
conversion: {
|
|
3349
|
+
amount: number;
|
|
3350
|
+
precision: number;
|
|
3351
|
+
};
|
|
3352
|
+
} | null | undefined;
|
|
3353
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3354
|
+
amount: {
|
|
3355
|
+
amount: number;
|
|
3356
|
+
precision: number;
|
|
3357
|
+
};
|
|
3358
|
+
id: string;
|
|
3359
|
+
}[] | null | undefined;
|
|
3360
|
+
} | null | undefined;
|
|
3361
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3362
|
+
defaultCost?: {
|
|
3363
|
+
measurement?: {
|
|
3364
|
+
id: string;
|
|
3365
|
+
name: string;
|
|
3366
|
+
abbrev: string;
|
|
3367
|
+
conversion: {
|
|
3368
|
+
amount: number;
|
|
3369
|
+
precision: number;
|
|
3370
|
+
};
|
|
3371
|
+
} | null | undefined;
|
|
3372
|
+
costPerUnit: {
|
|
3373
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
3374
|
+
amount: number;
|
|
3375
|
+
precision: number;
|
|
3376
|
+
};
|
|
3377
|
+
} | null | undefined;
|
|
3378
|
+
thresholds?: {
|
|
3379
|
+
low: number;
|
|
3380
|
+
mid: number;
|
|
3381
|
+
} | null | undefined;
|
|
3382
|
+
operationalGroup?: string | null | undefined;
|
|
3383
|
+
unit: {
|
|
3384
|
+
_id: string;
|
|
3385
|
+
name: string;
|
|
3386
|
+
abbrev: string;
|
|
3387
|
+
precision: number;
|
|
3388
|
+
measurements: {
|
|
3389
|
+
id: string;
|
|
3390
|
+
name: string;
|
|
3391
|
+
abbrev: string;
|
|
3392
|
+
conversion: {
|
|
3393
|
+
amount: number;
|
|
3394
|
+
precision: number;
|
|
3395
|
+
};
|
|
3396
|
+
}[];
|
|
3397
|
+
};
|
|
3398
|
+
code: string;
|
|
3399
|
+
_id: string;
|
|
3400
|
+
name: string;
|
|
3401
|
+
};
|
|
3402
|
+
baseAmount: {
|
|
3403
|
+
amount: number;
|
|
3404
|
+
precision: number;
|
|
3405
|
+
};
|
|
3406
|
+
measurementsAmounts: {
|
|
3407
|
+
amount: {
|
|
3408
|
+
amount: number;
|
|
3409
|
+
precision: number;
|
|
3410
|
+
};
|
|
3411
|
+
measurement: {
|
|
3412
|
+
id: string;
|
|
3413
|
+
name: string;
|
|
3414
|
+
abbrev: string;
|
|
3415
|
+
conversion: {
|
|
3416
|
+
amount: number;
|
|
3417
|
+
precision: number;
|
|
3418
|
+
};
|
|
3419
|
+
};
|
|
3420
|
+
}[];
|
|
3421
|
+
}[] | null | undefined;
|
|
2402
3422
|
status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
|
|
2403
3423
|
_id: string;
|
|
2404
3424
|
items: {
|
|
@@ -2492,10 +3512,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2492
3512
|
};
|
|
2493
3513
|
createdAt: string;
|
|
2494
3514
|
updatedAt: string;
|
|
2495
|
-
updatedBy: {
|
|
2496
|
-
name: string;
|
|
2497
|
-
id: string;
|
|
2498
|
-
};
|
|
2499
3515
|
usingTemplates: {
|
|
2500
3516
|
ref?: string | null | undefined;
|
|
2501
3517
|
_rev?: string | null | undefined;
|
|
@@ -2594,6 +3610,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
|
|
|
2594
3610
|
_id: string;
|
|
2595
3611
|
name: string;
|
|
2596
3612
|
}[];
|
|
3613
|
+
updatedBy: {
|
|
3614
|
+
name: string;
|
|
3615
|
+
id: string;
|
|
3616
|
+
};
|
|
2597
3617
|
}[]>;
|
|
2598
3618
|
loading: import("vue").Ref<boolean, boolean>;
|
|
2599
3619
|
fetchDrafts: () => Promise<void>;
|