@feedmepos/mf-inventory-portal 0.0.22-dev.34 → 0.0.22-dev.37
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/{ApprovalView-2pX2IV1F.js → ApprovalView-Dco0PkEf.js} +8 -8
- package/dist/{BindingsDialog-EyImpE9g.js → BindingsDialog-DrCU_kIA.js} +9 -9
- package/dist/{BindingsPicker-CbBNBcWW.js → BindingsPicker-BMIIrlG6.js} +17 -17
- package/dist/{BindingsTable-CJeV7Dd2.js → BindingsTable-BHRmkL1P.js} +1 -1
- package/dist/{ClosingTemplateView-BDEooji1.js → ClosingTemplateView-kiej8Nah.js} +15 -15
- package/dist/FmDroppableField-Bl7A98it.js +152 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZtc5R4Z.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DQw4pBwH.js} +25 -25
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-z-BBBTkh.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DBh79EM_.js} +20 -20
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-3OkJNtvH.js +51 -0
- package/dist/IngredientsView-m44wAwSR.js +1611 -0
- package/dist/{IntegrationView-1lXCciJp.js → IntegrationView-B4gCx21K.js} +71 -71
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bgd922-L.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D1frNXtV.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Bexig132.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dbs29jm_.js} +16 -16
- package/dist/{PurchaseOrderPrintPreview-036mLqRD.js → PurchaseOrderPrintPreview-lKu0y_xw.js} +7 -7
- package/dist/ReceiveRequestView-DflWKxgq.js +4053 -0
- package/dist/{RecipeView-BuiA-2uY.js → RecipeView-DfsXdlPn.js} +30 -29
- package/dist/StockView-BSeSpxkV.js +7762 -0
- package/dist/{SupplierView-Ck5hH5gT.js → SupplierView-DPWh1si_.js} +11 -11
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DFDc3P3S.js → TransferDetails.vue_vue_type_script_setup_true_lang-Dt1lRW3W.js} +260 -262
- package/dist/TransferTemplateView-DGOT4oZN.js +2054 -0
- package/dist/{UnitView-DB2hQFMC.js → UnitView-X9bCqAWe.js} +16 -16
- package/dist/{WarehouseView-CFJiuhpx.js → WarehouseView-BphA-Peq.js} +20 -20
- package/dist/api/bill.d.ts +84 -238
- package/dist/api/purchase-order-template.d.ts +4 -2
- package/dist/{app-Z9P39kGh.js → app-DZiCiBV7.js} +18175 -18188
- package/dist/app.js +2 -2
- package/dist/{decimal-DIe_fFDH.js → decimal-Bx1Y3uW1.js} +1 -1
- package/dist/defineDeepModel-4XZbatJF.js +13 -0
- package/dist/format-time-from-id-CFJvgP70.js +15 -0
- package/dist/helper/xlsx.util.d.ts +7 -0
- package/dist/purchase-order-transaction-type-Ds7YRAAp.js +348 -0
- package/dist/stores/inventory.d.ts +63 -0
- package/dist/stores/location.d.ts +89 -0
- package/dist/stores/netsuite.d.ts +1 -0
- package/dist/stores/supplier.d.ts +120 -3
- package/dist/stores/warehouse.d.ts +7 -4
- package/dist/supplier-BhJT8KOX.js +70 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-CeSeHnX0.js → use-template-enabled-locations-2-BrEPVOpT.js} +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +2 -2
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +2 -2
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +44 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +42 -34
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +75 -51
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +75 -51
- package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
- package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +10 -6
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1850 -5
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -230
- package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +14 -8
- package/dist/{xlsx-DrDljHnF.js → xlsx-B9lpxKgq.js} +651 -651
- package/dist/xlsx.util-DP5wVnRT.js +78 -0
- package/package.json +1 -1
- package/dist/IngredientsView-BvKaI0nb.js +0 -1755
- package/dist/ReceiveRequestView-BGlxEJkh.js +0 -1626
- package/dist/StockView-BKX6NX-g.js +0 -1909
- package/dist/TransferTemplateView-ByYEje9E.js +0 -1237
- package/dist/defineDeepModel-DH8vhBpR.js +0 -13
- package/dist/format-time-from-id-CAjL4U2X.js +0 -15
- package/dist/purchase-order-transaction-type-BJDnbhdk.js +0 -338
- package/dist/supplier-wJJ7ATk2.js +0 -69
- package/dist/xlsx.util-BwF0vRjF.js +0 -109
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { WorkBook, WorkSheet } from 'xlsx';
|
|
2
|
+
import { PurchaseOrderTransactionType } from '@/views/receive-request/constants/purchase-order-transaction-type';
|
|
3
|
+
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
|
|
4
|
+
export declare enum ReservedSheetNames {
|
|
5
|
+
Source = "Source",
|
|
6
|
+
Destination = "Destination",
|
|
7
|
+
Ingredient = "Ingredient"
|
|
8
|
+
}
|
|
9
|
+
export interface TemplateItemRow {
|
|
10
|
+
code: string;
|
|
11
|
+
name: string;
|
|
12
|
+
/** abbrev for base unit or measurement unit */
|
|
13
|
+
unit: string;
|
|
14
|
+
defaultQuantity: number;
|
|
15
|
+
minimumQuantity: number;
|
|
16
|
+
maximumQuantity: number;
|
|
17
|
+
quantityStep: number;
|
|
18
|
+
}
|
|
19
|
+
export interface TemplateInfo {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
type: PurchaseOrderTransactionType;
|
|
23
|
+
transferFrom: string;
|
|
24
|
+
reference: string;
|
|
25
|
+
remark: string;
|
|
26
|
+
locations: string[];
|
|
27
|
+
}
|
|
28
|
+
export interface ImportCreateResult {
|
|
29
|
+
type: 'create';
|
|
30
|
+
template: Omit<FdoPurchaseOrderTemplate, '_id'>;
|
|
31
|
+
excelSheetName: string;
|
|
32
|
+
errors: string[];
|
|
33
|
+
}
|
|
34
|
+
export interface ImportUpdateResult {
|
|
35
|
+
type: 'update';
|
|
36
|
+
original: FdoPurchaseOrderTemplate;
|
|
37
|
+
template: FdoPurchaseOrderTemplate & RevisionIdMeta;
|
|
38
|
+
excelSheetName: string;
|
|
39
|
+
errors: string[];
|
|
40
|
+
}
|
|
41
|
+
export type ImportResult = {
|
|
42
|
+
invalidExcel: boolean;
|
|
43
|
+
invalidExcelMessage?: string;
|
|
44
|
+
importCreateResult: ImportCreateResult[];
|
|
45
|
+
importUpdateResult: ImportUpdateResult[];
|
|
46
|
+
};
|
|
47
|
+
export type ObjectWithIndex<T> = {
|
|
48
|
+
index: number;
|
|
49
|
+
data: T;
|
|
50
|
+
};
|
|
51
|
+
export declare const FakeUnit: FdoInventoryUnit;
|
|
52
|
+
export declare function templateItemToExcelRow(item: FdoPurchaseOrderTemplateItem): TemplateItemRow;
|
|
53
|
+
export type ColIdHeader<T> = {
|
|
54
|
+
id: keyof T;
|
|
55
|
+
name: string;
|
|
56
|
+
};
|
|
57
|
+
export declare function getExcelHeaders(): ColIdHeader<TemplateItemRow>[];
|
|
58
|
+
export declare function exportTemplates(templates: FdoPurchaseOrderTemplate[]): string;
|
|
59
|
+
export declare function exportImportTemplate(): string;
|
|
60
|
+
export declare function extractTransferFrom(transferFrom: string, transferType: PurchaseOrderTransactionType): {
|
|
61
|
+
from?: FdoPurchaseOrderSupplier;
|
|
62
|
+
errors: string[];
|
|
63
|
+
};
|
|
64
|
+
/** @returns empty array if for all locations */
|
|
65
|
+
export declare function extractLocations(locationRow: string[]): {
|
|
66
|
+
location?: FdoInventoryLocation;
|
|
67
|
+
errors: string[];
|
|
68
|
+
}[];
|
|
69
|
+
export declare function worksheetToTemplateMeta(sheet: WorkSheet): TemplateInfo;
|
|
70
|
+
export declare function worksheetToSkuRow(sheet: WorkSheet): ObjectWithIndex<TemplateItemRow>[];
|
|
71
|
+
export declare function excelTemplateItemToTemplateItem(row: TemplateItemRow, index: number, parsedContent: ObjectWithIndex<TemplateItemRow>[]): {
|
|
72
|
+
index: number;
|
|
73
|
+
errors: string[];
|
|
74
|
+
templateItem?: FdoPurchaseOrderTemplateItem;
|
|
75
|
+
};
|
|
76
|
+
export declare function getSkuToCreateUpdate(workbook: WorkBook): ImportResult;
|
|
@@ -1,230 +1 @@
|
|
|
1
|
-
export declare function removeDeletedSkus(template:
|
|
2
|
-
_rev?: string | null | undefined;
|
|
3
|
-
locations?: {
|
|
4
|
-
type: "restaurant" | "warehouse";
|
|
5
|
-
name: string;
|
|
6
|
-
acceptRequest: boolean;
|
|
7
|
-
dbName: string;
|
|
8
|
-
doc: {
|
|
9
|
-
_id: string;
|
|
10
|
-
businessId: string;
|
|
11
|
-
profile: {
|
|
12
|
-
code?: string | null | undefined;
|
|
13
|
-
_id?: string | null | undefined;
|
|
14
|
-
name?: string | undefined;
|
|
15
|
-
address?: {
|
|
16
|
-
coordinates?: number[] | null | undefined;
|
|
17
|
-
line2?: string | null | undefined;
|
|
18
|
-
state: string;
|
|
19
|
-
country: string;
|
|
20
|
-
line1: string;
|
|
21
|
-
city: string;
|
|
22
|
-
postcode: string;
|
|
23
|
-
} | undefined;
|
|
24
|
-
email?: string | undefined;
|
|
25
|
-
regNo?: string | undefined;
|
|
26
|
-
sstRegNo?: string | null | undefined;
|
|
27
|
-
phoneNo?: string | undefined;
|
|
28
|
-
legalName?: string | null | undefined;
|
|
29
|
-
discovery?: boolean | null | undefined;
|
|
30
|
-
coverPhoto?: string | null | undefined;
|
|
31
|
-
thumbnailPhoto?: string | null | undefined;
|
|
32
|
-
description?: string | null | undefined;
|
|
33
|
-
photos?: string[] | null | undefined;
|
|
34
|
-
operatingHours?: {
|
|
35
|
-
0: {
|
|
36
|
-
hours: {
|
|
37
|
-
end: string;
|
|
38
|
-
start: string;
|
|
39
|
-
}[];
|
|
40
|
-
enable: boolean;
|
|
41
|
-
};
|
|
42
|
-
2: {
|
|
43
|
-
hours: {
|
|
44
|
-
end: string;
|
|
45
|
-
start: string;
|
|
46
|
-
}[];
|
|
47
|
-
enable: boolean;
|
|
48
|
-
};
|
|
49
|
-
1: {
|
|
50
|
-
hours: {
|
|
51
|
-
end: string;
|
|
52
|
-
start: string;
|
|
53
|
-
}[];
|
|
54
|
-
enable: boolean;
|
|
55
|
-
};
|
|
56
|
-
3: {
|
|
57
|
-
hours: {
|
|
58
|
-
end: string;
|
|
59
|
-
start: string;
|
|
60
|
-
}[];
|
|
61
|
-
enable: boolean;
|
|
62
|
-
};
|
|
63
|
-
4: {
|
|
64
|
-
hours: {
|
|
65
|
-
end: string;
|
|
66
|
-
start: string;
|
|
67
|
-
}[];
|
|
68
|
-
enable: boolean;
|
|
69
|
-
};
|
|
70
|
-
5: {
|
|
71
|
-
hours: {
|
|
72
|
-
end: string;
|
|
73
|
-
start: string;
|
|
74
|
-
}[];
|
|
75
|
-
enable: boolean;
|
|
76
|
-
};
|
|
77
|
-
6: {
|
|
78
|
-
hours: {
|
|
79
|
-
end: string;
|
|
80
|
-
start: string;
|
|
81
|
-
}[];
|
|
82
|
-
enable: boolean;
|
|
83
|
-
};
|
|
84
|
-
} | null | undefined;
|
|
85
|
-
tags?: string[] | null | undefined;
|
|
86
|
-
url?: string | null | undefined;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
}[] | null | undefined;
|
|
90
|
-
_id: string;
|
|
91
|
-
name: string;
|
|
92
|
-
purchaseOrder: {
|
|
93
|
-
remark?: string | null | undefined;
|
|
94
|
-
ref?: string | null | undefined;
|
|
95
|
-
items: {
|
|
96
|
-
measurement?: {
|
|
97
|
-
id: string;
|
|
98
|
-
name: string;
|
|
99
|
-
abbrev: string;
|
|
100
|
-
conversion: {
|
|
101
|
-
amount: number;
|
|
102
|
-
precision: number;
|
|
103
|
-
};
|
|
104
|
-
} | null | undefined;
|
|
105
|
-
totalCost?: {
|
|
106
|
-
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";
|
|
107
|
-
amount: number;
|
|
108
|
-
precision: number;
|
|
109
|
-
} | null | undefined;
|
|
110
|
-
sku: {
|
|
111
|
-
trackingMeasurement?: string | null | undefined;
|
|
112
|
-
convert?: {
|
|
113
|
-
measurement?: string | null | undefined;
|
|
114
|
-
inventoryBindings?: {
|
|
115
|
-
measurement?: {
|
|
116
|
-
id: string;
|
|
117
|
-
name: string;
|
|
118
|
-
abbrev: string;
|
|
119
|
-
conversion: {
|
|
120
|
-
amount: number;
|
|
121
|
-
precision: number;
|
|
122
|
-
};
|
|
123
|
-
} | null | undefined;
|
|
124
|
-
type: "RECIPE" | "SKU";
|
|
125
|
-
amount: {
|
|
126
|
-
amount: number;
|
|
127
|
-
precision: number;
|
|
128
|
-
};
|
|
129
|
-
id: string;
|
|
130
|
-
}[] | null | undefined;
|
|
131
|
-
} | null | undefined;
|
|
132
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
133
|
-
defaultCost?: {
|
|
134
|
-
measurement?: {
|
|
135
|
-
id: string;
|
|
136
|
-
name: string;
|
|
137
|
-
abbrev: string;
|
|
138
|
-
conversion: {
|
|
139
|
-
amount: number;
|
|
140
|
-
precision: number;
|
|
141
|
-
};
|
|
142
|
-
} | null | undefined;
|
|
143
|
-
costPerUnit: {
|
|
144
|
-
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";
|
|
145
|
-
amount: number;
|
|
146
|
-
precision: number;
|
|
147
|
-
};
|
|
148
|
-
} | null | undefined;
|
|
149
|
-
thresholds?: {
|
|
150
|
-
low: number;
|
|
151
|
-
mid: number;
|
|
152
|
-
} | null | undefined;
|
|
153
|
-
operationalGroup?: string | null | undefined;
|
|
154
|
-
unit: {
|
|
155
|
-
_id: string;
|
|
156
|
-
name: string;
|
|
157
|
-
abbrev: string;
|
|
158
|
-
precision: number;
|
|
159
|
-
measurements: {
|
|
160
|
-
id: string;
|
|
161
|
-
name: string;
|
|
162
|
-
abbrev: string;
|
|
163
|
-
conversion: {
|
|
164
|
-
amount: number;
|
|
165
|
-
precision: number;
|
|
166
|
-
};
|
|
167
|
-
}[];
|
|
168
|
-
};
|
|
169
|
-
code: string;
|
|
170
|
-
_id: string;
|
|
171
|
-
name: string;
|
|
172
|
-
};
|
|
173
|
-
code: string;
|
|
174
|
-
name: string;
|
|
175
|
-
quantity: {
|
|
176
|
-
amount: number;
|
|
177
|
-
precision: number;
|
|
178
|
-
};
|
|
179
|
-
quantityStep: {
|
|
180
|
-
amount: number;
|
|
181
|
-
precision: number;
|
|
182
|
-
};
|
|
183
|
-
minimumQuantity: {
|
|
184
|
-
amount: number;
|
|
185
|
-
precision: number;
|
|
186
|
-
};
|
|
187
|
-
maximumQuantity: {
|
|
188
|
-
amount: number;
|
|
189
|
-
precision: number;
|
|
190
|
-
};
|
|
191
|
-
}[];
|
|
192
|
-
supplier: {
|
|
193
|
-
phoneNumber?: string | null | undefined;
|
|
194
|
-
email?: string | null | undefined;
|
|
195
|
-
_rev?: string | null | undefined;
|
|
196
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
197
|
-
contactName?: string | null | undefined;
|
|
198
|
-
registrationNumber?: string | undefined;
|
|
199
|
-
supplyItems?: {
|
|
200
|
-
defaultCost: {
|
|
201
|
-
measurement?: {
|
|
202
|
-
id: string;
|
|
203
|
-
name: string;
|
|
204
|
-
abbrev: string;
|
|
205
|
-
conversion: {
|
|
206
|
-
amount: number;
|
|
207
|
-
precision: number;
|
|
208
|
-
};
|
|
209
|
-
} | null | undefined;
|
|
210
|
-
costPerUnit: {
|
|
211
|
-
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";
|
|
212
|
-
amount: number;
|
|
213
|
-
precision: number;
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
skuId: string;
|
|
217
|
-
}[] | null | undefined;
|
|
218
|
-
_id: string;
|
|
219
|
-
name: string;
|
|
220
|
-
address: {
|
|
221
|
-
line2?: string | null | undefined;
|
|
222
|
-
line1: string;
|
|
223
|
-
state: string;
|
|
224
|
-
city: string;
|
|
225
|
-
postcode: string;
|
|
226
|
-
country: string;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
};
|
|
1
|
+
export declare function removeDeletedSkus<T extends FdoPurchaseOrderTemplate>(template: T): T;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { UnitDialogProps } from '../components/unit-dialog/UnitDialogProps';
|
|
2
|
-
export declare const useUnitForm: import("pinia").StoreDefinition<"unitForm", Pick<{
|
|
2
|
+
export declare const useUnitForm: import("pinia").StoreDefinition<"unitForm", import("pinia")._UnwrapAll<Pick<{
|
|
3
3
|
createUnit: () => void;
|
|
4
4
|
updateUnit: (unitToUpdate: FdoInventoryUnit) => Promise<void>;
|
|
5
5
|
deleteUnit: (unit: FdoInventoryUnit) => void;
|
|
6
6
|
unitDialogProps: import("vue").Ref<UnitDialogProps | undefined, UnitDialogProps | undefined>;
|
|
7
7
|
unitViewLoading: import("vue").Ref<boolean, boolean>;
|
|
8
|
-
}, "unitDialogProps" | "unitViewLoading"
|
|
8
|
+
}, "unitDialogProps" | "unitViewLoading">>, Pick<{
|
|
9
9
|
createUnit: () => void;
|
|
10
10
|
updateUnit: (unitToUpdate: FdoInventoryUnit) => Promise<void>;
|
|
11
11
|
deleteUnit: (unit: FdoInventoryUnit) => void;
|
|
@@ -10,10 +10,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10
10
|
url?: string | null | undefined;
|
|
11
11
|
expiredAt?: string | null | undefined;
|
|
12
12
|
agentId?: string | null | undefined;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
restaurantTagGroups?: {
|
|
14
|
+
name: string;
|
|
15
|
+
id: string;
|
|
16
|
+
tags: {
|
|
17
|
+
name: string;
|
|
18
|
+
id: string;
|
|
19
|
+
}[];
|
|
17
20
|
}[] | null | undefined;
|
|
18
21
|
pf_agent?: {
|
|
19
22
|
clickupId?: string | null | undefined;
|
|
@@ -98,10 +101,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
98
101
|
url?: string | null | undefined;
|
|
99
102
|
expiredAt?: string | null | undefined;
|
|
100
103
|
agentId?: string | null | undefined;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
restaurantTagGroups?: {
|
|
105
|
+
name: string;
|
|
106
|
+
id: string;
|
|
107
|
+
tags: {
|
|
108
|
+
name: string;
|
|
109
|
+
id: string;
|
|
110
|
+
}[];
|
|
105
111
|
}[] | null | undefined;
|
|
106
112
|
pf_agent?: {
|
|
107
113
|
clickupId?: string | null | undefined;
|