@feedmepos/mf-inventory-portal 0.0.22-dev.29 → 0.0.22-dev.30
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-Ba-tUg0r.js → ApprovalView-BowcCo8d.js} +4 -4
- package/dist/{BindingsDialog-BzE7RozX.js → BindingsDialog-CmmLVQTN.js} +1 -1
- package/dist/{BindingsPicker-21frBXLS.js → BindingsPicker-BErHbcxb.js} +1 -1
- package/dist/{BindingsTable-b5C-I-cP.js → BindingsTable-hrfbN6tX.js} +1 -1
- package/dist/{ClosingTemplateView-DMBAODHP.js → ClosingTemplateView-BVefCGpC.js} +374 -370
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DeX65Yyd.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CXHh_Bti.js} +1 -1
- package/dist/IngredientsView-BqnUckSv.js +1817 -0
- package/dist/{IntegrationView-BMrUQaFT.js → IntegrationView-BEdAKS1I.js} +120 -120
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0Yw7F_u.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-pr7Sb7Om.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-IS1pDkV9.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DsYwNO5N.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-CdOwEm2W.js → PurchaseOrderPrintPreview-DzaS_c8R.js} +1 -1
- package/dist/{ReceiveRequestView-B86diRXc.js → ReceiveRequestView-CU-bhIjl.js} +6 -6
- package/dist/{RecipeView-7zB4lKdK.js → RecipeView-CmETsz5e.js} +3 -3
- package/dist/{StockView-zoWR3C4k.js → StockView-BgmjwPbh.js} +6 -6
- package/dist/{SupplierView-C-1jW5ON.js → SupplierView-CDm5q1th.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BWItuAd0.js → TransferDetails.vue_vue_type_script_setup_true_lang-BZJyhJu4.js} +4 -4
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-lybenWiw.js +1678 -0
- package/dist/TransferTemplateView-CSQ2XxFU.js +1232 -0
- package/dist/{UnitView-yFNEgTl_.js → UnitView-D7bcDkOX.js} +4 -4
- package/dist/{WarehouseView-CregM24b.js → WarehouseView-BJAKVdRs.js} +2 -2
- package/dist/api/inventory.d.ts +71 -82
- package/dist/{app-BsDFpmXX.js → app-A8ykBdGf.js} +12514 -12256
- package/dist/app.js +1 -1
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
- package/dist/{decimal-B4_Y3KEm.js → decimal-BC4EGBAX.js} +1 -1
- package/dist/{defineDeepModel-BYWYdjn7.js → defineDeepModel-Ckfkwau_.js} +3 -3
- package/dist/{format-time-from-id-xHkyagtQ.js → format-time-from-id-o1plVFRH.js} +3 -3
- package/dist/{id-to-date-BZG9rZhi.js → id-to-date-DyPIToei.js} +1 -1
- package/dist/{purchase-order-transaction-type-B2Vf-MS0.js → purchase-order-transaction-type-skN4AmEj.js} +3 -3
- package/dist/stores/inventory.d.ts +15 -0
- package/dist/stores/location.d.ts +420 -486
- package/dist/stores/netsuite.d.ts +1 -1
- package/dist/{supplier-B9WHfMl-.js → supplier-DV3Tg4TT.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-DMyd7rbX.js → use-template-enabled-locations-2-u_kejm-N.js} +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +852 -984
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +852 -984
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +996 -58
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1511 -104
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1417 -10
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -82
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1272 -2652
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +399 -859
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +108 -223
- package/dist/{xlsx-BFdyFL_3.js → xlsx-CrHTSBmd.js} +1 -1
- package/dist/{xlsx.util-UUCw3Kgc.js → xlsx.util-hjzkZFnf.js} +2 -2
- package/package.json +1 -1
- package/dist/IngredientsView-C6Lxkg-R.js +0 -1758
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-5u4NM7G5.js +0 -1522
- package/dist/TransferTemplateView-DnKSCXki.js +0 -1210
|
@@ -9,13 +9,246 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
9
9
|
_rev?: string | null | undefined;
|
|
10
10
|
netSuite?: {
|
|
11
11
|
id?: string | null | undefined;
|
|
12
|
-
errors?:
|
|
12
|
+
errors?: {
|
|
13
|
+
message: string;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
}[] | null | undefined;
|
|
13
16
|
subsidiary: {
|
|
14
17
|
id?: string | null | undefined;
|
|
15
18
|
name?: string | null | undefined;
|
|
16
19
|
};
|
|
17
20
|
} | null | undefined;
|
|
18
21
|
template?: string | null | undefined;
|
|
22
|
+
templateDoc?: {
|
|
23
|
+
_rev?: string | null | undefined;
|
|
24
|
+
locations?: {
|
|
25
|
+
type: "restaurant" | "warehouse";
|
|
26
|
+
name: string;
|
|
27
|
+
acceptRequest: boolean;
|
|
28
|
+
dbName: string;
|
|
29
|
+
doc: {
|
|
30
|
+
_id: string;
|
|
31
|
+
businessId: string;
|
|
32
|
+
profile: {
|
|
33
|
+
code?: string | null | undefined;
|
|
34
|
+
_id?: string | null | undefined;
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
address?: {
|
|
37
|
+
coordinates?: number[] | null | undefined;
|
|
38
|
+
line2?: string | null | undefined;
|
|
39
|
+
state: string;
|
|
40
|
+
country: string;
|
|
41
|
+
line1: string;
|
|
42
|
+
city: string;
|
|
43
|
+
postcode: string;
|
|
44
|
+
} | undefined;
|
|
45
|
+
email?: string | undefined;
|
|
46
|
+
regNo?: string | undefined;
|
|
47
|
+
sstRegNo?: string | null | undefined;
|
|
48
|
+
phoneNo?: string | undefined;
|
|
49
|
+
legalName?: string | null | undefined;
|
|
50
|
+
discovery?: boolean | null | undefined;
|
|
51
|
+
coverPhoto?: string | null | undefined;
|
|
52
|
+
thumbnailPhoto?: string | null | undefined;
|
|
53
|
+
description?: string | null | undefined;
|
|
54
|
+
photos?: string[] | null | undefined;
|
|
55
|
+
operatingHours?: {
|
|
56
|
+
0: {
|
|
57
|
+
hours: {
|
|
58
|
+
end: string;
|
|
59
|
+
start: string;
|
|
60
|
+
}[];
|
|
61
|
+
enable: boolean;
|
|
62
|
+
};
|
|
63
|
+
2: {
|
|
64
|
+
hours: {
|
|
65
|
+
end: string;
|
|
66
|
+
start: string;
|
|
67
|
+
}[];
|
|
68
|
+
enable: boolean;
|
|
69
|
+
};
|
|
70
|
+
1: {
|
|
71
|
+
hours: {
|
|
72
|
+
end: string;
|
|
73
|
+
start: string;
|
|
74
|
+
}[];
|
|
75
|
+
enable: boolean;
|
|
76
|
+
};
|
|
77
|
+
3: {
|
|
78
|
+
hours: {
|
|
79
|
+
end: string;
|
|
80
|
+
start: string;
|
|
81
|
+
}[];
|
|
82
|
+
enable: boolean;
|
|
83
|
+
};
|
|
84
|
+
4: {
|
|
85
|
+
hours: {
|
|
86
|
+
end: string;
|
|
87
|
+
start: string;
|
|
88
|
+
}[];
|
|
89
|
+
enable: boolean;
|
|
90
|
+
};
|
|
91
|
+
5: {
|
|
92
|
+
hours: {
|
|
93
|
+
end: string;
|
|
94
|
+
start: string;
|
|
95
|
+
}[];
|
|
96
|
+
enable: boolean;
|
|
97
|
+
};
|
|
98
|
+
6: {
|
|
99
|
+
hours: {
|
|
100
|
+
end: string;
|
|
101
|
+
start: string;
|
|
102
|
+
}[];
|
|
103
|
+
enable: boolean;
|
|
104
|
+
};
|
|
105
|
+
} | null | undefined;
|
|
106
|
+
tags?: string[] | null | undefined;
|
|
107
|
+
url?: string | null | undefined;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}[] | null | undefined;
|
|
111
|
+
_id: string;
|
|
112
|
+
name: string;
|
|
113
|
+
purchaseOrder: {
|
|
114
|
+
remark?: string | null | undefined;
|
|
115
|
+
ref?: string | null | undefined;
|
|
116
|
+
items: {
|
|
117
|
+
measurement?: {
|
|
118
|
+
id: string;
|
|
119
|
+
name: string;
|
|
120
|
+
abbrev: string;
|
|
121
|
+
conversion: {
|
|
122
|
+
amount: number;
|
|
123
|
+
precision: number;
|
|
124
|
+
};
|
|
125
|
+
} | null | undefined;
|
|
126
|
+
totalCost?: {
|
|
127
|
+
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";
|
|
128
|
+
amount: number;
|
|
129
|
+
precision: number;
|
|
130
|
+
} | null | undefined;
|
|
131
|
+
sku: {
|
|
132
|
+
trackingMeasurement?: string | null | undefined;
|
|
133
|
+
convert?: {
|
|
134
|
+
measurement?: string | null | undefined;
|
|
135
|
+
inventoryBindings?: {
|
|
136
|
+
measurement?: {
|
|
137
|
+
id: string;
|
|
138
|
+
name: string;
|
|
139
|
+
abbrev: string;
|
|
140
|
+
conversion: {
|
|
141
|
+
amount: number;
|
|
142
|
+
precision: number;
|
|
143
|
+
};
|
|
144
|
+
} | null | undefined;
|
|
145
|
+
type: "RECIPE" | "SKU";
|
|
146
|
+
amount: {
|
|
147
|
+
amount: number;
|
|
148
|
+
precision: number;
|
|
149
|
+
};
|
|
150
|
+
id: string;
|
|
151
|
+
}[] | null | undefined;
|
|
152
|
+
} | null | undefined;
|
|
153
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
154
|
+
defaultCost?: {
|
|
155
|
+
measurement?: {
|
|
156
|
+
id: string;
|
|
157
|
+
name: string;
|
|
158
|
+
abbrev: string;
|
|
159
|
+
conversion: {
|
|
160
|
+
amount: number;
|
|
161
|
+
precision: number;
|
|
162
|
+
};
|
|
163
|
+
} | null | undefined;
|
|
164
|
+
costPerUnit: {
|
|
165
|
+
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";
|
|
166
|
+
amount: number;
|
|
167
|
+
precision: number;
|
|
168
|
+
};
|
|
169
|
+
} | null | undefined;
|
|
170
|
+
thresholds?: {
|
|
171
|
+
low: number;
|
|
172
|
+
mid: number;
|
|
173
|
+
} | null | undefined;
|
|
174
|
+
operationalGroup?: string | null | undefined;
|
|
175
|
+
unit: {
|
|
176
|
+
_id: string;
|
|
177
|
+
name: string;
|
|
178
|
+
abbrev: string;
|
|
179
|
+
precision: number;
|
|
180
|
+
measurements: {
|
|
181
|
+
id: string;
|
|
182
|
+
name: string;
|
|
183
|
+
abbrev: string;
|
|
184
|
+
conversion: {
|
|
185
|
+
amount: number;
|
|
186
|
+
precision: number;
|
|
187
|
+
};
|
|
188
|
+
}[];
|
|
189
|
+
};
|
|
190
|
+
code: string;
|
|
191
|
+
_id: string;
|
|
192
|
+
name: string;
|
|
193
|
+
};
|
|
194
|
+
code: string;
|
|
195
|
+
name: string;
|
|
196
|
+
quantity: {
|
|
197
|
+
amount: number;
|
|
198
|
+
precision: number;
|
|
199
|
+
};
|
|
200
|
+
quantityStep: {
|
|
201
|
+
amount: number;
|
|
202
|
+
precision: number;
|
|
203
|
+
};
|
|
204
|
+
minimumQuantity: {
|
|
205
|
+
amount: number;
|
|
206
|
+
precision: number;
|
|
207
|
+
};
|
|
208
|
+
maximumQuantity: {
|
|
209
|
+
amount: number;
|
|
210
|
+
precision: number;
|
|
211
|
+
};
|
|
212
|
+
}[];
|
|
213
|
+
supplier: {
|
|
214
|
+
phoneNumber?: string | null | undefined;
|
|
215
|
+
email?: string | null | undefined;
|
|
216
|
+
_rev?: string | null | undefined;
|
|
217
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
218
|
+
contactName?: string | null | undefined;
|
|
219
|
+
registrationNumber?: string | undefined;
|
|
220
|
+
supplyItems?: {
|
|
221
|
+
defaultCost: {
|
|
222
|
+
measurement?: {
|
|
223
|
+
id: string;
|
|
224
|
+
name: string;
|
|
225
|
+
abbrev: string;
|
|
226
|
+
conversion: {
|
|
227
|
+
amount: number;
|
|
228
|
+
precision: number;
|
|
229
|
+
};
|
|
230
|
+
} | null | undefined;
|
|
231
|
+
costPerUnit: {
|
|
232
|
+
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";
|
|
233
|
+
amount: number;
|
|
234
|
+
precision: number;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
skuId: string;
|
|
238
|
+
}[] | null | undefined;
|
|
239
|
+
_id: string;
|
|
240
|
+
name: string;
|
|
241
|
+
address: {
|
|
242
|
+
line2?: string | null | undefined;
|
|
243
|
+
line1: string;
|
|
244
|
+
state: string;
|
|
245
|
+
city: string;
|
|
246
|
+
postcode: string;
|
|
247
|
+
country: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
} | null | undefined;
|
|
19
252
|
request?: {
|
|
20
253
|
id: string;
|
|
21
254
|
adjustmentIds: string[];
|
|
@@ -340,46 +573,149 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
340
573
|
_rev?: string | null | undefined;
|
|
341
574
|
netSuite?: {
|
|
342
575
|
id?: string | null | undefined;
|
|
343
|
-
errors?:
|
|
576
|
+
errors?: {
|
|
577
|
+
message: string;
|
|
578
|
+
createdAt: string;
|
|
579
|
+
}[] | null | undefined;
|
|
344
580
|
subsidiary: {
|
|
345
581
|
id?: string | null | undefined;
|
|
346
582
|
name?: string | null | undefined;
|
|
347
583
|
};
|
|
348
584
|
} | null | undefined;
|
|
349
585
|
template?: string | null | undefined;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
586
|
+
templateDoc?: {
|
|
587
|
+
_rev?: string | null | undefined;
|
|
588
|
+
locations?: {
|
|
589
|
+
type: "restaurant" | "warehouse";
|
|
590
|
+
name: string;
|
|
591
|
+
acceptRequest: boolean;
|
|
592
|
+
dbName: string;
|
|
593
|
+
doc: {
|
|
594
|
+
_id: string;
|
|
595
|
+
businessId: string;
|
|
596
|
+
profile: {
|
|
597
|
+
code?: string | null | undefined;
|
|
598
|
+
_id?: string | null | undefined;
|
|
599
|
+
name?: string | undefined;
|
|
600
|
+
address?: {
|
|
601
|
+
coordinates?: number[] | null | undefined;
|
|
602
|
+
line2?: string | null | undefined;
|
|
603
|
+
state: string;
|
|
604
|
+
country: string;
|
|
605
|
+
line1: string;
|
|
606
|
+
city: string;
|
|
607
|
+
postcode: string;
|
|
608
|
+
} | undefined;
|
|
609
|
+
email?: string | undefined;
|
|
610
|
+
regNo?: string | undefined;
|
|
611
|
+
sstRegNo?: string | null | undefined;
|
|
612
|
+
phoneNo?: string | undefined;
|
|
613
|
+
legalName?: string | null | undefined;
|
|
614
|
+
discovery?: boolean | null | undefined;
|
|
615
|
+
coverPhoto?: string | null | undefined;
|
|
616
|
+
thumbnailPhoto?: string | null | undefined;
|
|
617
|
+
description?: string | null | undefined;
|
|
618
|
+
photos?: string[] | null | undefined;
|
|
619
|
+
operatingHours?: {
|
|
620
|
+
0: {
|
|
621
|
+
hours: {
|
|
622
|
+
end: string;
|
|
623
|
+
start: string;
|
|
624
|
+
}[];
|
|
625
|
+
enable: boolean;
|
|
626
|
+
};
|
|
627
|
+
2: {
|
|
628
|
+
hours: {
|
|
629
|
+
end: string;
|
|
630
|
+
start: string;
|
|
631
|
+
}[];
|
|
632
|
+
enable: boolean;
|
|
633
|
+
};
|
|
634
|
+
1: {
|
|
635
|
+
hours: {
|
|
636
|
+
end: string;
|
|
637
|
+
start: string;
|
|
638
|
+
}[];
|
|
639
|
+
enable: boolean;
|
|
640
|
+
};
|
|
641
|
+
3: {
|
|
642
|
+
hours: {
|
|
643
|
+
end: string;
|
|
644
|
+
start: string;
|
|
645
|
+
}[];
|
|
646
|
+
enable: boolean;
|
|
647
|
+
};
|
|
648
|
+
4: {
|
|
649
|
+
hours: {
|
|
650
|
+
end: string;
|
|
651
|
+
start: string;
|
|
652
|
+
}[];
|
|
653
|
+
enable: boolean;
|
|
654
|
+
};
|
|
655
|
+
5: {
|
|
656
|
+
hours: {
|
|
657
|
+
end: string;
|
|
658
|
+
start: string;
|
|
659
|
+
}[];
|
|
660
|
+
enable: boolean;
|
|
661
|
+
};
|
|
662
|
+
6: {
|
|
663
|
+
hours: {
|
|
664
|
+
end: string;
|
|
665
|
+
start: string;
|
|
666
|
+
}[];
|
|
667
|
+
enable: boolean;
|
|
668
|
+
};
|
|
669
|
+
} | null | undefined;
|
|
670
|
+
tags?: string[] | null | undefined;
|
|
671
|
+
url?: string | null | undefined;
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
}[] | null | undefined;
|
|
675
|
+
_id: string;
|
|
676
|
+
name: string;
|
|
677
|
+
purchaseOrder: {
|
|
678
|
+
remark?: string | null | undefined;
|
|
679
|
+
ref?: string | null | undefined;
|
|
680
|
+
items: {
|
|
681
|
+
measurement?: {
|
|
682
|
+
id: string;
|
|
683
|
+
name: string;
|
|
684
|
+
abbrev: string;
|
|
685
|
+
conversion: {
|
|
686
|
+
amount: number;
|
|
687
|
+
precision: number;
|
|
688
|
+
};
|
|
689
|
+
} | null | undefined;
|
|
690
|
+
totalCost?: {
|
|
691
|
+
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";
|
|
374
692
|
amount: number;
|
|
375
693
|
precision: number;
|
|
376
|
-
};
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
694
|
+
} | null | undefined;
|
|
695
|
+
sku: {
|
|
696
|
+
trackingMeasurement?: string | null | undefined;
|
|
697
|
+
convert?: {
|
|
698
|
+
measurement?: string | null | undefined;
|
|
699
|
+
inventoryBindings?: {
|
|
700
|
+
measurement?: {
|
|
701
|
+
id: string;
|
|
702
|
+
name: string;
|
|
703
|
+
abbrev: string;
|
|
704
|
+
conversion: {
|
|
705
|
+
amount: number;
|
|
706
|
+
precision: number;
|
|
707
|
+
};
|
|
708
|
+
} | null | undefined;
|
|
709
|
+
type: "RECIPE" | "SKU";
|
|
710
|
+
amount: {
|
|
711
|
+
amount: number;
|
|
712
|
+
precision: number;
|
|
713
|
+
};
|
|
714
|
+
id: string;
|
|
715
|
+
}[] | null | undefined;
|
|
716
|
+
} | null | undefined;
|
|
717
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
718
|
+
defaultCost?: {
|
|
383
719
|
measurement?: {
|
|
384
720
|
id: string;
|
|
385
721
|
name: string;
|
|
@@ -389,31 +725,161 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
389
725
|
precision: number;
|
|
390
726
|
};
|
|
391
727
|
} | null | undefined;
|
|
392
|
-
|
|
393
|
-
|
|
728
|
+
costPerUnit: {
|
|
729
|
+
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";
|
|
394
730
|
amount: number;
|
|
395
731
|
precision: number;
|
|
396
732
|
};
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
733
|
+
} | null | undefined;
|
|
734
|
+
thresholds?: {
|
|
735
|
+
low: number;
|
|
736
|
+
mid: number;
|
|
737
|
+
} | null | undefined;
|
|
738
|
+
operationalGroup?: string | null | undefined;
|
|
739
|
+
unit: {
|
|
740
|
+
_id: string;
|
|
404
741
|
name: string;
|
|
405
742
|
abbrev: string;
|
|
406
|
-
conversion: {
|
|
407
|
-
amount: number;
|
|
408
|
-
precision: number;
|
|
409
|
-
};
|
|
410
|
-
} | null | undefined;
|
|
411
|
-
costPerUnit: {
|
|
412
|
-
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";
|
|
413
|
-
amount: number;
|
|
414
743
|
precision: number;
|
|
744
|
+
measurements: {
|
|
745
|
+
id: string;
|
|
746
|
+
name: string;
|
|
747
|
+
abbrev: string;
|
|
748
|
+
conversion: {
|
|
749
|
+
amount: number;
|
|
750
|
+
precision: number;
|
|
751
|
+
};
|
|
752
|
+
}[];
|
|
415
753
|
};
|
|
416
|
-
|
|
754
|
+
code: string;
|
|
755
|
+
_id: string;
|
|
756
|
+
name: string;
|
|
757
|
+
};
|
|
758
|
+
code: string;
|
|
759
|
+
name: string;
|
|
760
|
+
quantity: {
|
|
761
|
+
amount: number;
|
|
762
|
+
precision: number;
|
|
763
|
+
};
|
|
764
|
+
quantityStep: {
|
|
765
|
+
amount: number;
|
|
766
|
+
precision: number;
|
|
767
|
+
};
|
|
768
|
+
minimumQuantity: {
|
|
769
|
+
amount: number;
|
|
770
|
+
precision: number;
|
|
771
|
+
};
|
|
772
|
+
maximumQuantity: {
|
|
773
|
+
amount: number;
|
|
774
|
+
precision: number;
|
|
775
|
+
};
|
|
776
|
+
}[];
|
|
777
|
+
supplier: {
|
|
778
|
+
phoneNumber?: string | null | undefined;
|
|
779
|
+
email?: string | null | undefined;
|
|
780
|
+
_rev?: string | null | undefined;
|
|
781
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
782
|
+
contactName?: string | null | undefined;
|
|
783
|
+
registrationNumber?: string | undefined;
|
|
784
|
+
supplyItems?: {
|
|
785
|
+
defaultCost: {
|
|
786
|
+
measurement?: {
|
|
787
|
+
id: string;
|
|
788
|
+
name: string;
|
|
789
|
+
abbrev: string;
|
|
790
|
+
conversion: {
|
|
791
|
+
amount: number;
|
|
792
|
+
precision: number;
|
|
793
|
+
};
|
|
794
|
+
} | null | undefined;
|
|
795
|
+
costPerUnit: {
|
|
796
|
+
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";
|
|
797
|
+
amount: number;
|
|
798
|
+
precision: number;
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
skuId: string;
|
|
802
|
+
}[] | null | undefined;
|
|
803
|
+
_id: string;
|
|
804
|
+
name: string;
|
|
805
|
+
address: {
|
|
806
|
+
line2?: string | null | undefined;
|
|
807
|
+
line1: string;
|
|
808
|
+
state: string;
|
|
809
|
+
city: string;
|
|
810
|
+
postcode: string;
|
|
811
|
+
country: string;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
} | null | undefined;
|
|
816
|
+
request?: {
|
|
817
|
+
id: string;
|
|
818
|
+
adjustmentIds: string[];
|
|
819
|
+
} | null | undefined;
|
|
820
|
+
stockSnapshotId?: string | null | undefined;
|
|
821
|
+
effectiveAt?: string | null | undefined;
|
|
822
|
+
deliveryFullfillment?: {
|
|
823
|
+
remark?: string | null | undefined;
|
|
824
|
+
adjustment?: string | null | undefined;
|
|
825
|
+
netSuite?: {
|
|
826
|
+
id?: string | null | undefined;
|
|
827
|
+
refNo?: string | null | undefined;
|
|
828
|
+
} | null | undefined;
|
|
829
|
+
items: {
|
|
830
|
+
cost?: {
|
|
831
|
+
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";
|
|
832
|
+
amount: number;
|
|
833
|
+
precision: number;
|
|
834
|
+
} | null | undefined;
|
|
835
|
+
measurement?: {
|
|
836
|
+
id: string;
|
|
837
|
+
name: string;
|
|
838
|
+
abbrev: string;
|
|
839
|
+
conversion: {
|
|
840
|
+
amount: number;
|
|
841
|
+
precision: number;
|
|
842
|
+
};
|
|
843
|
+
} | null | undefined;
|
|
844
|
+
sku: {
|
|
845
|
+
trackingMeasurement?: string | null | undefined;
|
|
846
|
+
convert?: {
|
|
847
|
+
measurement?: string | null | undefined;
|
|
848
|
+
inventoryBindings?: {
|
|
849
|
+
measurement?: {
|
|
850
|
+
id: string;
|
|
851
|
+
name: string;
|
|
852
|
+
abbrev: string;
|
|
853
|
+
conversion: {
|
|
854
|
+
amount: number;
|
|
855
|
+
precision: number;
|
|
856
|
+
};
|
|
857
|
+
} | null | undefined;
|
|
858
|
+
type: "RECIPE" | "SKU";
|
|
859
|
+
amount: {
|
|
860
|
+
amount: number;
|
|
861
|
+
precision: number;
|
|
862
|
+
};
|
|
863
|
+
id: string;
|
|
864
|
+
}[] | null | undefined;
|
|
865
|
+
} | null | undefined;
|
|
866
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
867
|
+
defaultCost?: {
|
|
868
|
+
measurement?: {
|
|
869
|
+
id: string;
|
|
870
|
+
name: string;
|
|
871
|
+
abbrev: string;
|
|
872
|
+
conversion: {
|
|
873
|
+
amount: number;
|
|
874
|
+
precision: number;
|
|
875
|
+
};
|
|
876
|
+
} | null | undefined;
|
|
877
|
+
costPerUnit: {
|
|
878
|
+
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";
|
|
879
|
+
amount: number;
|
|
880
|
+
precision: number;
|
|
881
|
+
};
|
|
882
|
+
} | null | undefined;
|
|
417
883
|
thresholds?: {
|
|
418
884
|
low: number;
|
|
419
885
|
mid: number;
|
|
@@ -671,13 +1137,246 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
671
1137
|
_rev?: string | null | undefined;
|
|
672
1138
|
netSuite?: {
|
|
673
1139
|
id?: string | null | undefined;
|
|
674
|
-
errors?:
|
|
1140
|
+
errors?: {
|
|
1141
|
+
message: string;
|
|
1142
|
+
createdAt: string;
|
|
1143
|
+
}[] | null | undefined;
|
|
675
1144
|
subsidiary: {
|
|
676
1145
|
id?: string | null | undefined;
|
|
677
1146
|
name?: string | null | undefined;
|
|
678
1147
|
};
|
|
679
1148
|
} | null | undefined;
|
|
680
1149
|
template?: string | null | undefined;
|
|
1150
|
+
templateDoc?: {
|
|
1151
|
+
_rev?: string | null | undefined;
|
|
1152
|
+
locations?: {
|
|
1153
|
+
type: "restaurant" | "warehouse";
|
|
1154
|
+
name: string;
|
|
1155
|
+
acceptRequest: boolean;
|
|
1156
|
+
dbName: string;
|
|
1157
|
+
doc: {
|
|
1158
|
+
_id: string;
|
|
1159
|
+
businessId: string;
|
|
1160
|
+
profile: {
|
|
1161
|
+
code?: string | null | undefined;
|
|
1162
|
+
_id?: string | null | undefined;
|
|
1163
|
+
name?: string | undefined;
|
|
1164
|
+
address?: {
|
|
1165
|
+
coordinates?: number[] | null | undefined;
|
|
1166
|
+
line2?: string | null | undefined;
|
|
1167
|
+
state: string;
|
|
1168
|
+
country: string;
|
|
1169
|
+
line1: string;
|
|
1170
|
+
city: string;
|
|
1171
|
+
postcode: string;
|
|
1172
|
+
} | undefined;
|
|
1173
|
+
email?: string | undefined;
|
|
1174
|
+
regNo?: string | undefined;
|
|
1175
|
+
sstRegNo?: string | null | undefined;
|
|
1176
|
+
phoneNo?: string | undefined;
|
|
1177
|
+
legalName?: string | null | undefined;
|
|
1178
|
+
discovery?: boolean | null | undefined;
|
|
1179
|
+
coverPhoto?: string | null | undefined;
|
|
1180
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1181
|
+
description?: string | null | undefined;
|
|
1182
|
+
photos?: string[] | null | undefined;
|
|
1183
|
+
operatingHours?: {
|
|
1184
|
+
0: {
|
|
1185
|
+
hours: {
|
|
1186
|
+
end: string;
|
|
1187
|
+
start: string;
|
|
1188
|
+
}[];
|
|
1189
|
+
enable: boolean;
|
|
1190
|
+
};
|
|
1191
|
+
2: {
|
|
1192
|
+
hours: {
|
|
1193
|
+
end: string;
|
|
1194
|
+
start: string;
|
|
1195
|
+
}[];
|
|
1196
|
+
enable: boolean;
|
|
1197
|
+
};
|
|
1198
|
+
1: {
|
|
1199
|
+
hours: {
|
|
1200
|
+
end: string;
|
|
1201
|
+
start: string;
|
|
1202
|
+
}[];
|
|
1203
|
+
enable: boolean;
|
|
1204
|
+
};
|
|
1205
|
+
3: {
|
|
1206
|
+
hours: {
|
|
1207
|
+
end: string;
|
|
1208
|
+
start: string;
|
|
1209
|
+
}[];
|
|
1210
|
+
enable: boolean;
|
|
1211
|
+
};
|
|
1212
|
+
4: {
|
|
1213
|
+
hours: {
|
|
1214
|
+
end: string;
|
|
1215
|
+
start: string;
|
|
1216
|
+
}[];
|
|
1217
|
+
enable: boolean;
|
|
1218
|
+
};
|
|
1219
|
+
5: {
|
|
1220
|
+
hours: {
|
|
1221
|
+
end: string;
|
|
1222
|
+
start: string;
|
|
1223
|
+
}[];
|
|
1224
|
+
enable: boolean;
|
|
1225
|
+
};
|
|
1226
|
+
6: {
|
|
1227
|
+
hours: {
|
|
1228
|
+
end: string;
|
|
1229
|
+
start: string;
|
|
1230
|
+
}[];
|
|
1231
|
+
enable: boolean;
|
|
1232
|
+
};
|
|
1233
|
+
} | null | undefined;
|
|
1234
|
+
tags?: string[] | null | undefined;
|
|
1235
|
+
url?: string | null | undefined;
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
}[] | null | undefined;
|
|
1239
|
+
_id: string;
|
|
1240
|
+
name: string;
|
|
1241
|
+
purchaseOrder: {
|
|
1242
|
+
remark?: string | null | undefined;
|
|
1243
|
+
ref?: string | null | undefined;
|
|
1244
|
+
items: {
|
|
1245
|
+
measurement?: {
|
|
1246
|
+
id: string;
|
|
1247
|
+
name: string;
|
|
1248
|
+
abbrev: string;
|
|
1249
|
+
conversion: {
|
|
1250
|
+
amount: number;
|
|
1251
|
+
precision: number;
|
|
1252
|
+
};
|
|
1253
|
+
} | null | undefined;
|
|
1254
|
+
totalCost?: {
|
|
1255
|
+
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";
|
|
1256
|
+
amount: number;
|
|
1257
|
+
precision: number;
|
|
1258
|
+
} | null | undefined;
|
|
1259
|
+
sku: {
|
|
1260
|
+
trackingMeasurement?: string | null | undefined;
|
|
1261
|
+
convert?: {
|
|
1262
|
+
measurement?: string | null | undefined;
|
|
1263
|
+
inventoryBindings?: {
|
|
1264
|
+
measurement?: {
|
|
1265
|
+
id: string;
|
|
1266
|
+
name: string;
|
|
1267
|
+
abbrev: string;
|
|
1268
|
+
conversion: {
|
|
1269
|
+
amount: number;
|
|
1270
|
+
precision: number;
|
|
1271
|
+
};
|
|
1272
|
+
} | null | undefined;
|
|
1273
|
+
type: "RECIPE" | "SKU";
|
|
1274
|
+
amount: {
|
|
1275
|
+
amount: number;
|
|
1276
|
+
precision: number;
|
|
1277
|
+
};
|
|
1278
|
+
id: string;
|
|
1279
|
+
}[] | null | undefined;
|
|
1280
|
+
} | null | undefined;
|
|
1281
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1282
|
+
defaultCost?: {
|
|
1283
|
+
measurement?: {
|
|
1284
|
+
id: string;
|
|
1285
|
+
name: string;
|
|
1286
|
+
abbrev: string;
|
|
1287
|
+
conversion: {
|
|
1288
|
+
amount: number;
|
|
1289
|
+
precision: number;
|
|
1290
|
+
};
|
|
1291
|
+
} | null | undefined;
|
|
1292
|
+
costPerUnit: {
|
|
1293
|
+
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";
|
|
1294
|
+
amount: number;
|
|
1295
|
+
precision: number;
|
|
1296
|
+
};
|
|
1297
|
+
} | null | undefined;
|
|
1298
|
+
thresholds?: {
|
|
1299
|
+
low: number;
|
|
1300
|
+
mid: number;
|
|
1301
|
+
} | null | undefined;
|
|
1302
|
+
operationalGroup?: string | null | undefined;
|
|
1303
|
+
unit: {
|
|
1304
|
+
_id: string;
|
|
1305
|
+
name: string;
|
|
1306
|
+
abbrev: string;
|
|
1307
|
+
precision: number;
|
|
1308
|
+
measurements: {
|
|
1309
|
+
id: string;
|
|
1310
|
+
name: string;
|
|
1311
|
+
abbrev: string;
|
|
1312
|
+
conversion: {
|
|
1313
|
+
amount: number;
|
|
1314
|
+
precision: number;
|
|
1315
|
+
};
|
|
1316
|
+
}[];
|
|
1317
|
+
};
|
|
1318
|
+
code: string;
|
|
1319
|
+
_id: string;
|
|
1320
|
+
name: string;
|
|
1321
|
+
};
|
|
1322
|
+
code: string;
|
|
1323
|
+
name: string;
|
|
1324
|
+
quantity: {
|
|
1325
|
+
amount: number;
|
|
1326
|
+
precision: number;
|
|
1327
|
+
};
|
|
1328
|
+
quantityStep: {
|
|
1329
|
+
amount: number;
|
|
1330
|
+
precision: number;
|
|
1331
|
+
};
|
|
1332
|
+
minimumQuantity: {
|
|
1333
|
+
amount: number;
|
|
1334
|
+
precision: number;
|
|
1335
|
+
};
|
|
1336
|
+
maximumQuantity: {
|
|
1337
|
+
amount: number;
|
|
1338
|
+
precision: number;
|
|
1339
|
+
};
|
|
1340
|
+
}[];
|
|
1341
|
+
supplier: {
|
|
1342
|
+
phoneNumber?: string | null | undefined;
|
|
1343
|
+
email?: string | null | undefined;
|
|
1344
|
+
_rev?: string | null | undefined;
|
|
1345
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1346
|
+
contactName?: string | null | undefined;
|
|
1347
|
+
registrationNumber?: string | undefined;
|
|
1348
|
+
supplyItems?: {
|
|
1349
|
+
defaultCost: {
|
|
1350
|
+
measurement?: {
|
|
1351
|
+
id: string;
|
|
1352
|
+
name: string;
|
|
1353
|
+
abbrev: string;
|
|
1354
|
+
conversion: {
|
|
1355
|
+
amount: number;
|
|
1356
|
+
precision: number;
|
|
1357
|
+
};
|
|
1358
|
+
} | null | undefined;
|
|
1359
|
+
costPerUnit: {
|
|
1360
|
+
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";
|
|
1361
|
+
amount: number;
|
|
1362
|
+
precision: number;
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
skuId: string;
|
|
1366
|
+
}[] | null | undefined;
|
|
1367
|
+
_id: string;
|
|
1368
|
+
name: string;
|
|
1369
|
+
address: {
|
|
1370
|
+
line2?: string | null | undefined;
|
|
1371
|
+
line1: string;
|
|
1372
|
+
state: string;
|
|
1373
|
+
city: string;
|
|
1374
|
+
postcode: string;
|
|
1375
|
+
country: string;
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1379
|
+
} | null | undefined;
|
|
681
1380
|
request?: {
|
|
682
1381
|
id: string;
|
|
683
1382
|
adjustmentIds: string[];
|
|
@@ -968,57 +1667,293 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
968
1667
|
unit: {
|
|
969
1668
|
_id: string;
|
|
970
1669
|
name: string;
|
|
971
|
-
abbrev: string;
|
|
972
|
-
precision: number;
|
|
973
|
-
measurements: {
|
|
974
|
-
id: string;
|
|
975
|
-
name: string;
|
|
976
|
-
abbrev: string;
|
|
977
|
-
conversion: {
|
|
978
|
-
amount: number;
|
|
979
|
-
precision: number;
|
|
980
|
-
};
|
|
981
|
-
}[];
|
|
1670
|
+
abbrev: string;
|
|
1671
|
+
precision: number;
|
|
1672
|
+
measurements: {
|
|
1673
|
+
id: string;
|
|
1674
|
+
name: string;
|
|
1675
|
+
abbrev: string;
|
|
1676
|
+
conversion: {
|
|
1677
|
+
amount: number;
|
|
1678
|
+
precision: number;
|
|
1679
|
+
};
|
|
1680
|
+
}[];
|
|
1681
|
+
};
|
|
1682
|
+
code: string;
|
|
1683
|
+
_id: string;
|
|
1684
|
+
name: string;
|
|
1685
|
+
};
|
|
1686
|
+
amount: {
|
|
1687
|
+
amount: number;
|
|
1688
|
+
precision: number;
|
|
1689
|
+
};
|
|
1690
|
+
}[];
|
|
1691
|
+
createdBy: {
|
|
1692
|
+
name: string;
|
|
1693
|
+
id: string;
|
|
1694
|
+
};
|
|
1695
|
+
createdAt: string;
|
|
1696
|
+
deliveryOrderNumber: string;
|
|
1697
|
+
}[];
|
|
1698
|
+
}[]>;
|
|
1699
|
+
purchaseRequests: import("vue").Ref<{
|
|
1700
|
+
netSuite?: {
|
|
1701
|
+
id?: string | null | undefined;
|
|
1702
|
+
errors?: {
|
|
1703
|
+
message: string;
|
|
1704
|
+
createdAt: string;
|
|
1705
|
+
}[] | null | undefined;
|
|
1706
|
+
subsidiary: {
|
|
1707
|
+
id?: string | null | undefined;
|
|
1708
|
+
name?: string | null | undefined;
|
|
1709
|
+
};
|
|
1710
|
+
} | null | undefined;
|
|
1711
|
+
purchaseOrder?: {
|
|
1712
|
+
remark?: string | null | undefined;
|
|
1713
|
+
ref?: string | null | undefined;
|
|
1714
|
+
_rev?: string | null | undefined;
|
|
1715
|
+
netSuite?: {
|
|
1716
|
+
id?: string | null | undefined;
|
|
1717
|
+
errors?: {
|
|
1718
|
+
message: string;
|
|
1719
|
+
createdAt: string;
|
|
1720
|
+
}[] | null | undefined;
|
|
1721
|
+
subsidiary: {
|
|
1722
|
+
id?: string | null | undefined;
|
|
1723
|
+
name?: string | null | undefined;
|
|
1724
|
+
};
|
|
1725
|
+
} | null | undefined;
|
|
1726
|
+
template?: string | null | undefined;
|
|
1727
|
+
templateDoc?: {
|
|
1728
|
+
_rev?: string | null | undefined;
|
|
1729
|
+
locations?: {
|
|
1730
|
+
type: "restaurant" | "warehouse";
|
|
1731
|
+
name: string;
|
|
1732
|
+
acceptRequest: boolean;
|
|
1733
|
+
dbName: string;
|
|
1734
|
+
doc: {
|
|
1735
|
+
_id: string;
|
|
1736
|
+
businessId: string;
|
|
1737
|
+
profile: {
|
|
1738
|
+
code?: string | null | undefined;
|
|
1739
|
+
_id?: string | null | undefined;
|
|
1740
|
+
name?: string | undefined;
|
|
1741
|
+
address?: {
|
|
1742
|
+
coordinates?: number[] | null | undefined;
|
|
1743
|
+
line2?: string | null | undefined;
|
|
1744
|
+
state: string;
|
|
1745
|
+
country: string;
|
|
1746
|
+
line1: string;
|
|
1747
|
+
city: string;
|
|
1748
|
+
postcode: string;
|
|
1749
|
+
} | undefined;
|
|
1750
|
+
email?: string | undefined;
|
|
1751
|
+
regNo?: string | undefined;
|
|
1752
|
+
sstRegNo?: string | null | undefined;
|
|
1753
|
+
phoneNo?: string | undefined;
|
|
1754
|
+
legalName?: string | null | undefined;
|
|
1755
|
+
discovery?: boolean | null | undefined;
|
|
1756
|
+
coverPhoto?: string | null | undefined;
|
|
1757
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1758
|
+
description?: string | null | undefined;
|
|
1759
|
+
photos?: string[] | null | undefined;
|
|
1760
|
+
operatingHours?: {
|
|
1761
|
+
0: {
|
|
1762
|
+
hours: {
|
|
1763
|
+
end: string;
|
|
1764
|
+
start: string;
|
|
1765
|
+
}[];
|
|
1766
|
+
enable: boolean;
|
|
1767
|
+
};
|
|
1768
|
+
2: {
|
|
1769
|
+
hours: {
|
|
1770
|
+
end: string;
|
|
1771
|
+
start: string;
|
|
1772
|
+
}[];
|
|
1773
|
+
enable: boolean;
|
|
1774
|
+
};
|
|
1775
|
+
1: {
|
|
1776
|
+
hours: {
|
|
1777
|
+
end: string;
|
|
1778
|
+
start: string;
|
|
1779
|
+
}[];
|
|
1780
|
+
enable: boolean;
|
|
1781
|
+
};
|
|
1782
|
+
3: {
|
|
1783
|
+
hours: {
|
|
1784
|
+
end: string;
|
|
1785
|
+
start: string;
|
|
1786
|
+
}[];
|
|
1787
|
+
enable: boolean;
|
|
1788
|
+
};
|
|
1789
|
+
4: {
|
|
1790
|
+
hours: {
|
|
1791
|
+
end: string;
|
|
1792
|
+
start: string;
|
|
1793
|
+
}[];
|
|
1794
|
+
enable: boolean;
|
|
1795
|
+
};
|
|
1796
|
+
5: {
|
|
1797
|
+
hours: {
|
|
1798
|
+
end: string;
|
|
1799
|
+
start: string;
|
|
1800
|
+
}[];
|
|
1801
|
+
enable: boolean;
|
|
1802
|
+
};
|
|
1803
|
+
6: {
|
|
1804
|
+
hours: {
|
|
1805
|
+
end: string;
|
|
1806
|
+
start: string;
|
|
1807
|
+
}[];
|
|
1808
|
+
enable: boolean;
|
|
1809
|
+
};
|
|
1810
|
+
} | null | undefined;
|
|
1811
|
+
tags?: string[] | null | undefined;
|
|
1812
|
+
url?: string | null | undefined;
|
|
1813
|
+
};
|
|
1814
|
+
};
|
|
1815
|
+
}[] | null | undefined;
|
|
1816
|
+
_id: string;
|
|
1817
|
+
name: string;
|
|
1818
|
+
purchaseOrder: {
|
|
1819
|
+
remark?: string | null | undefined;
|
|
1820
|
+
ref?: string | null | undefined;
|
|
1821
|
+
items: {
|
|
1822
|
+
measurement?: {
|
|
1823
|
+
id: string;
|
|
1824
|
+
name: string;
|
|
1825
|
+
abbrev: string;
|
|
1826
|
+
conversion: {
|
|
1827
|
+
amount: number;
|
|
1828
|
+
precision: number;
|
|
1829
|
+
};
|
|
1830
|
+
} | null | undefined;
|
|
1831
|
+
totalCost?: {
|
|
1832
|
+
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";
|
|
1833
|
+
amount: number;
|
|
1834
|
+
precision: number;
|
|
1835
|
+
} | null | undefined;
|
|
1836
|
+
sku: {
|
|
1837
|
+
trackingMeasurement?: string | null | undefined;
|
|
1838
|
+
convert?: {
|
|
1839
|
+
measurement?: string | null | undefined;
|
|
1840
|
+
inventoryBindings?: {
|
|
1841
|
+
measurement?: {
|
|
1842
|
+
id: string;
|
|
1843
|
+
name: string;
|
|
1844
|
+
abbrev: string;
|
|
1845
|
+
conversion: {
|
|
1846
|
+
amount: number;
|
|
1847
|
+
precision: number;
|
|
1848
|
+
};
|
|
1849
|
+
} | null | undefined;
|
|
1850
|
+
type: "RECIPE" | "SKU";
|
|
1851
|
+
amount: {
|
|
1852
|
+
amount: number;
|
|
1853
|
+
precision: number;
|
|
1854
|
+
};
|
|
1855
|
+
id: string;
|
|
1856
|
+
}[] | null | undefined;
|
|
1857
|
+
} | null | undefined;
|
|
1858
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1859
|
+
defaultCost?: {
|
|
1860
|
+
measurement?: {
|
|
1861
|
+
id: string;
|
|
1862
|
+
name: string;
|
|
1863
|
+
abbrev: string;
|
|
1864
|
+
conversion: {
|
|
1865
|
+
amount: number;
|
|
1866
|
+
precision: number;
|
|
1867
|
+
};
|
|
1868
|
+
} | null | undefined;
|
|
1869
|
+
costPerUnit: {
|
|
1870
|
+
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";
|
|
1871
|
+
amount: number;
|
|
1872
|
+
precision: number;
|
|
1873
|
+
};
|
|
1874
|
+
} | null | undefined;
|
|
1875
|
+
thresholds?: {
|
|
1876
|
+
low: number;
|
|
1877
|
+
mid: number;
|
|
1878
|
+
} | null | undefined;
|
|
1879
|
+
operationalGroup?: string | null | undefined;
|
|
1880
|
+
unit: {
|
|
1881
|
+
_id: string;
|
|
1882
|
+
name: string;
|
|
1883
|
+
abbrev: string;
|
|
1884
|
+
precision: number;
|
|
1885
|
+
measurements: {
|
|
1886
|
+
id: string;
|
|
1887
|
+
name: string;
|
|
1888
|
+
abbrev: string;
|
|
1889
|
+
conversion: {
|
|
1890
|
+
amount: number;
|
|
1891
|
+
precision: number;
|
|
1892
|
+
};
|
|
1893
|
+
}[];
|
|
1894
|
+
};
|
|
1895
|
+
code: string;
|
|
1896
|
+
_id: string;
|
|
1897
|
+
name: string;
|
|
1898
|
+
};
|
|
1899
|
+
code: string;
|
|
1900
|
+
name: string;
|
|
1901
|
+
quantity: {
|
|
1902
|
+
amount: number;
|
|
1903
|
+
precision: number;
|
|
1904
|
+
};
|
|
1905
|
+
quantityStep: {
|
|
1906
|
+
amount: number;
|
|
1907
|
+
precision: number;
|
|
1908
|
+
};
|
|
1909
|
+
minimumQuantity: {
|
|
1910
|
+
amount: number;
|
|
1911
|
+
precision: number;
|
|
1912
|
+
};
|
|
1913
|
+
maximumQuantity: {
|
|
1914
|
+
amount: number;
|
|
1915
|
+
precision: number;
|
|
1916
|
+
};
|
|
1917
|
+
}[];
|
|
1918
|
+
supplier: {
|
|
1919
|
+
phoneNumber?: string | null | undefined;
|
|
1920
|
+
email?: string | null | undefined;
|
|
1921
|
+
_rev?: string | null | undefined;
|
|
1922
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1923
|
+
contactName?: string | null | undefined;
|
|
1924
|
+
registrationNumber?: string | undefined;
|
|
1925
|
+
supplyItems?: {
|
|
1926
|
+
defaultCost: {
|
|
1927
|
+
measurement?: {
|
|
1928
|
+
id: string;
|
|
1929
|
+
name: string;
|
|
1930
|
+
abbrev: string;
|
|
1931
|
+
conversion: {
|
|
1932
|
+
amount: number;
|
|
1933
|
+
precision: number;
|
|
1934
|
+
};
|
|
1935
|
+
} | null | undefined;
|
|
1936
|
+
costPerUnit: {
|
|
1937
|
+
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";
|
|
1938
|
+
amount: number;
|
|
1939
|
+
precision: number;
|
|
1940
|
+
};
|
|
1941
|
+
};
|
|
1942
|
+
skuId: string;
|
|
1943
|
+
}[] | null | undefined;
|
|
1944
|
+
_id: string;
|
|
1945
|
+
name: string;
|
|
1946
|
+
address: {
|
|
1947
|
+
line2?: string | null | undefined;
|
|
1948
|
+
line1: string;
|
|
1949
|
+
state: string;
|
|
1950
|
+
city: string;
|
|
1951
|
+
postcode: string;
|
|
1952
|
+
country: string;
|
|
1953
|
+
};
|
|
982
1954
|
};
|
|
983
|
-
code: string;
|
|
984
|
-
_id: string;
|
|
985
|
-
name: string;
|
|
986
|
-
};
|
|
987
|
-
amount: {
|
|
988
|
-
amount: number;
|
|
989
|
-
precision: number;
|
|
990
|
-
};
|
|
991
|
-
}[];
|
|
992
|
-
createdBy: {
|
|
993
|
-
name: string;
|
|
994
|
-
id: string;
|
|
995
|
-
};
|
|
996
|
-
createdAt: string;
|
|
997
|
-
deliveryOrderNumber: string;
|
|
998
|
-
}[];
|
|
999
|
-
}[]>;
|
|
1000
|
-
purchaseRequests: import("vue").Ref<{
|
|
1001
|
-
netSuite?: {
|
|
1002
|
-
id?: string | null | undefined;
|
|
1003
|
-
errors?: string[] | null | undefined;
|
|
1004
|
-
subsidiary: {
|
|
1005
|
-
id?: string | null | undefined;
|
|
1006
|
-
name?: string | null | undefined;
|
|
1007
|
-
};
|
|
1008
|
-
} | null | undefined;
|
|
1009
|
-
purchaseOrder?: {
|
|
1010
|
-
remark?: string | null | undefined;
|
|
1011
|
-
ref?: string | null | undefined;
|
|
1012
|
-
_rev?: string | null | undefined;
|
|
1013
|
-
netSuite?: {
|
|
1014
|
-
id?: string | null | undefined;
|
|
1015
|
-
errors?: string[] | null | undefined;
|
|
1016
|
-
subsidiary: {
|
|
1017
|
-
id?: string | null | undefined;
|
|
1018
|
-
name?: string | null | undefined;
|
|
1019
1955
|
};
|
|
1020
1956
|
} | null | undefined;
|
|
1021
|
-
template?: string | null | undefined;
|
|
1022
1957
|
request?: {
|
|
1023
1958
|
id: string;
|
|
1024
1959
|
adjustmentIds: string[];
|
|
@@ -1354,7 +2289,10 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
1354
2289
|
}[], {
|
|
1355
2290
|
netSuite?: {
|
|
1356
2291
|
id?: string | null | undefined;
|
|
1357
|
-
errors?:
|
|
2292
|
+
errors?: {
|
|
2293
|
+
message: string;
|
|
2294
|
+
createdAt: string;
|
|
2295
|
+
}[] | null | undefined;
|
|
1358
2296
|
subsidiary: {
|
|
1359
2297
|
id?: string | null | undefined;
|
|
1360
2298
|
name?: string | null | undefined;
|
|
@@ -1366,13 +2304,246 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
1366
2304
|
_rev?: string | null | undefined;
|
|
1367
2305
|
netSuite?: {
|
|
1368
2306
|
id?: string | null | undefined;
|
|
1369
|
-
errors?:
|
|
2307
|
+
errors?: {
|
|
2308
|
+
message: string;
|
|
2309
|
+
createdAt: string;
|
|
2310
|
+
}[] | null | undefined;
|
|
1370
2311
|
subsidiary: {
|
|
1371
2312
|
id?: string | null | undefined;
|
|
1372
2313
|
name?: string | null | undefined;
|
|
1373
2314
|
};
|
|
1374
2315
|
} | null | undefined;
|
|
1375
2316
|
template?: string | null | undefined;
|
|
2317
|
+
templateDoc?: {
|
|
2318
|
+
_rev?: string | null | undefined;
|
|
2319
|
+
locations?: {
|
|
2320
|
+
type: "restaurant" | "warehouse";
|
|
2321
|
+
name: string;
|
|
2322
|
+
acceptRequest: boolean;
|
|
2323
|
+
dbName: string;
|
|
2324
|
+
doc: {
|
|
2325
|
+
_id: string;
|
|
2326
|
+
businessId: string;
|
|
2327
|
+
profile: {
|
|
2328
|
+
code?: string | null | undefined;
|
|
2329
|
+
_id?: string | null | undefined;
|
|
2330
|
+
name?: string | undefined;
|
|
2331
|
+
address?: {
|
|
2332
|
+
coordinates?: number[] | null | undefined;
|
|
2333
|
+
line2?: string | null | undefined;
|
|
2334
|
+
state: string;
|
|
2335
|
+
country: string;
|
|
2336
|
+
line1: string;
|
|
2337
|
+
city: string;
|
|
2338
|
+
postcode: string;
|
|
2339
|
+
} | undefined;
|
|
2340
|
+
email?: string | undefined;
|
|
2341
|
+
regNo?: string | undefined;
|
|
2342
|
+
sstRegNo?: string | null | undefined;
|
|
2343
|
+
phoneNo?: string | undefined;
|
|
2344
|
+
legalName?: string | null | undefined;
|
|
2345
|
+
discovery?: boolean | null | undefined;
|
|
2346
|
+
coverPhoto?: string | null | undefined;
|
|
2347
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2348
|
+
description?: string | null | undefined;
|
|
2349
|
+
photos?: string[] | null | undefined;
|
|
2350
|
+
operatingHours?: {
|
|
2351
|
+
0: {
|
|
2352
|
+
hours: {
|
|
2353
|
+
end: string;
|
|
2354
|
+
start: string;
|
|
2355
|
+
}[];
|
|
2356
|
+
enable: boolean;
|
|
2357
|
+
};
|
|
2358
|
+
2: {
|
|
2359
|
+
hours: {
|
|
2360
|
+
end: string;
|
|
2361
|
+
start: string;
|
|
2362
|
+
}[];
|
|
2363
|
+
enable: boolean;
|
|
2364
|
+
};
|
|
2365
|
+
1: {
|
|
2366
|
+
hours: {
|
|
2367
|
+
end: string;
|
|
2368
|
+
start: string;
|
|
2369
|
+
}[];
|
|
2370
|
+
enable: boolean;
|
|
2371
|
+
};
|
|
2372
|
+
3: {
|
|
2373
|
+
hours: {
|
|
2374
|
+
end: string;
|
|
2375
|
+
start: string;
|
|
2376
|
+
}[];
|
|
2377
|
+
enable: boolean;
|
|
2378
|
+
};
|
|
2379
|
+
4: {
|
|
2380
|
+
hours: {
|
|
2381
|
+
end: string;
|
|
2382
|
+
start: string;
|
|
2383
|
+
}[];
|
|
2384
|
+
enable: boolean;
|
|
2385
|
+
};
|
|
2386
|
+
5: {
|
|
2387
|
+
hours: {
|
|
2388
|
+
end: string;
|
|
2389
|
+
start: string;
|
|
2390
|
+
}[];
|
|
2391
|
+
enable: boolean;
|
|
2392
|
+
};
|
|
2393
|
+
6: {
|
|
2394
|
+
hours: {
|
|
2395
|
+
end: string;
|
|
2396
|
+
start: string;
|
|
2397
|
+
}[];
|
|
2398
|
+
enable: boolean;
|
|
2399
|
+
};
|
|
2400
|
+
} | null | undefined;
|
|
2401
|
+
tags?: string[] | null | undefined;
|
|
2402
|
+
url?: string | null | undefined;
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
}[] | null | undefined;
|
|
2406
|
+
_id: string;
|
|
2407
|
+
name: string;
|
|
2408
|
+
purchaseOrder: {
|
|
2409
|
+
remark?: string | null | undefined;
|
|
2410
|
+
ref?: string | null | undefined;
|
|
2411
|
+
items: {
|
|
2412
|
+
measurement?: {
|
|
2413
|
+
id: string;
|
|
2414
|
+
name: string;
|
|
2415
|
+
abbrev: string;
|
|
2416
|
+
conversion: {
|
|
2417
|
+
amount: number;
|
|
2418
|
+
precision: number;
|
|
2419
|
+
};
|
|
2420
|
+
} | null | undefined;
|
|
2421
|
+
totalCost?: {
|
|
2422
|
+
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";
|
|
2423
|
+
amount: number;
|
|
2424
|
+
precision: number;
|
|
2425
|
+
} | null | undefined;
|
|
2426
|
+
sku: {
|
|
2427
|
+
trackingMeasurement?: string | null | undefined;
|
|
2428
|
+
convert?: {
|
|
2429
|
+
measurement?: string | null | undefined;
|
|
2430
|
+
inventoryBindings?: {
|
|
2431
|
+
measurement?: {
|
|
2432
|
+
id: string;
|
|
2433
|
+
name: string;
|
|
2434
|
+
abbrev: string;
|
|
2435
|
+
conversion: {
|
|
2436
|
+
amount: number;
|
|
2437
|
+
precision: number;
|
|
2438
|
+
};
|
|
2439
|
+
} | null | undefined;
|
|
2440
|
+
type: "RECIPE" | "SKU";
|
|
2441
|
+
amount: {
|
|
2442
|
+
amount: number;
|
|
2443
|
+
precision: number;
|
|
2444
|
+
};
|
|
2445
|
+
id: string;
|
|
2446
|
+
}[] | null | undefined;
|
|
2447
|
+
} | null | undefined;
|
|
2448
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2449
|
+
defaultCost?: {
|
|
2450
|
+
measurement?: {
|
|
2451
|
+
id: string;
|
|
2452
|
+
name: string;
|
|
2453
|
+
abbrev: string;
|
|
2454
|
+
conversion: {
|
|
2455
|
+
amount: number;
|
|
2456
|
+
precision: number;
|
|
2457
|
+
};
|
|
2458
|
+
} | null | undefined;
|
|
2459
|
+
costPerUnit: {
|
|
2460
|
+
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";
|
|
2461
|
+
amount: number;
|
|
2462
|
+
precision: number;
|
|
2463
|
+
};
|
|
2464
|
+
} | null | undefined;
|
|
2465
|
+
thresholds?: {
|
|
2466
|
+
low: number;
|
|
2467
|
+
mid: number;
|
|
2468
|
+
} | null | undefined;
|
|
2469
|
+
operationalGroup?: string | null | undefined;
|
|
2470
|
+
unit: {
|
|
2471
|
+
_id: string;
|
|
2472
|
+
name: string;
|
|
2473
|
+
abbrev: string;
|
|
2474
|
+
precision: number;
|
|
2475
|
+
measurements: {
|
|
2476
|
+
id: string;
|
|
2477
|
+
name: string;
|
|
2478
|
+
abbrev: string;
|
|
2479
|
+
conversion: {
|
|
2480
|
+
amount: number;
|
|
2481
|
+
precision: number;
|
|
2482
|
+
};
|
|
2483
|
+
}[];
|
|
2484
|
+
};
|
|
2485
|
+
code: string;
|
|
2486
|
+
_id: string;
|
|
2487
|
+
name: string;
|
|
2488
|
+
};
|
|
2489
|
+
code: string;
|
|
2490
|
+
name: string;
|
|
2491
|
+
quantity: {
|
|
2492
|
+
amount: number;
|
|
2493
|
+
precision: number;
|
|
2494
|
+
};
|
|
2495
|
+
quantityStep: {
|
|
2496
|
+
amount: number;
|
|
2497
|
+
precision: number;
|
|
2498
|
+
};
|
|
2499
|
+
minimumQuantity: {
|
|
2500
|
+
amount: number;
|
|
2501
|
+
precision: number;
|
|
2502
|
+
};
|
|
2503
|
+
maximumQuantity: {
|
|
2504
|
+
amount: number;
|
|
2505
|
+
precision: number;
|
|
2506
|
+
};
|
|
2507
|
+
}[];
|
|
2508
|
+
supplier: {
|
|
2509
|
+
phoneNumber?: string | null | undefined;
|
|
2510
|
+
email?: string | null | undefined;
|
|
2511
|
+
_rev?: string | null | undefined;
|
|
2512
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2513
|
+
contactName?: string | null | undefined;
|
|
2514
|
+
registrationNumber?: string | undefined;
|
|
2515
|
+
supplyItems?: {
|
|
2516
|
+
defaultCost: {
|
|
2517
|
+
measurement?: {
|
|
2518
|
+
id: string;
|
|
2519
|
+
name: string;
|
|
2520
|
+
abbrev: string;
|
|
2521
|
+
conversion: {
|
|
2522
|
+
amount: number;
|
|
2523
|
+
precision: number;
|
|
2524
|
+
};
|
|
2525
|
+
} | null | undefined;
|
|
2526
|
+
costPerUnit: {
|
|
2527
|
+
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";
|
|
2528
|
+
amount: number;
|
|
2529
|
+
precision: number;
|
|
2530
|
+
};
|
|
2531
|
+
};
|
|
2532
|
+
skuId: string;
|
|
2533
|
+
}[] | null | undefined;
|
|
2534
|
+
_id: string;
|
|
2535
|
+
name: string;
|
|
2536
|
+
address: {
|
|
2537
|
+
line2?: string | null | undefined;
|
|
2538
|
+
line1: string;
|
|
2539
|
+
state: string;
|
|
2540
|
+
city: string;
|
|
2541
|
+
postcode: string;
|
|
2542
|
+
country: string;
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
} | null | undefined;
|
|
1376
2547
|
request?: {
|
|
1377
2548
|
id: string;
|
|
1378
2549
|
adjustmentIds: string[];
|
|
@@ -1708,7 +2879,10 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
1708
2879
|
}[] | {
|
|
1709
2880
|
netSuite?: {
|
|
1710
2881
|
id?: string | null | undefined;
|
|
1711
|
-
errors?:
|
|
2882
|
+
errors?: {
|
|
2883
|
+
message: string;
|
|
2884
|
+
createdAt: string;
|
|
2885
|
+
}[] | null | undefined;
|
|
1712
2886
|
subsidiary: {
|
|
1713
2887
|
id?: string | null | undefined;
|
|
1714
2888
|
name?: string | null | undefined;
|
|
@@ -1720,13 +2894,246 @@ export declare function useReceiveRequestForm(scope: 'receive/request' | 'approv
|
|
|
1720
2894
|
_rev?: string | null | undefined;
|
|
1721
2895
|
netSuite?: {
|
|
1722
2896
|
id?: string | null | undefined;
|
|
1723
|
-
errors?:
|
|
2897
|
+
errors?: {
|
|
2898
|
+
message: string;
|
|
2899
|
+
createdAt: string;
|
|
2900
|
+
}[] | null | undefined;
|
|
1724
2901
|
subsidiary: {
|
|
1725
2902
|
id?: string | null | undefined;
|
|
1726
2903
|
name?: string | null | undefined;
|
|
1727
2904
|
};
|
|
1728
2905
|
} | null | undefined;
|
|
1729
2906
|
template?: string | null | undefined;
|
|
2907
|
+
templateDoc?: {
|
|
2908
|
+
_rev?: string | null | undefined;
|
|
2909
|
+
locations?: {
|
|
2910
|
+
type: "restaurant" | "warehouse";
|
|
2911
|
+
name: string;
|
|
2912
|
+
acceptRequest: boolean;
|
|
2913
|
+
dbName: string;
|
|
2914
|
+
doc: {
|
|
2915
|
+
_id: string;
|
|
2916
|
+
businessId: string;
|
|
2917
|
+
profile: {
|
|
2918
|
+
code?: string | null | undefined;
|
|
2919
|
+
_id?: string | null | undefined;
|
|
2920
|
+
name?: string | undefined;
|
|
2921
|
+
address?: {
|
|
2922
|
+
coordinates?: number[] | null | undefined;
|
|
2923
|
+
line2?: string | null | undefined;
|
|
2924
|
+
state: string;
|
|
2925
|
+
country: string;
|
|
2926
|
+
line1: string;
|
|
2927
|
+
city: string;
|
|
2928
|
+
postcode: string;
|
|
2929
|
+
} | undefined;
|
|
2930
|
+
email?: string | undefined;
|
|
2931
|
+
regNo?: string | undefined;
|
|
2932
|
+
sstRegNo?: string | null | undefined;
|
|
2933
|
+
phoneNo?: string | undefined;
|
|
2934
|
+
legalName?: string | null | undefined;
|
|
2935
|
+
discovery?: boolean | null | undefined;
|
|
2936
|
+
coverPhoto?: string | null | undefined;
|
|
2937
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2938
|
+
description?: string | null | undefined;
|
|
2939
|
+
photos?: string[] | null | undefined;
|
|
2940
|
+
operatingHours?: {
|
|
2941
|
+
0: {
|
|
2942
|
+
hours: {
|
|
2943
|
+
end: string;
|
|
2944
|
+
start: string;
|
|
2945
|
+
}[];
|
|
2946
|
+
enable: boolean;
|
|
2947
|
+
};
|
|
2948
|
+
2: {
|
|
2949
|
+
hours: {
|
|
2950
|
+
end: string;
|
|
2951
|
+
start: string;
|
|
2952
|
+
}[];
|
|
2953
|
+
enable: boolean;
|
|
2954
|
+
};
|
|
2955
|
+
1: {
|
|
2956
|
+
hours: {
|
|
2957
|
+
end: string;
|
|
2958
|
+
start: string;
|
|
2959
|
+
}[];
|
|
2960
|
+
enable: boolean;
|
|
2961
|
+
};
|
|
2962
|
+
3: {
|
|
2963
|
+
hours: {
|
|
2964
|
+
end: string;
|
|
2965
|
+
start: string;
|
|
2966
|
+
}[];
|
|
2967
|
+
enable: boolean;
|
|
2968
|
+
};
|
|
2969
|
+
4: {
|
|
2970
|
+
hours: {
|
|
2971
|
+
end: string;
|
|
2972
|
+
start: string;
|
|
2973
|
+
}[];
|
|
2974
|
+
enable: boolean;
|
|
2975
|
+
};
|
|
2976
|
+
5: {
|
|
2977
|
+
hours: {
|
|
2978
|
+
end: string;
|
|
2979
|
+
start: string;
|
|
2980
|
+
}[];
|
|
2981
|
+
enable: boolean;
|
|
2982
|
+
};
|
|
2983
|
+
6: {
|
|
2984
|
+
hours: {
|
|
2985
|
+
end: string;
|
|
2986
|
+
start: string;
|
|
2987
|
+
}[];
|
|
2988
|
+
enable: boolean;
|
|
2989
|
+
};
|
|
2990
|
+
} | null | undefined;
|
|
2991
|
+
tags?: string[] | null | undefined;
|
|
2992
|
+
url?: string | null | undefined;
|
|
2993
|
+
};
|
|
2994
|
+
};
|
|
2995
|
+
}[] | null | undefined;
|
|
2996
|
+
_id: string;
|
|
2997
|
+
name: string;
|
|
2998
|
+
purchaseOrder: {
|
|
2999
|
+
remark?: string | null | undefined;
|
|
3000
|
+
ref?: string | null | undefined;
|
|
3001
|
+
items: {
|
|
3002
|
+
measurement?: {
|
|
3003
|
+
id: string;
|
|
3004
|
+
name: string;
|
|
3005
|
+
abbrev: string;
|
|
3006
|
+
conversion: {
|
|
3007
|
+
amount: number;
|
|
3008
|
+
precision: number;
|
|
3009
|
+
};
|
|
3010
|
+
} | null | undefined;
|
|
3011
|
+
totalCost?: {
|
|
3012
|
+
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";
|
|
3013
|
+
amount: number;
|
|
3014
|
+
precision: number;
|
|
3015
|
+
} | null | undefined;
|
|
3016
|
+
sku: {
|
|
3017
|
+
trackingMeasurement?: string | null | undefined;
|
|
3018
|
+
convert?: {
|
|
3019
|
+
measurement?: string | null | undefined;
|
|
3020
|
+
inventoryBindings?: {
|
|
3021
|
+
measurement?: {
|
|
3022
|
+
id: string;
|
|
3023
|
+
name: string;
|
|
3024
|
+
abbrev: string;
|
|
3025
|
+
conversion: {
|
|
3026
|
+
amount: number;
|
|
3027
|
+
precision: number;
|
|
3028
|
+
};
|
|
3029
|
+
} | null | undefined;
|
|
3030
|
+
type: "RECIPE" | "SKU";
|
|
3031
|
+
amount: {
|
|
3032
|
+
amount: number;
|
|
3033
|
+
precision: number;
|
|
3034
|
+
};
|
|
3035
|
+
id: string;
|
|
3036
|
+
}[] | null | undefined;
|
|
3037
|
+
} | null | undefined;
|
|
3038
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3039
|
+
defaultCost?: {
|
|
3040
|
+
measurement?: {
|
|
3041
|
+
id: string;
|
|
3042
|
+
name: string;
|
|
3043
|
+
abbrev: string;
|
|
3044
|
+
conversion: {
|
|
3045
|
+
amount: number;
|
|
3046
|
+
precision: number;
|
|
3047
|
+
};
|
|
3048
|
+
} | null | undefined;
|
|
3049
|
+
costPerUnit: {
|
|
3050
|
+
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";
|
|
3051
|
+
amount: number;
|
|
3052
|
+
precision: number;
|
|
3053
|
+
};
|
|
3054
|
+
} | null | undefined;
|
|
3055
|
+
thresholds?: {
|
|
3056
|
+
low: number;
|
|
3057
|
+
mid: number;
|
|
3058
|
+
} | null | undefined;
|
|
3059
|
+
operationalGroup?: string | null | undefined;
|
|
3060
|
+
unit: {
|
|
3061
|
+
_id: string;
|
|
3062
|
+
name: string;
|
|
3063
|
+
abbrev: string;
|
|
3064
|
+
precision: number;
|
|
3065
|
+
measurements: {
|
|
3066
|
+
id: string;
|
|
3067
|
+
name: string;
|
|
3068
|
+
abbrev: string;
|
|
3069
|
+
conversion: {
|
|
3070
|
+
amount: number;
|
|
3071
|
+
precision: number;
|
|
3072
|
+
};
|
|
3073
|
+
}[];
|
|
3074
|
+
};
|
|
3075
|
+
code: string;
|
|
3076
|
+
_id: string;
|
|
3077
|
+
name: string;
|
|
3078
|
+
};
|
|
3079
|
+
code: string;
|
|
3080
|
+
name: string;
|
|
3081
|
+
quantity: {
|
|
3082
|
+
amount: number;
|
|
3083
|
+
precision: number;
|
|
3084
|
+
};
|
|
3085
|
+
quantityStep: {
|
|
3086
|
+
amount: number;
|
|
3087
|
+
precision: number;
|
|
3088
|
+
};
|
|
3089
|
+
minimumQuantity: {
|
|
3090
|
+
amount: number;
|
|
3091
|
+
precision: number;
|
|
3092
|
+
};
|
|
3093
|
+
maximumQuantity: {
|
|
3094
|
+
amount: number;
|
|
3095
|
+
precision: number;
|
|
3096
|
+
};
|
|
3097
|
+
}[];
|
|
3098
|
+
supplier: {
|
|
3099
|
+
phoneNumber?: string | null | undefined;
|
|
3100
|
+
email?: string | null | undefined;
|
|
3101
|
+
_rev?: string | null | undefined;
|
|
3102
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
3103
|
+
contactName?: string | null | undefined;
|
|
3104
|
+
registrationNumber?: string | undefined;
|
|
3105
|
+
supplyItems?: {
|
|
3106
|
+
defaultCost: {
|
|
3107
|
+
measurement?: {
|
|
3108
|
+
id: string;
|
|
3109
|
+
name: string;
|
|
3110
|
+
abbrev: string;
|
|
3111
|
+
conversion: {
|
|
3112
|
+
amount: number;
|
|
3113
|
+
precision: number;
|
|
3114
|
+
};
|
|
3115
|
+
} | null | undefined;
|
|
3116
|
+
costPerUnit: {
|
|
3117
|
+
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";
|
|
3118
|
+
amount: number;
|
|
3119
|
+
precision: number;
|
|
3120
|
+
};
|
|
3121
|
+
};
|
|
3122
|
+
skuId: string;
|
|
3123
|
+
}[] | null | undefined;
|
|
3124
|
+
_id: string;
|
|
3125
|
+
name: string;
|
|
3126
|
+
address: {
|
|
3127
|
+
line2?: string | null | undefined;
|
|
3128
|
+
line1: string;
|
|
3129
|
+
state: string;
|
|
3130
|
+
city: string;
|
|
3131
|
+
postcode: string;
|
|
3132
|
+
country: string;
|
|
3133
|
+
};
|
|
3134
|
+
};
|
|
3135
|
+
};
|
|
3136
|
+
} | null | undefined;
|
|
1730
3137
|
request?: {
|
|
1731
3138
|
id: string;
|
|
1732
3139
|
adjustmentIds: string[];
|