@feedmepos/mf-inventory-portal 1.4.1-dev.1 → 1.4.2
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-ChJEzu4r.js → App-D8p5pMar.js} +5 -5
- package/dist/{ApprovalView-DE7cizNA.js → ApprovalView-B6WmrP3R.js} +7 -7
- package/dist/{BindingsDialog-BsMtvOJG.js → BindingsDialog-DAG2toHR.js} +2 -2
- package/dist/{BindingsPicker-Cqm2FCk4.js → BindingsPicker-CPbNuwFq.js} +2 -2
- package/dist/{BindingsTable-DnmlqSXV.js → BindingsTable-Hkkel0vq.js} +3 -3
- package/dist/{ClosingDraftView-DCo7R5X_.js → ClosingDraftView-JCtS2MZa.js} +15 -15
- package/dist/{ClosingHistoryView-B8pvoz_L.js → ClosingHistoryView-D7GacAqj.js} +5 -5
- package/dist/{ClosingTemplateView-BhWMZskM.js → ClosingTemplateView-DqpbjHK2.js} +14 -14
- package/dist/{DefaultView-7L4zg3pD.js → DefaultView-BSm6fE5w.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BJUAI20p.js → DeliveryOrderPrintPreview-DFj56iJk.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZz44xPT.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CaVUl6v3.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D2xaJ_fT.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-FunJ5ZX5.js} +2 -2
- package/dist/{FmMultiselectDialog-CSlbhVxn.js → FmMultiselectDialog-BE2Tqm4H.js} +1 -1
- package/dist/{FmMultiselectDialog-CPt0eMqz.js → FmMultiselectDialog-DpekFj8a.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DeFbqEt_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bt_kCIFn.js} +4 -4
- package/dist/{ImportView-DDq7-EqO.js → ImportView-CAcUO9Pv.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-TLC_uZ1L.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-0Abq7FDN.js} +1 -1
- package/dist/{IngredientGroupView-BOPm59h1.js → IngredientGroupView-CeUfykez.js} +5 -5
- package/dist/{IngredientsView-Drxqdl5C.js → IngredientsView-Cdhgw3Tw.js} +15 -15
- package/dist/{IntegrationExplorerView-ClolIlZJ.js → IntegrationExplorerView-BioiObpU.js} +5 -5
- package/dist/{IntegrationView-BhsxOMny.js → IntegrationView-BHjOvMpX.js} +13 -13
- package/dist/{InventoryBindingForm-DSmmb2Re.js → InventoryBindingForm-D892WEqV.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bs1WRSC4.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BMfmKcz8.js} +5 -5
- package/dist/{InventoryBindingSummary-DwmmGqLA.js → InventoryBindingSummary-DOGWF0fo.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cBTXwRyT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B-dhMJ0F.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-WgbXX2to.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CKuIWTXZ.js} +1 -1
- package/dist/{PublishView-CjIwzQ1D.js → PublishView-Dh6OiaG1.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D14UaMbm.js → PurchaseOrderPrintPreview-Cpme08gm.js} +2 -2
- package/dist/{ReceiveRequestView-C5s6H1ly.js → ReceiveRequestView-Dldwu3-H.js} +25 -25
- package/dist/{RecipeView-BWlgNjqM.js → RecipeView-gkZuFdCP.js} +17 -17
- package/dist/{SettingsView-BiaJS0Qs.js → SettingsView-wOy_OATI.js} +4 -4
- package/dist/{StockView-DzdW3saV.js → StockView-DeLcyQrC.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CziwNGpm.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C2Jax3tb.js} +1 -1
- package/dist/{SupplierView-CEH1mh4O.js → SupplierView-Bf2AW8JH.js} +12 -12
- package/dist/{SurchargeView-DLL1vb1m.js → SurchargeView-CJtg87ol.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyzJFEM1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bfzqxalj.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-riu5GB0x.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CEz3Yc2Z.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CdPx9jtv.js → TransferDetails.vue_vue_type_script_setup_true_lang-CcpH12aM.js} +20 -20
- package/dist/{TransferTemplateView-B1hOOEld.js → TransferTemplateView-DpWFExzQ.js} +18 -18
- package/dist/{UnitCostHistoryView-CfVLgSsg.js → UnitCostHistoryView-PEexDaAO.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D_5MeWML.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-i8HZEphD.js} +4 -4
- package/dist/{UnitView-CNEW1ZyC.js → UnitView-BPyyMHKE.js} +7 -7
- package/dist/{WarehouseView-BAEddBqH.js → WarehouseView-BmCech19.js} +5 -5
- package/dist/{WastageTemplateView-BDDcGlH1.js → WastageTemplateView-DJOBAWKd.js} +14 -14
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +92 -92
- package/dist/api/netsuite.d.ts +67 -67
- package/dist/api/surcharge.d.ts +2 -2
- package/dist/{app-8jckOqPv.js → app-D4P-koOR.js} +31824 -31795
- package/dist/app.d.ts +24 -24
- package/dist/app.js +1 -1
- package/dist/{closing-template-DI_wHTs-.js → closing-template-CCvXzoLm.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +20 -20
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +6 -6
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +11 -11
- package/dist/{date2-R--GWp3h.js → date2-XHYHbI0K.js} +1 -1
- package/dist/{dayjs.min-BLMwzZoP.js → dayjs.min-pkE_kmHZ.js} +1 -1
- package/dist/{decimal-C1gVMYNr.js → decimal-CQ7SlCe0.js} +2 -2
- package/dist/{defineDeepModel-v4CSJ0KR.js → defineDeepModel-CZDkmNol.js} +1 -1
- package/dist/{duplicate-template-B2FyWucr.js → duplicate-template-BQ0bF_MO.js} +1 -1
- package/dist/export-CDIp6ydU.js +26 -0
- package/dist/{feature-D5wDntDA.js → feature-C4zPjstX.js} +2 -2
- package/dist/{format-time-from-id-iIaeuVUR.js → format-time-from-id-D_USijTz.js} +1 -1
- package/dist/{format-unit-display-DoXOol_B.js → format-unit-display-CF6-yU7v.js} +11 -11
- package/dist/helper/xlsx.util.d.ts +9 -0
- package/dist/{import-export.helper-CRZm_4kx.js → import-export.helper-iVXMr9yw.js} +6 -6
- package/dist/{index-DvydJuBP.js → index-BIG8c4oA.js} +3 -3
- package/dist/{index-Dctf0kPG.js → index-CTNLpvtM.js} +1 -1
- package/dist/{index-BlCcDs_t.js → index-EoaZ_eFV.js} +1 -1
- package/dist/{inventory-core-dart.default-BGNoRNOu.js → inventory-core-dart.default-D6cCA8tk.js} +1 -1
- package/dist/{lodash-BGLr9-Z4.js → lodash-DR7t9CsC.js} +1 -1
- package/dist/{lz-string-BXxSHhql.js → lz-string-DgqLqrsO.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +3 -3
- package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +6 -6
- package/dist/modules/print-template/store/print-template.d.ts +36 -36
- package/dist/{netsuite-QrjgLCzF.js → netsuite-ByBZj6uf.js} +55 -44
- package/dist/{number-BW3CMNw8.js → number-f4J4YlZT.js} +3 -3
- package/dist/{predefined-templates-BAl0dgvF.js → predefined-templates-BlmLhRsh.js} +1 -1
- package/dist/{purchase-order-template-BXiI76-R.js → purchase-order-template-BS94QDpg.js} +1 -1
- package/dist/{recalculationUtils-DryzcsyX.js → recalculationUtils-D0wl-tgM.js} +1 -1
- package/dist/{rules-uhOTzvDT.js → rules-Cpi5Vduo.js} +2 -2
- package/dist/{stock-DIzLmqOG.js → stock-BynB5KIH.js} +1 -1
- package/dist/{stock-CFigyCpv.js → stock-GYUDrBUF.js} +3 -3
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +22 -22
- package/dist/stores/inventory.d.ts +91 -91
- package/dist/stores/location.d.ts +28 -28
- package/dist/stores/stock.d.ts +3 -3
- package/dist/stores/supplier.d.ts +120 -120
- package/dist/stores/surcharge.d.ts +1 -1
- package/dist/stores/warehouse.d.ts +5 -5
- package/dist/{supplier-DnHSGzUP.js → supplier-BDpzWHvm.js} +2 -2
- package/dist/{surcharge-NTU0Whsq.js → surcharge-ztZ3mUE2.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BTeCOYD1.js → use-ingredient-select-dialog-xx_W7OyU.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C5dSHkMZ.js → use-inventory-binding-dialog-B_OV8CCL.js} +2 -2
- package/dist/{use-template-enabled-locations-Ba9BFrFN.js → use-template-enabled-locations-ByOi4t2R.js} +2 -2
- package/dist/{use-transfer-locations-D__VLxA7.js → use-transfer-locations-BOR-wq8s.js} +2 -2
- package/dist/{useHrmPermission-DMlbCSlp.js → useHrmPermission-BtXw89bp.js} +1 -1
- package/dist/{useNavigationMenu-jtnBmp0t.js → useNavigationMenu-Ds6IBfYX.js} +2 -2
- package/dist/{useSseClient-D8q23tYV.js → useSseClient-q5d7Qjrq.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -60
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/table.d.ts +66 -66
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +156 -156
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +55 -55
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +234 -234
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -8
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +132 -132
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +132 -132
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +2 -2
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +1 -1
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +9 -9
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +6 -6
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -32
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +4 -4
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +1 -1
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -8
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +32 -32
- package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +12 -12
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +60 -60
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +4 -4
- package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +152 -152
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +32 -32
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +64 -64
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +16 -16
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +221 -221
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1503 -1503
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1758 -1758
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +6 -6
- package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +90 -90
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +26 -26
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
- package/dist/views/supplier/composables/use-supplier-table.d.ts +5 -5
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +122 -122
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +18 -18
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +32 -32
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -16
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +16 -16
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +757 -757
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +755 -755
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
- package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +3 -3
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -10
- package/dist/{vue-i18n-8-OMxHzQ.js → vue-i18n-C35dl24s.js} +302 -302
- package/dist/{xlsx-BFjtlsJV.js → xlsx-CzLrFB_A.js} +1 -1
- package/dist/xlsx.util-osyDkxYO.js +101 -0
- package/package.json +5 -5
- package/dist/export-rvaYes9_.js +0 -25
- package/dist/xlsx.util-0LMGvDYM.js +0 -78
package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
show: boolean;
|
|
3
3
|
draft?: {
|
|
4
|
-
remark?: string | null | undefined;
|
|
5
|
-
_rev?: string | null | undefined;
|
|
6
4
|
stockSnapshot?: {
|
|
7
5
|
closing?: {
|
|
8
6
|
costBalances?: {
|
|
@@ -17,12 +15,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17
15
|
precision: number;
|
|
18
16
|
};
|
|
19
17
|
}[] | null | undefined;
|
|
18
|
+
id: string;
|
|
19
|
+
createdAt: string;
|
|
20
20
|
balance: {
|
|
21
21
|
amount: number;
|
|
22
22
|
precision: number;
|
|
23
23
|
};
|
|
24
|
-
id: string;
|
|
25
|
-
createdAt: string;
|
|
26
24
|
} | null | undefined;
|
|
27
25
|
weightedAverage?: {
|
|
28
26
|
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";
|
|
@@ -41,12 +39,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
39
|
precision: number;
|
|
42
40
|
};
|
|
43
41
|
}[] | null | undefined;
|
|
42
|
+
id: string;
|
|
44
43
|
balance: {
|
|
45
44
|
amount: number;
|
|
46
45
|
precision: number;
|
|
47
46
|
};
|
|
48
|
-
id: string;
|
|
49
47
|
}[] | null | undefined;
|
|
48
|
+
_rev?: string | null | undefined;
|
|
49
|
+
remark?: string | null | undefined;
|
|
50
50
|
effectiveAt?: string | null | undefined;
|
|
51
51
|
adjustmentSnapshot?: {
|
|
52
52
|
skuId: string;
|
|
@@ -56,11 +56,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
56
56
|
}>>;
|
|
57
57
|
}[] | null | undefined;
|
|
58
58
|
opening?: {
|
|
59
|
+
skuId: string;
|
|
59
60
|
balance: {
|
|
60
61
|
amount: number;
|
|
61
62
|
precision: number;
|
|
62
63
|
};
|
|
63
|
-
skuId: string;
|
|
64
64
|
}[] | null | undefined;
|
|
65
65
|
approvedAt?: string | null | undefined;
|
|
66
66
|
approvedBy?: {
|
|
@@ -87,8 +87,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
87
87
|
measurement?: string | null | undefined;
|
|
88
88
|
inventoryBindings?: {
|
|
89
89
|
measurement?: {
|
|
90
|
-
id: string;
|
|
91
90
|
name: string;
|
|
91
|
+
id: string;
|
|
92
92
|
abbrev: string;
|
|
93
93
|
conversion: {
|
|
94
94
|
amount: number;
|
|
@@ -97,24 +97,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
97
97
|
} | null | undefined;
|
|
98
98
|
rules?: Record<string, any> | null | undefined;
|
|
99
99
|
alternatives?: {
|
|
100
|
-
priority?: number | null | undefined;
|
|
101
100
|
default?: boolean | null | undefined;
|
|
102
101
|
trackingMeasurement?: string | null | undefined;
|
|
102
|
+
priority?: number | null | undefined;
|
|
103
103
|
_id: string;
|
|
104
104
|
}[] | null | undefined;
|
|
105
|
-
id: string;
|
|
106
105
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
107
106
|
amount: {
|
|
108
107
|
amount: number;
|
|
109
108
|
precision: number;
|
|
110
109
|
};
|
|
110
|
+
id: string;
|
|
111
111
|
}[] | null | undefined;
|
|
112
112
|
} | null | undefined;
|
|
113
113
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
114
114
|
defaultCost?: {
|
|
115
115
|
measurement?: {
|
|
116
|
-
id: string;
|
|
117
116
|
name: string;
|
|
117
|
+
id: string;
|
|
118
118
|
abbrev: string;
|
|
119
119
|
conversion: {
|
|
120
120
|
amount: number;
|
|
@@ -133,17 +133,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
133
133
|
mid: number;
|
|
134
134
|
} | null | undefined;
|
|
135
135
|
customAttributes?: Record<string, any> | null | undefined;
|
|
136
|
-
_id: string;
|
|
137
|
-
name: string;
|
|
138
|
-
code: string;
|
|
139
136
|
unit: {
|
|
140
137
|
_id: string;
|
|
141
138
|
name: string;
|
|
142
139
|
abbrev: string;
|
|
143
140
|
precision: number;
|
|
144
141
|
measurements: {
|
|
145
|
-
id: string;
|
|
146
142
|
name: string;
|
|
143
|
+
id: string;
|
|
147
144
|
abbrev: string;
|
|
148
145
|
conversion: {
|
|
149
146
|
amount: number;
|
|
@@ -151,25 +148,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
148
|
};
|
|
152
149
|
}[];
|
|
153
150
|
};
|
|
151
|
+
code: string;
|
|
152
|
+
_id: string;
|
|
153
|
+
name: string;
|
|
154
154
|
};
|
|
155
155
|
baseAmount: {
|
|
156
156
|
amount: number;
|
|
157
157
|
precision: number;
|
|
158
158
|
};
|
|
159
159
|
measurementsAmounts: {
|
|
160
|
-
amount: {
|
|
161
|
-
amount: number;
|
|
162
|
-
precision: number;
|
|
163
|
-
};
|
|
164
160
|
measurement: {
|
|
165
|
-
id: string;
|
|
166
161
|
name: string;
|
|
162
|
+
id: string;
|
|
167
163
|
abbrev: string;
|
|
168
164
|
conversion: {
|
|
169
165
|
amount: number;
|
|
170
166
|
precision: number;
|
|
171
167
|
};
|
|
172
168
|
};
|
|
169
|
+
amount: {
|
|
170
|
+
amount: number;
|
|
171
|
+
precision: number;
|
|
172
|
+
};
|
|
173
173
|
}[];
|
|
174
174
|
}[] | null | undefined;
|
|
175
175
|
activityLogs?: {
|
|
@@ -181,8 +181,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
181
181
|
id: string;
|
|
182
182
|
};
|
|
183
183
|
}[] | null | undefined;
|
|
184
|
-
_id: string;
|
|
185
184
|
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
185
|
+
_id: string;
|
|
186
|
+
updatedAt: string;
|
|
187
|
+
createdAt: string;
|
|
186
188
|
items: {
|
|
187
189
|
remark?: string | null | undefined;
|
|
188
190
|
sku: {
|
|
@@ -192,8 +194,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
192
194
|
measurement?: string | null | undefined;
|
|
193
195
|
inventoryBindings?: {
|
|
194
196
|
measurement?: {
|
|
195
|
-
id: string;
|
|
196
197
|
name: string;
|
|
198
|
+
id: string;
|
|
197
199
|
abbrev: string;
|
|
198
200
|
conversion: {
|
|
199
201
|
amount: number;
|
|
@@ -202,24 +204,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
202
204
|
} | null | undefined;
|
|
203
205
|
rules?: Record<string, any> | null | undefined;
|
|
204
206
|
alternatives?: {
|
|
205
|
-
priority?: number | null | undefined;
|
|
206
207
|
default?: boolean | null | undefined;
|
|
207
208
|
trackingMeasurement?: string | null | undefined;
|
|
209
|
+
priority?: number | null | undefined;
|
|
208
210
|
_id: string;
|
|
209
211
|
}[] | null | undefined;
|
|
210
|
-
id: string;
|
|
211
212
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
212
213
|
amount: {
|
|
213
214
|
amount: number;
|
|
214
215
|
precision: number;
|
|
215
216
|
};
|
|
217
|
+
id: string;
|
|
216
218
|
}[] | null | undefined;
|
|
217
219
|
} | null | undefined;
|
|
218
220
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
219
221
|
defaultCost?: {
|
|
220
222
|
measurement?: {
|
|
221
|
-
id: string;
|
|
222
223
|
name: string;
|
|
224
|
+
id: string;
|
|
223
225
|
abbrev: string;
|
|
224
226
|
conversion: {
|
|
225
227
|
amount: number;
|
|
@@ -238,17 +240,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
238
240
|
mid: number;
|
|
239
241
|
} | null | undefined;
|
|
240
242
|
customAttributes?: Record<string, any> | null | undefined;
|
|
241
|
-
_id: string;
|
|
242
|
-
name: string;
|
|
243
|
-
code: string;
|
|
244
243
|
unit: {
|
|
245
244
|
_id: string;
|
|
246
245
|
name: string;
|
|
247
246
|
abbrev: string;
|
|
248
247
|
precision: number;
|
|
249
248
|
measurements: {
|
|
250
|
-
id: string;
|
|
251
249
|
name: string;
|
|
250
|
+
id: string;
|
|
252
251
|
abbrev: string;
|
|
253
252
|
conversion: {
|
|
254
253
|
amount: number;
|
|
@@ -256,48 +255,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
256
255
|
};
|
|
257
256
|
}[];
|
|
258
257
|
};
|
|
258
|
+
code: string;
|
|
259
|
+
_id: string;
|
|
260
|
+
name: string;
|
|
259
261
|
};
|
|
260
262
|
baseAmount: {
|
|
261
263
|
amount: number;
|
|
262
264
|
precision: number;
|
|
263
265
|
};
|
|
264
266
|
measurementsAmounts: {
|
|
265
|
-
amount: {
|
|
266
|
-
amount: number;
|
|
267
|
-
precision: number;
|
|
268
|
-
};
|
|
269
267
|
measurement: {
|
|
270
|
-
id: string;
|
|
271
268
|
name: string;
|
|
269
|
+
id: string;
|
|
272
270
|
abbrev: string;
|
|
273
271
|
conversion: {
|
|
274
272
|
amount: number;
|
|
275
273
|
precision: number;
|
|
276
274
|
};
|
|
277
275
|
};
|
|
276
|
+
amount: {
|
|
277
|
+
amount: number;
|
|
278
|
+
precision: number;
|
|
279
|
+
};
|
|
278
280
|
}[];
|
|
279
281
|
}[];
|
|
280
|
-
|
|
282
|
+
updatedBy: {
|
|
281
283
|
name: string;
|
|
282
284
|
id: string;
|
|
283
285
|
};
|
|
284
|
-
|
|
285
|
-
updatedAt: string;
|
|
286
|
-
updatedBy: {
|
|
286
|
+
createdBy: {
|
|
287
287
|
name: string;
|
|
288
288
|
id: string;
|
|
289
289
|
};
|
|
290
290
|
usingTemplates: {
|
|
291
|
-
ref?: string | null | undefined;
|
|
292
291
|
_rev?: string | null | undefined;
|
|
293
292
|
updatedAt?: string | null | undefined;
|
|
293
|
+
ref?: string | null | undefined;
|
|
294
294
|
locations?: {
|
|
295
295
|
inventory?: {
|
|
296
296
|
_id: string;
|
|
297
297
|
updatedAt: string;
|
|
298
298
|
} | null | undefined;
|
|
299
|
-
name: string;
|
|
300
299
|
type: "restaurant" | "warehouse";
|
|
300
|
+
name: string;
|
|
301
301
|
acceptRequest: boolean;
|
|
302
302
|
dbName: string;
|
|
303
303
|
doc: {
|
|
@@ -393,8 +393,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
393
393
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
394
394
|
submitted: () => void;
|
|
395
395
|
refresh: (closingDraft: {
|
|
396
|
-
remark?: string | null | undefined;
|
|
397
|
-
_rev?: string | null | undefined;
|
|
398
396
|
stockSnapshot?: {
|
|
399
397
|
closing?: {
|
|
400
398
|
costBalances?: {
|
|
@@ -409,12 +407,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
409
407
|
precision: number;
|
|
410
408
|
};
|
|
411
409
|
}[] | null | undefined;
|
|
410
|
+
id: string;
|
|
411
|
+
createdAt: string;
|
|
412
412
|
balance: {
|
|
413
413
|
amount: number;
|
|
414
414
|
precision: number;
|
|
415
415
|
};
|
|
416
|
-
id: string;
|
|
417
|
-
createdAt: string;
|
|
418
416
|
} | null | undefined;
|
|
419
417
|
weightedAverage?: {
|
|
420
418
|
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";
|
|
@@ -433,12 +431,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
433
431
|
precision: number;
|
|
434
432
|
};
|
|
435
433
|
}[] | null | undefined;
|
|
434
|
+
id: string;
|
|
436
435
|
balance: {
|
|
437
436
|
amount: number;
|
|
438
437
|
precision: number;
|
|
439
438
|
};
|
|
440
|
-
id: string;
|
|
441
439
|
}[] | null | undefined;
|
|
440
|
+
_rev?: string | null | undefined;
|
|
441
|
+
remark?: string | null | undefined;
|
|
442
442
|
effectiveAt?: string | null | undefined;
|
|
443
443
|
adjustmentSnapshot?: {
|
|
444
444
|
skuId: string;
|
|
@@ -448,11 +448,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
448
448
|
}>>;
|
|
449
449
|
}[] | null | undefined;
|
|
450
450
|
opening?: {
|
|
451
|
+
skuId: string;
|
|
451
452
|
balance: {
|
|
452
453
|
amount: number;
|
|
453
454
|
precision: number;
|
|
454
455
|
};
|
|
455
|
-
skuId: string;
|
|
456
456
|
}[] | null | undefined;
|
|
457
457
|
approvedAt?: string | null | undefined;
|
|
458
458
|
approvedBy?: {
|
|
@@ -479,8 +479,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
479
479
|
measurement?: string | null | undefined;
|
|
480
480
|
inventoryBindings?: {
|
|
481
481
|
measurement?: {
|
|
482
|
-
id: string;
|
|
483
482
|
name: string;
|
|
483
|
+
id: string;
|
|
484
484
|
abbrev: string;
|
|
485
485
|
conversion: {
|
|
486
486
|
amount: number;
|
|
@@ -489,24 +489,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
489
489
|
} | null | undefined;
|
|
490
490
|
rules?: Record<string, any> | null | undefined;
|
|
491
491
|
alternatives?: {
|
|
492
|
-
priority?: number | null | undefined;
|
|
493
492
|
default?: boolean | null | undefined;
|
|
494
493
|
trackingMeasurement?: string | null | undefined;
|
|
494
|
+
priority?: number | null | undefined;
|
|
495
495
|
_id: string;
|
|
496
496
|
}[] | null | undefined;
|
|
497
|
-
id: string;
|
|
498
497
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
499
498
|
amount: {
|
|
500
499
|
amount: number;
|
|
501
500
|
precision: number;
|
|
502
501
|
};
|
|
502
|
+
id: string;
|
|
503
503
|
}[] | null | undefined;
|
|
504
504
|
} | null | undefined;
|
|
505
505
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
506
506
|
defaultCost?: {
|
|
507
507
|
measurement?: {
|
|
508
|
-
id: string;
|
|
509
508
|
name: string;
|
|
509
|
+
id: string;
|
|
510
510
|
abbrev: string;
|
|
511
511
|
conversion: {
|
|
512
512
|
amount: number;
|
|
@@ -525,17 +525,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
525
525
|
mid: number;
|
|
526
526
|
} | null | undefined;
|
|
527
527
|
customAttributes?: Record<string, any> | null | undefined;
|
|
528
|
-
_id: string;
|
|
529
|
-
name: string;
|
|
530
|
-
code: string;
|
|
531
528
|
unit: {
|
|
532
529
|
_id: string;
|
|
533
530
|
name: string;
|
|
534
531
|
abbrev: string;
|
|
535
532
|
precision: number;
|
|
536
533
|
measurements: {
|
|
537
|
-
id: string;
|
|
538
534
|
name: string;
|
|
535
|
+
id: string;
|
|
539
536
|
abbrev: string;
|
|
540
537
|
conversion: {
|
|
541
538
|
amount: number;
|
|
@@ -543,25 +540,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
543
540
|
};
|
|
544
541
|
}[];
|
|
545
542
|
};
|
|
543
|
+
code: string;
|
|
544
|
+
_id: string;
|
|
545
|
+
name: string;
|
|
546
546
|
};
|
|
547
547
|
baseAmount: {
|
|
548
548
|
amount: number;
|
|
549
549
|
precision: number;
|
|
550
550
|
};
|
|
551
551
|
measurementsAmounts: {
|
|
552
|
-
amount: {
|
|
553
|
-
amount: number;
|
|
554
|
-
precision: number;
|
|
555
|
-
};
|
|
556
552
|
measurement: {
|
|
557
|
-
id: string;
|
|
558
553
|
name: string;
|
|
554
|
+
id: string;
|
|
559
555
|
abbrev: string;
|
|
560
556
|
conversion: {
|
|
561
557
|
amount: number;
|
|
562
558
|
precision: number;
|
|
563
559
|
};
|
|
564
560
|
};
|
|
561
|
+
amount: {
|
|
562
|
+
amount: number;
|
|
563
|
+
precision: number;
|
|
564
|
+
};
|
|
565
565
|
}[];
|
|
566
566
|
}[] | null | undefined;
|
|
567
567
|
activityLogs?: {
|
|
@@ -573,8 +573,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
573
573
|
id: string;
|
|
574
574
|
};
|
|
575
575
|
}[] | null | undefined;
|
|
576
|
-
_id: string;
|
|
577
576
|
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
577
|
+
_id: string;
|
|
578
|
+
updatedAt: string;
|
|
579
|
+
createdAt: string;
|
|
578
580
|
items: {
|
|
579
581
|
remark?: string | null | undefined;
|
|
580
582
|
sku: {
|
|
@@ -584,8 +586,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
584
586
|
measurement?: string | null | undefined;
|
|
585
587
|
inventoryBindings?: {
|
|
586
588
|
measurement?: {
|
|
587
|
-
id: string;
|
|
588
589
|
name: string;
|
|
590
|
+
id: string;
|
|
589
591
|
abbrev: string;
|
|
590
592
|
conversion: {
|
|
591
593
|
amount: number;
|
|
@@ -594,24 +596,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
594
596
|
} | null | undefined;
|
|
595
597
|
rules?: Record<string, any> | null | undefined;
|
|
596
598
|
alternatives?: {
|
|
597
|
-
priority?: number | null | undefined;
|
|
598
599
|
default?: boolean | null | undefined;
|
|
599
600
|
trackingMeasurement?: string | null | undefined;
|
|
601
|
+
priority?: number | null | undefined;
|
|
600
602
|
_id: string;
|
|
601
603
|
}[] | null | undefined;
|
|
602
|
-
id: string;
|
|
603
604
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
604
605
|
amount: {
|
|
605
606
|
amount: number;
|
|
606
607
|
precision: number;
|
|
607
608
|
};
|
|
609
|
+
id: string;
|
|
608
610
|
}[] | null | undefined;
|
|
609
611
|
} | null | undefined;
|
|
610
612
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
611
613
|
defaultCost?: {
|
|
612
614
|
measurement?: {
|
|
613
|
-
id: string;
|
|
614
615
|
name: string;
|
|
616
|
+
id: string;
|
|
615
617
|
abbrev: string;
|
|
616
618
|
conversion: {
|
|
617
619
|
amount: number;
|
|
@@ -630,17 +632,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
630
632
|
mid: number;
|
|
631
633
|
} | null | undefined;
|
|
632
634
|
customAttributes?: Record<string, any> | null | undefined;
|
|
633
|
-
_id: string;
|
|
634
|
-
name: string;
|
|
635
|
-
code: string;
|
|
636
635
|
unit: {
|
|
637
636
|
_id: string;
|
|
638
637
|
name: string;
|
|
639
638
|
abbrev: string;
|
|
640
639
|
precision: number;
|
|
641
640
|
measurements: {
|
|
642
|
-
id: string;
|
|
643
641
|
name: string;
|
|
642
|
+
id: string;
|
|
644
643
|
abbrev: string;
|
|
645
644
|
conversion: {
|
|
646
645
|
amount: number;
|
|
@@ -648,48 +647,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
648
647
|
};
|
|
649
648
|
}[];
|
|
650
649
|
};
|
|
650
|
+
code: string;
|
|
651
|
+
_id: string;
|
|
652
|
+
name: string;
|
|
651
653
|
};
|
|
652
654
|
baseAmount: {
|
|
653
655
|
amount: number;
|
|
654
656
|
precision: number;
|
|
655
657
|
};
|
|
656
658
|
measurementsAmounts: {
|
|
657
|
-
amount: {
|
|
658
|
-
amount: number;
|
|
659
|
-
precision: number;
|
|
660
|
-
};
|
|
661
659
|
measurement: {
|
|
662
|
-
id: string;
|
|
663
660
|
name: string;
|
|
661
|
+
id: string;
|
|
664
662
|
abbrev: string;
|
|
665
663
|
conversion: {
|
|
666
664
|
amount: number;
|
|
667
665
|
precision: number;
|
|
668
666
|
};
|
|
669
667
|
};
|
|
668
|
+
amount: {
|
|
669
|
+
amount: number;
|
|
670
|
+
precision: number;
|
|
671
|
+
};
|
|
670
672
|
}[];
|
|
671
673
|
}[];
|
|
672
|
-
|
|
674
|
+
updatedBy: {
|
|
673
675
|
name: string;
|
|
674
676
|
id: string;
|
|
675
677
|
};
|
|
676
|
-
|
|
677
|
-
updatedAt: string;
|
|
678
|
-
updatedBy: {
|
|
678
|
+
createdBy: {
|
|
679
679
|
name: string;
|
|
680
680
|
id: string;
|
|
681
681
|
};
|
|
682
682
|
usingTemplates: {
|
|
683
|
-
ref?: string | null | undefined;
|
|
684
683
|
_rev?: string | null | undefined;
|
|
685
684
|
updatedAt?: string | null | undefined;
|
|
685
|
+
ref?: string | null | undefined;
|
|
686
686
|
locations?: {
|
|
687
687
|
inventory?: {
|
|
688
688
|
_id: string;
|
|
689
689
|
updatedAt: string;
|
|
690
690
|
} | null | undefined;
|
|
691
|
-
name: string;
|
|
692
691
|
type: "restaurant" | "warehouse";
|
|
692
|
+
name: string;
|
|
693
693
|
acceptRequest: boolean;
|
|
694
694
|
dbName: string;
|
|
695
695
|
doc: {
|
|
@@ -785,8 +785,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
785
785
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
786
786
|
show: boolean;
|
|
787
787
|
draft?: {
|
|
788
|
-
remark?: string | null | undefined;
|
|
789
|
-
_rev?: string | null | undefined;
|
|
790
788
|
stockSnapshot?: {
|
|
791
789
|
closing?: {
|
|
792
790
|
costBalances?: {
|
|
@@ -801,12 +799,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
801
799
|
precision: number;
|
|
802
800
|
};
|
|
803
801
|
}[] | null | undefined;
|
|
802
|
+
id: string;
|
|
803
|
+
createdAt: string;
|
|
804
804
|
balance: {
|
|
805
805
|
amount: number;
|
|
806
806
|
precision: number;
|
|
807
807
|
};
|
|
808
|
-
id: string;
|
|
809
|
-
createdAt: string;
|
|
810
808
|
} | null | undefined;
|
|
811
809
|
weightedAverage?: {
|
|
812
810
|
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";
|
|
@@ -825,12 +823,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
825
823
|
precision: number;
|
|
826
824
|
};
|
|
827
825
|
}[] | null | undefined;
|
|
826
|
+
id: string;
|
|
828
827
|
balance: {
|
|
829
828
|
amount: number;
|
|
830
829
|
precision: number;
|
|
831
830
|
};
|
|
832
|
-
id: string;
|
|
833
831
|
}[] | null | undefined;
|
|
832
|
+
_rev?: string | null | undefined;
|
|
833
|
+
remark?: string | null | undefined;
|
|
834
834
|
effectiveAt?: string | null | undefined;
|
|
835
835
|
adjustmentSnapshot?: {
|
|
836
836
|
skuId: string;
|
|
@@ -840,11 +840,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
840
840
|
}>>;
|
|
841
841
|
}[] | null | undefined;
|
|
842
842
|
opening?: {
|
|
843
|
+
skuId: string;
|
|
843
844
|
balance: {
|
|
844
845
|
amount: number;
|
|
845
846
|
precision: number;
|
|
846
847
|
};
|
|
847
|
-
skuId: string;
|
|
848
848
|
}[] | null | undefined;
|
|
849
849
|
approvedAt?: string | null | undefined;
|
|
850
850
|
approvedBy?: {
|
|
@@ -871,8 +871,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
871
871
|
measurement?: string | null | undefined;
|
|
872
872
|
inventoryBindings?: {
|
|
873
873
|
measurement?: {
|
|
874
|
-
id: string;
|
|
875
874
|
name: string;
|
|
875
|
+
id: string;
|
|
876
876
|
abbrev: string;
|
|
877
877
|
conversion: {
|
|
878
878
|
amount: number;
|
|
@@ -881,24 +881,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
881
881
|
} | null | undefined;
|
|
882
882
|
rules?: Record<string, any> | null | undefined;
|
|
883
883
|
alternatives?: {
|
|
884
|
-
priority?: number | null | undefined;
|
|
885
884
|
default?: boolean | null | undefined;
|
|
886
885
|
trackingMeasurement?: string | null | undefined;
|
|
886
|
+
priority?: number | null | undefined;
|
|
887
887
|
_id: string;
|
|
888
888
|
}[] | null | undefined;
|
|
889
|
-
id: string;
|
|
890
889
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
891
890
|
amount: {
|
|
892
891
|
amount: number;
|
|
893
892
|
precision: number;
|
|
894
893
|
};
|
|
894
|
+
id: string;
|
|
895
895
|
}[] | null | undefined;
|
|
896
896
|
} | null | undefined;
|
|
897
897
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
898
898
|
defaultCost?: {
|
|
899
899
|
measurement?: {
|
|
900
|
-
id: string;
|
|
901
900
|
name: string;
|
|
901
|
+
id: string;
|
|
902
902
|
abbrev: string;
|
|
903
903
|
conversion: {
|
|
904
904
|
amount: number;
|
|
@@ -917,17 +917,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
917
917
|
mid: number;
|
|
918
918
|
} | null | undefined;
|
|
919
919
|
customAttributes?: Record<string, any> | null | undefined;
|
|
920
|
-
_id: string;
|
|
921
|
-
name: string;
|
|
922
|
-
code: string;
|
|
923
920
|
unit: {
|
|
924
921
|
_id: string;
|
|
925
922
|
name: string;
|
|
926
923
|
abbrev: string;
|
|
927
924
|
precision: number;
|
|
928
925
|
measurements: {
|
|
929
|
-
id: string;
|
|
930
926
|
name: string;
|
|
927
|
+
id: string;
|
|
931
928
|
abbrev: string;
|
|
932
929
|
conversion: {
|
|
933
930
|
amount: number;
|
|
@@ -935,25 +932,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
935
932
|
};
|
|
936
933
|
}[];
|
|
937
934
|
};
|
|
935
|
+
code: string;
|
|
936
|
+
_id: string;
|
|
937
|
+
name: string;
|
|
938
938
|
};
|
|
939
939
|
baseAmount: {
|
|
940
940
|
amount: number;
|
|
941
941
|
precision: number;
|
|
942
942
|
};
|
|
943
943
|
measurementsAmounts: {
|
|
944
|
-
amount: {
|
|
945
|
-
amount: number;
|
|
946
|
-
precision: number;
|
|
947
|
-
};
|
|
948
944
|
measurement: {
|
|
949
|
-
id: string;
|
|
950
945
|
name: string;
|
|
946
|
+
id: string;
|
|
951
947
|
abbrev: string;
|
|
952
948
|
conversion: {
|
|
953
949
|
amount: number;
|
|
954
950
|
precision: number;
|
|
955
951
|
};
|
|
956
952
|
};
|
|
953
|
+
amount: {
|
|
954
|
+
amount: number;
|
|
955
|
+
precision: number;
|
|
956
|
+
};
|
|
957
957
|
}[];
|
|
958
958
|
}[] | null | undefined;
|
|
959
959
|
activityLogs?: {
|
|
@@ -965,8 +965,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
965
965
|
id: string;
|
|
966
966
|
};
|
|
967
967
|
}[] | null | undefined;
|
|
968
|
-
_id: string;
|
|
969
968
|
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
969
|
+
_id: string;
|
|
970
|
+
updatedAt: string;
|
|
971
|
+
createdAt: string;
|
|
970
972
|
items: {
|
|
971
973
|
remark?: string | null | undefined;
|
|
972
974
|
sku: {
|
|
@@ -976,8 +978,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
976
978
|
measurement?: string | null | undefined;
|
|
977
979
|
inventoryBindings?: {
|
|
978
980
|
measurement?: {
|
|
979
|
-
id: string;
|
|
980
981
|
name: string;
|
|
982
|
+
id: string;
|
|
981
983
|
abbrev: string;
|
|
982
984
|
conversion: {
|
|
983
985
|
amount: number;
|
|
@@ -986,24 +988,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
986
988
|
} | null | undefined;
|
|
987
989
|
rules?: Record<string, any> | null | undefined;
|
|
988
990
|
alternatives?: {
|
|
989
|
-
priority?: number | null | undefined;
|
|
990
991
|
default?: boolean | null | undefined;
|
|
991
992
|
trackingMeasurement?: string | null | undefined;
|
|
993
|
+
priority?: number | null | undefined;
|
|
992
994
|
_id: string;
|
|
993
995
|
}[] | null | undefined;
|
|
994
|
-
id: string;
|
|
995
996
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
996
997
|
amount: {
|
|
997
998
|
amount: number;
|
|
998
999
|
precision: number;
|
|
999
1000
|
};
|
|
1001
|
+
id: string;
|
|
1000
1002
|
}[] | null | undefined;
|
|
1001
1003
|
} | null | undefined;
|
|
1002
1004
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1003
1005
|
defaultCost?: {
|
|
1004
1006
|
measurement?: {
|
|
1005
|
-
id: string;
|
|
1006
1007
|
name: string;
|
|
1008
|
+
id: string;
|
|
1007
1009
|
abbrev: string;
|
|
1008
1010
|
conversion: {
|
|
1009
1011
|
amount: number;
|
|
@@ -1022,17 +1024,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1022
1024
|
mid: number;
|
|
1023
1025
|
} | null | undefined;
|
|
1024
1026
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1025
|
-
_id: string;
|
|
1026
|
-
name: string;
|
|
1027
|
-
code: string;
|
|
1028
1027
|
unit: {
|
|
1029
1028
|
_id: string;
|
|
1030
1029
|
name: string;
|
|
1031
1030
|
abbrev: string;
|
|
1032
1031
|
precision: number;
|
|
1033
1032
|
measurements: {
|
|
1034
|
-
id: string;
|
|
1035
1033
|
name: string;
|
|
1034
|
+
id: string;
|
|
1036
1035
|
abbrev: string;
|
|
1037
1036
|
conversion: {
|
|
1038
1037
|
amount: number;
|
|
@@ -1040,48 +1039,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1040
1039
|
};
|
|
1041
1040
|
}[];
|
|
1042
1041
|
};
|
|
1042
|
+
code: string;
|
|
1043
|
+
_id: string;
|
|
1044
|
+
name: string;
|
|
1043
1045
|
};
|
|
1044
1046
|
baseAmount: {
|
|
1045
1047
|
amount: number;
|
|
1046
1048
|
precision: number;
|
|
1047
1049
|
};
|
|
1048
1050
|
measurementsAmounts: {
|
|
1049
|
-
amount: {
|
|
1050
|
-
amount: number;
|
|
1051
|
-
precision: number;
|
|
1052
|
-
};
|
|
1053
1051
|
measurement: {
|
|
1054
|
-
id: string;
|
|
1055
1052
|
name: string;
|
|
1053
|
+
id: string;
|
|
1056
1054
|
abbrev: string;
|
|
1057
1055
|
conversion: {
|
|
1058
1056
|
amount: number;
|
|
1059
1057
|
precision: number;
|
|
1060
1058
|
};
|
|
1061
1059
|
};
|
|
1060
|
+
amount: {
|
|
1061
|
+
amount: number;
|
|
1062
|
+
precision: number;
|
|
1063
|
+
};
|
|
1062
1064
|
}[];
|
|
1063
1065
|
}[];
|
|
1064
|
-
|
|
1066
|
+
updatedBy: {
|
|
1065
1067
|
name: string;
|
|
1066
1068
|
id: string;
|
|
1067
1069
|
};
|
|
1068
|
-
|
|
1069
|
-
updatedAt: string;
|
|
1070
|
-
updatedBy: {
|
|
1070
|
+
createdBy: {
|
|
1071
1071
|
name: string;
|
|
1072
1072
|
id: string;
|
|
1073
1073
|
};
|
|
1074
1074
|
usingTemplates: {
|
|
1075
|
-
ref?: string | null | undefined;
|
|
1076
1075
|
_rev?: string | null | undefined;
|
|
1077
1076
|
updatedAt?: string | null | undefined;
|
|
1077
|
+
ref?: string | null | undefined;
|
|
1078
1078
|
locations?: {
|
|
1079
1079
|
inventory?: {
|
|
1080
1080
|
_id: string;
|
|
1081
1081
|
updatedAt: string;
|
|
1082
1082
|
} | null | undefined;
|
|
1083
|
-
name: string;
|
|
1084
1083
|
type: "restaurant" | "warehouse";
|
|
1084
|
+
name: string;
|
|
1085
1085
|
acceptRequest: boolean;
|
|
1086
1086
|
dbName: string;
|
|
1087
1087
|
doc: {
|
|
@@ -1177,8 +1177,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1177
1177
|
}>>> & Readonly<{
|
|
1178
1178
|
onSubmitted?: (() => any) | undefined;
|
|
1179
1179
|
onRefresh?: ((closingDraft: {
|
|
1180
|
-
remark?: string | null | undefined;
|
|
1181
|
-
_rev?: string | null | undefined;
|
|
1182
1180
|
stockSnapshot?: {
|
|
1183
1181
|
closing?: {
|
|
1184
1182
|
costBalances?: {
|
|
@@ -1193,12 +1191,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1193
1191
|
precision: number;
|
|
1194
1192
|
};
|
|
1195
1193
|
}[] | null | undefined;
|
|
1194
|
+
id: string;
|
|
1195
|
+
createdAt: string;
|
|
1196
1196
|
balance: {
|
|
1197
1197
|
amount: number;
|
|
1198
1198
|
precision: number;
|
|
1199
1199
|
};
|
|
1200
|
-
id: string;
|
|
1201
|
-
createdAt: string;
|
|
1202
1200
|
} | null | undefined;
|
|
1203
1201
|
weightedAverage?: {
|
|
1204
1202
|
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";
|
|
@@ -1217,12 +1215,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1217
1215
|
precision: number;
|
|
1218
1216
|
};
|
|
1219
1217
|
}[] | null | undefined;
|
|
1218
|
+
id: string;
|
|
1220
1219
|
balance: {
|
|
1221
1220
|
amount: number;
|
|
1222
1221
|
precision: number;
|
|
1223
1222
|
};
|
|
1224
|
-
id: string;
|
|
1225
1223
|
}[] | null | undefined;
|
|
1224
|
+
_rev?: string | null | undefined;
|
|
1225
|
+
remark?: string | null | undefined;
|
|
1226
1226
|
effectiveAt?: string | null | undefined;
|
|
1227
1227
|
adjustmentSnapshot?: {
|
|
1228
1228
|
skuId: string;
|
|
@@ -1232,11 +1232,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1232
1232
|
}>>;
|
|
1233
1233
|
}[] | null | undefined;
|
|
1234
1234
|
opening?: {
|
|
1235
|
+
skuId: string;
|
|
1235
1236
|
balance: {
|
|
1236
1237
|
amount: number;
|
|
1237
1238
|
precision: number;
|
|
1238
1239
|
};
|
|
1239
|
-
skuId: string;
|
|
1240
1240
|
}[] | null | undefined;
|
|
1241
1241
|
approvedAt?: string | null | undefined;
|
|
1242
1242
|
approvedBy?: {
|
|
@@ -1263,8 +1263,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1263
1263
|
measurement?: string | null | undefined;
|
|
1264
1264
|
inventoryBindings?: {
|
|
1265
1265
|
measurement?: {
|
|
1266
|
-
id: string;
|
|
1267
1266
|
name: string;
|
|
1267
|
+
id: string;
|
|
1268
1268
|
abbrev: string;
|
|
1269
1269
|
conversion: {
|
|
1270
1270
|
amount: number;
|
|
@@ -1273,24 +1273,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1273
1273
|
} | null | undefined;
|
|
1274
1274
|
rules?: Record<string, any> | null | undefined;
|
|
1275
1275
|
alternatives?: {
|
|
1276
|
-
priority?: number | null | undefined;
|
|
1277
1276
|
default?: boolean | null | undefined;
|
|
1278
1277
|
trackingMeasurement?: string | null | undefined;
|
|
1278
|
+
priority?: number | null | undefined;
|
|
1279
1279
|
_id: string;
|
|
1280
1280
|
}[] | null | undefined;
|
|
1281
|
-
id: string;
|
|
1282
1281
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1283
1282
|
amount: {
|
|
1284
1283
|
amount: number;
|
|
1285
1284
|
precision: number;
|
|
1286
1285
|
};
|
|
1286
|
+
id: string;
|
|
1287
1287
|
}[] | null | undefined;
|
|
1288
1288
|
} | null | undefined;
|
|
1289
1289
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1290
1290
|
defaultCost?: {
|
|
1291
1291
|
measurement?: {
|
|
1292
|
-
id: string;
|
|
1293
1292
|
name: string;
|
|
1293
|
+
id: string;
|
|
1294
1294
|
abbrev: string;
|
|
1295
1295
|
conversion: {
|
|
1296
1296
|
amount: number;
|
|
@@ -1309,17 +1309,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1309
1309
|
mid: number;
|
|
1310
1310
|
} | null | undefined;
|
|
1311
1311
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1312
|
-
_id: string;
|
|
1313
|
-
name: string;
|
|
1314
|
-
code: string;
|
|
1315
1312
|
unit: {
|
|
1316
1313
|
_id: string;
|
|
1317
1314
|
name: string;
|
|
1318
1315
|
abbrev: string;
|
|
1319
1316
|
precision: number;
|
|
1320
1317
|
measurements: {
|
|
1321
|
-
id: string;
|
|
1322
1318
|
name: string;
|
|
1319
|
+
id: string;
|
|
1323
1320
|
abbrev: string;
|
|
1324
1321
|
conversion: {
|
|
1325
1322
|
amount: number;
|
|
@@ -1327,25 +1324,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1327
1324
|
};
|
|
1328
1325
|
}[];
|
|
1329
1326
|
};
|
|
1327
|
+
code: string;
|
|
1328
|
+
_id: string;
|
|
1329
|
+
name: string;
|
|
1330
1330
|
};
|
|
1331
1331
|
baseAmount: {
|
|
1332
1332
|
amount: number;
|
|
1333
1333
|
precision: number;
|
|
1334
1334
|
};
|
|
1335
1335
|
measurementsAmounts: {
|
|
1336
|
-
amount: {
|
|
1337
|
-
amount: number;
|
|
1338
|
-
precision: number;
|
|
1339
|
-
};
|
|
1340
1336
|
measurement: {
|
|
1341
|
-
id: string;
|
|
1342
1337
|
name: string;
|
|
1338
|
+
id: string;
|
|
1343
1339
|
abbrev: string;
|
|
1344
1340
|
conversion: {
|
|
1345
1341
|
amount: number;
|
|
1346
1342
|
precision: number;
|
|
1347
1343
|
};
|
|
1348
1344
|
};
|
|
1345
|
+
amount: {
|
|
1346
|
+
amount: number;
|
|
1347
|
+
precision: number;
|
|
1348
|
+
};
|
|
1349
1349
|
}[];
|
|
1350
1350
|
}[] | null | undefined;
|
|
1351
1351
|
activityLogs?: {
|
|
@@ -1357,8 +1357,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1357
1357
|
id: string;
|
|
1358
1358
|
};
|
|
1359
1359
|
}[] | null | undefined;
|
|
1360
|
-
_id: string;
|
|
1361
1360
|
status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
|
|
1361
|
+
_id: string;
|
|
1362
|
+
updatedAt: string;
|
|
1363
|
+
createdAt: string;
|
|
1362
1364
|
items: {
|
|
1363
1365
|
remark?: string | null | undefined;
|
|
1364
1366
|
sku: {
|
|
@@ -1368,8 +1370,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1368
1370
|
measurement?: string | null | undefined;
|
|
1369
1371
|
inventoryBindings?: {
|
|
1370
1372
|
measurement?: {
|
|
1371
|
-
id: string;
|
|
1372
1373
|
name: string;
|
|
1374
|
+
id: string;
|
|
1373
1375
|
abbrev: string;
|
|
1374
1376
|
conversion: {
|
|
1375
1377
|
amount: number;
|
|
@@ -1378,24 +1380,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1378
1380
|
} | null | undefined;
|
|
1379
1381
|
rules?: Record<string, any> | null | undefined;
|
|
1380
1382
|
alternatives?: {
|
|
1381
|
-
priority?: number | null | undefined;
|
|
1382
1383
|
default?: boolean | null | undefined;
|
|
1383
1384
|
trackingMeasurement?: string | null | undefined;
|
|
1385
|
+
priority?: number | null | undefined;
|
|
1384
1386
|
_id: string;
|
|
1385
1387
|
}[] | null | undefined;
|
|
1386
|
-
id: string;
|
|
1387
1388
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1388
1389
|
amount: {
|
|
1389
1390
|
amount: number;
|
|
1390
1391
|
precision: number;
|
|
1391
1392
|
};
|
|
1393
|
+
id: string;
|
|
1392
1394
|
}[] | null | undefined;
|
|
1393
1395
|
} | null | undefined;
|
|
1394
1396
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1395
1397
|
defaultCost?: {
|
|
1396
1398
|
measurement?: {
|
|
1397
|
-
id: string;
|
|
1398
1399
|
name: string;
|
|
1400
|
+
id: string;
|
|
1399
1401
|
abbrev: string;
|
|
1400
1402
|
conversion: {
|
|
1401
1403
|
amount: number;
|
|
@@ -1414,17 +1416,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1414
1416
|
mid: number;
|
|
1415
1417
|
} | null | undefined;
|
|
1416
1418
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1417
|
-
_id: string;
|
|
1418
|
-
name: string;
|
|
1419
|
-
code: string;
|
|
1420
1419
|
unit: {
|
|
1421
1420
|
_id: string;
|
|
1422
1421
|
name: string;
|
|
1423
1422
|
abbrev: string;
|
|
1424
1423
|
precision: number;
|
|
1425
1424
|
measurements: {
|
|
1426
|
-
id: string;
|
|
1427
1425
|
name: string;
|
|
1426
|
+
id: string;
|
|
1428
1427
|
abbrev: string;
|
|
1429
1428
|
conversion: {
|
|
1430
1429
|
amount: number;
|
|
@@ -1432,48 +1431,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1432
1431
|
};
|
|
1433
1432
|
}[];
|
|
1434
1433
|
};
|
|
1434
|
+
code: string;
|
|
1435
|
+
_id: string;
|
|
1436
|
+
name: string;
|
|
1435
1437
|
};
|
|
1436
1438
|
baseAmount: {
|
|
1437
1439
|
amount: number;
|
|
1438
1440
|
precision: number;
|
|
1439
1441
|
};
|
|
1440
1442
|
measurementsAmounts: {
|
|
1441
|
-
amount: {
|
|
1442
|
-
amount: number;
|
|
1443
|
-
precision: number;
|
|
1444
|
-
};
|
|
1445
1443
|
measurement: {
|
|
1446
|
-
id: string;
|
|
1447
1444
|
name: string;
|
|
1445
|
+
id: string;
|
|
1448
1446
|
abbrev: string;
|
|
1449
1447
|
conversion: {
|
|
1450
1448
|
amount: number;
|
|
1451
1449
|
precision: number;
|
|
1452
1450
|
};
|
|
1453
1451
|
};
|
|
1452
|
+
amount: {
|
|
1453
|
+
amount: number;
|
|
1454
|
+
precision: number;
|
|
1455
|
+
};
|
|
1454
1456
|
}[];
|
|
1455
1457
|
}[];
|
|
1456
|
-
|
|
1458
|
+
updatedBy: {
|
|
1457
1459
|
name: string;
|
|
1458
1460
|
id: string;
|
|
1459
1461
|
};
|
|
1460
|
-
|
|
1461
|
-
updatedAt: string;
|
|
1462
|
-
updatedBy: {
|
|
1462
|
+
createdBy: {
|
|
1463
1463
|
name: string;
|
|
1464
1464
|
id: string;
|
|
1465
1465
|
};
|
|
1466
1466
|
usingTemplates: {
|
|
1467
|
-
ref?: string | null | undefined;
|
|
1468
1467
|
_rev?: string | null | undefined;
|
|
1469
1468
|
updatedAt?: string | null | undefined;
|
|
1469
|
+
ref?: string | null | undefined;
|
|
1470
1470
|
locations?: {
|
|
1471
1471
|
inventory?: {
|
|
1472
1472
|
_id: string;
|
|
1473
1473
|
updatedAt: string;
|
|
1474
1474
|
} | null | undefined;
|
|
1475
|
-
name: string;
|
|
1476
1475
|
type: "restaurant" | "warehouse";
|
|
1476
|
+
name: string;
|
|
1477
1477
|
acceptRequest: boolean;
|
|
1478
1478
|
dbName: string;
|
|
1479
1479
|
doc: {
|