@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
|
@@ -18,13 +18,246 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
18
18
|
_rev?: string | null | undefined;
|
|
19
19
|
netSuite?: {
|
|
20
20
|
id?: string | null | undefined;
|
|
21
|
-
errors?:
|
|
21
|
+
errors?: {
|
|
22
|
+
message: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
}[] | null | undefined;
|
|
22
25
|
subsidiary: {
|
|
23
26
|
id?: string | null | undefined;
|
|
24
27
|
name?: string | null | undefined;
|
|
25
28
|
};
|
|
26
29
|
} | null | undefined;
|
|
27
30
|
template?: string | null | undefined;
|
|
31
|
+
templateDoc?: {
|
|
32
|
+
_rev?: string | null | undefined;
|
|
33
|
+
locations?: {
|
|
34
|
+
type: "restaurant" | "warehouse";
|
|
35
|
+
name: string;
|
|
36
|
+
acceptRequest: boolean;
|
|
37
|
+
dbName: string;
|
|
38
|
+
doc: {
|
|
39
|
+
_id: string;
|
|
40
|
+
businessId: string;
|
|
41
|
+
profile: {
|
|
42
|
+
code?: string | null | undefined;
|
|
43
|
+
_id?: string | null | undefined;
|
|
44
|
+
name?: string | undefined;
|
|
45
|
+
address?: {
|
|
46
|
+
coordinates?: number[] | null | undefined;
|
|
47
|
+
line2?: string | null | undefined;
|
|
48
|
+
state: string;
|
|
49
|
+
country: string;
|
|
50
|
+
line1: string;
|
|
51
|
+
city: string;
|
|
52
|
+
postcode: string;
|
|
53
|
+
} | undefined;
|
|
54
|
+
email?: string | undefined;
|
|
55
|
+
regNo?: string | undefined;
|
|
56
|
+
sstRegNo?: string | null | undefined;
|
|
57
|
+
phoneNo?: string | undefined;
|
|
58
|
+
legalName?: string | null | undefined;
|
|
59
|
+
discovery?: boolean | null | undefined;
|
|
60
|
+
coverPhoto?: string | null | undefined;
|
|
61
|
+
thumbnailPhoto?: string | null | undefined;
|
|
62
|
+
description?: string | null | undefined;
|
|
63
|
+
photos?: string[] | null | undefined;
|
|
64
|
+
operatingHours?: {
|
|
65
|
+
0: {
|
|
66
|
+
hours: {
|
|
67
|
+
end: string;
|
|
68
|
+
start: string;
|
|
69
|
+
}[];
|
|
70
|
+
enable: boolean;
|
|
71
|
+
};
|
|
72
|
+
2: {
|
|
73
|
+
hours: {
|
|
74
|
+
end: string;
|
|
75
|
+
start: string;
|
|
76
|
+
}[];
|
|
77
|
+
enable: boolean;
|
|
78
|
+
};
|
|
79
|
+
1: {
|
|
80
|
+
hours: {
|
|
81
|
+
end: string;
|
|
82
|
+
start: string;
|
|
83
|
+
}[];
|
|
84
|
+
enable: boolean;
|
|
85
|
+
};
|
|
86
|
+
3: {
|
|
87
|
+
hours: {
|
|
88
|
+
end: string;
|
|
89
|
+
start: string;
|
|
90
|
+
}[];
|
|
91
|
+
enable: boolean;
|
|
92
|
+
};
|
|
93
|
+
4: {
|
|
94
|
+
hours: {
|
|
95
|
+
end: string;
|
|
96
|
+
start: string;
|
|
97
|
+
}[];
|
|
98
|
+
enable: boolean;
|
|
99
|
+
};
|
|
100
|
+
5: {
|
|
101
|
+
hours: {
|
|
102
|
+
end: string;
|
|
103
|
+
start: string;
|
|
104
|
+
}[];
|
|
105
|
+
enable: boolean;
|
|
106
|
+
};
|
|
107
|
+
6: {
|
|
108
|
+
hours: {
|
|
109
|
+
end: string;
|
|
110
|
+
start: string;
|
|
111
|
+
}[];
|
|
112
|
+
enable: boolean;
|
|
113
|
+
};
|
|
114
|
+
} | null | undefined;
|
|
115
|
+
tags?: string[] | null | undefined;
|
|
116
|
+
url?: string | null | undefined;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}[] | null | undefined;
|
|
120
|
+
_id: string;
|
|
121
|
+
name: string;
|
|
122
|
+
purchaseOrder: {
|
|
123
|
+
remark?: string | null | undefined;
|
|
124
|
+
ref?: string | null | undefined;
|
|
125
|
+
items: {
|
|
126
|
+
measurement?: {
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
abbrev: string;
|
|
130
|
+
conversion: {
|
|
131
|
+
amount: number;
|
|
132
|
+
precision: number;
|
|
133
|
+
};
|
|
134
|
+
} | null | undefined;
|
|
135
|
+
totalCost?: {
|
|
136
|
+
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";
|
|
137
|
+
amount: number;
|
|
138
|
+
precision: number;
|
|
139
|
+
} | null | undefined;
|
|
140
|
+
sku: {
|
|
141
|
+
trackingMeasurement?: string | null | undefined;
|
|
142
|
+
convert?: {
|
|
143
|
+
measurement?: string | null | undefined;
|
|
144
|
+
inventoryBindings?: {
|
|
145
|
+
measurement?: {
|
|
146
|
+
id: string;
|
|
147
|
+
name: string;
|
|
148
|
+
abbrev: string;
|
|
149
|
+
conversion: {
|
|
150
|
+
amount: number;
|
|
151
|
+
precision: number;
|
|
152
|
+
};
|
|
153
|
+
} | null | undefined;
|
|
154
|
+
type: "RECIPE" | "SKU";
|
|
155
|
+
amount: {
|
|
156
|
+
amount: number;
|
|
157
|
+
precision: number;
|
|
158
|
+
};
|
|
159
|
+
id: string;
|
|
160
|
+
}[] | null | undefined;
|
|
161
|
+
} | null | undefined;
|
|
162
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
163
|
+
defaultCost?: {
|
|
164
|
+
measurement?: {
|
|
165
|
+
id: string;
|
|
166
|
+
name: string;
|
|
167
|
+
abbrev: string;
|
|
168
|
+
conversion: {
|
|
169
|
+
amount: number;
|
|
170
|
+
precision: number;
|
|
171
|
+
};
|
|
172
|
+
} | null | undefined;
|
|
173
|
+
costPerUnit: {
|
|
174
|
+
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";
|
|
175
|
+
amount: number;
|
|
176
|
+
precision: number;
|
|
177
|
+
};
|
|
178
|
+
} | null | undefined;
|
|
179
|
+
thresholds?: {
|
|
180
|
+
low: number;
|
|
181
|
+
mid: number;
|
|
182
|
+
} | null | undefined;
|
|
183
|
+
operationalGroup?: string | null | undefined;
|
|
184
|
+
unit: {
|
|
185
|
+
_id: string;
|
|
186
|
+
name: string;
|
|
187
|
+
abbrev: string;
|
|
188
|
+
precision: number;
|
|
189
|
+
measurements: {
|
|
190
|
+
id: string;
|
|
191
|
+
name: string;
|
|
192
|
+
abbrev: string;
|
|
193
|
+
conversion: {
|
|
194
|
+
amount: number;
|
|
195
|
+
precision: number;
|
|
196
|
+
};
|
|
197
|
+
}[];
|
|
198
|
+
};
|
|
199
|
+
code: string;
|
|
200
|
+
_id: string;
|
|
201
|
+
name: string;
|
|
202
|
+
};
|
|
203
|
+
code: string;
|
|
204
|
+
name: string;
|
|
205
|
+
quantity: {
|
|
206
|
+
amount: number;
|
|
207
|
+
precision: number;
|
|
208
|
+
};
|
|
209
|
+
quantityStep: {
|
|
210
|
+
amount: number;
|
|
211
|
+
precision: number;
|
|
212
|
+
};
|
|
213
|
+
minimumQuantity: {
|
|
214
|
+
amount: number;
|
|
215
|
+
precision: number;
|
|
216
|
+
};
|
|
217
|
+
maximumQuantity: {
|
|
218
|
+
amount: number;
|
|
219
|
+
precision: number;
|
|
220
|
+
};
|
|
221
|
+
}[];
|
|
222
|
+
supplier: {
|
|
223
|
+
phoneNumber?: string | null | undefined;
|
|
224
|
+
email?: string | null | undefined;
|
|
225
|
+
_rev?: string | null | undefined;
|
|
226
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
227
|
+
contactName?: string | null | undefined;
|
|
228
|
+
registrationNumber?: string | undefined;
|
|
229
|
+
supplyItems?: {
|
|
230
|
+
defaultCost: {
|
|
231
|
+
measurement?: {
|
|
232
|
+
id: string;
|
|
233
|
+
name: string;
|
|
234
|
+
abbrev: string;
|
|
235
|
+
conversion: {
|
|
236
|
+
amount: number;
|
|
237
|
+
precision: number;
|
|
238
|
+
};
|
|
239
|
+
} | null | undefined;
|
|
240
|
+
costPerUnit: {
|
|
241
|
+
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";
|
|
242
|
+
amount: number;
|
|
243
|
+
precision: number;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
skuId: string;
|
|
247
|
+
}[] | null | undefined;
|
|
248
|
+
_id: string;
|
|
249
|
+
name: string;
|
|
250
|
+
address: {
|
|
251
|
+
line2?: string | null | undefined;
|
|
252
|
+
line1: string;
|
|
253
|
+
state: string;
|
|
254
|
+
city: string;
|
|
255
|
+
postcode: string;
|
|
256
|
+
country: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
} | null | undefined;
|
|
28
261
|
request?: {
|
|
29
262
|
id: string;
|
|
30
263
|
adjustmentIds: string[];
|
|
@@ -389,13 +622,246 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
389
622
|
_rev?: string | null | undefined;
|
|
390
623
|
netSuite?: {
|
|
391
624
|
id?: string | null | undefined;
|
|
392
|
-
errors?:
|
|
625
|
+
errors?: {
|
|
626
|
+
message: string;
|
|
627
|
+
createdAt: string;
|
|
628
|
+
}[] | null | undefined;
|
|
393
629
|
subsidiary: {
|
|
394
630
|
id?: string | null | undefined;
|
|
395
631
|
name?: string | null | undefined;
|
|
396
632
|
};
|
|
397
633
|
} | null | undefined;
|
|
398
634
|
template?: string | null | undefined;
|
|
635
|
+
templateDoc?: {
|
|
636
|
+
_rev?: string | null | undefined;
|
|
637
|
+
locations?: {
|
|
638
|
+
type: "restaurant" | "warehouse";
|
|
639
|
+
name: string;
|
|
640
|
+
acceptRequest: boolean;
|
|
641
|
+
dbName: string;
|
|
642
|
+
doc: {
|
|
643
|
+
_id: string;
|
|
644
|
+
businessId: string;
|
|
645
|
+
profile: {
|
|
646
|
+
code?: string | null | undefined;
|
|
647
|
+
_id?: string | null | undefined;
|
|
648
|
+
name?: string | undefined;
|
|
649
|
+
address?: {
|
|
650
|
+
coordinates?: number[] | null | undefined;
|
|
651
|
+
line2?: string | null | undefined;
|
|
652
|
+
state: string;
|
|
653
|
+
country: string;
|
|
654
|
+
line1: string;
|
|
655
|
+
city: string;
|
|
656
|
+
postcode: string;
|
|
657
|
+
} | undefined;
|
|
658
|
+
email?: string | undefined;
|
|
659
|
+
regNo?: string | undefined;
|
|
660
|
+
sstRegNo?: string | null | undefined;
|
|
661
|
+
phoneNo?: string | undefined;
|
|
662
|
+
legalName?: string | null | undefined;
|
|
663
|
+
discovery?: boolean | null | undefined;
|
|
664
|
+
coverPhoto?: string | null | undefined;
|
|
665
|
+
thumbnailPhoto?: string | null | undefined;
|
|
666
|
+
description?: string | null | undefined;
|
|
667
|
+
photos?: string[] | null | undefined;
|
|
668
|
+
operatingHours?: {
|
|
669
|
+
0: {
|
|
670
|
+
hours: {
|
|
671
|
+
end: string;
|
|
672
|
+
start: string;
|
|
673
|
+
}[];
|
|
674
|
+
enable: boolean;
|
|
675
|
+
};
|
|
676
|
+
2: {
|
|
677
|
+
hours: {
|
|
678
|
+
end: string;
|
|
679
|
+
start: string;
|
|
680
|
+
}[];
|
|
681
|
+
enable: boolean;
|
|
682
|
+
};
|
|
683
|
+
1: {
|
|
684
|
+
hours: {
|
|
685
|
+
end: string;
|
|
686
|
+
start: string;
|
|
687
|
+
}[];
|
|
688
|
+
enable: boolean;
|
|
689
|
+
};
|
|
690
|
+
3: {
|
|
691
|
+
hours: {
|
|
692
|
+
end: string;
|
|
693
|
+
start: string;
|
|
694
|
+
}[];
|
|
695
|
+
enable: boolean;
|
|
696
|
+
};
|
|
697
|
+
4: {
|
|
698
|
+
hours: {
|
|
699
|
+
end: string;
|
|
700
|
+
start: string;
|
|
701
|
+
}[];
|
|
702
|
+
enable: boolean;
|
|
703
|
+
};
|
|
704
|
+
5: {
|
|
705
|
+
hours: {
|
|
706
|
+
end: string;
|
|
707
|
+
start: string;
|
|
708
|
+
}[];
|
|
709
|
+
enable: boolean;
|
|
710
|
+
};
|
|
711
|
+
6: {
|
|
712
|
+
hours: {
|
|
713
|
+
end: string;
|
|
714
|
+
start: string;
|
|
715
|
+
}[];
|
|
716
|
+
enable: boolean;
|
|
717
|
+
};
|
|
718
|
+
} | null | undefined;
|
|
719
|
+
tags?: string[] | null | undefined;
|
|
720
|
+
url?: string | null | undefined;
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
}[] | null | undefined;
|
|
724
|
+
_id: string;
|
|
725
|
+
name: string;
|
|
726
|
+
purchaseOrder: {
|
|
727
|
+
remark?: string | null | undefined;
|
|
728
|
+
ref?: string | null | undefined;
|
|
729
|
+
items: {
|
|
730
|
+
measurement?: {
|
|
731
|
+
id: string;
|
|
732
|
+
name: string;
|
|
733
|
+
abbrev: string;
|
|
734
|
+
conversion: {
|
|
735
|
+
amount: number;
|
|
736
|
+
precision: number;
|
|
737
|
+
};
|
|
738
|
+
} | null | undefined;
|
|
739
|
+
totalCost?: {
|
|
740
|
+
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";
|
|
741
|
+
amount: number;
|
|
742
|
+
precision: number;
|
|
743
|
+
} | null | undefined;
|
|
744
|
+
sku: {
|
|
745
|
+
trackingMeasurement?: string | null | undefined;
|
|
746
|
+
convert?: {
|
|
747
|
+
measurement?: string | null | undefined;
|
|
748
|
+
inventoryBindings?: {
|
|
749
|
+
measurement?: {
|
|
750
|
+
id: string;
|
|
751
|
+
name: string;
|
|
752
|
+
abbrev: string;
|
|
753
|
+
conversion: {
|
|
754
|
+
amount: number;
|
|
755
|
+
precision: number;
|
|
756
|
+
};
|
|
757
|
+
} | null | undefined;
|
|
758
|
+
type: "RECIPE" | "SKU";
|
|
759
|
+
amount: {
|
|
760
|
+
amount: number;
|
|
761
|
+
precision: number;
|
|
762
|
+
};
|
|
763
|
+
id: string;
|
|
764
|
+
}[] | null | undefined;
|
|
765
|
+
} | null | undefined;
|
|
766
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
767
|
+
defaultCost?: {
|
|
768
|
+
measurement?: {
|
|
769
|
+
id: string;
|
|
770
|
+
name: string;
|
|
771
|
+
abbrev: string;
|
|
772
|
+
conversion: {
|
|
773
|
+
amount: number;
|
|
774
|
+
precision: number;
|
|
775
|
+
};
|
|
776
|
+
} | null | undefined;
|
|
777
|
+
costPerUnit: {
|
|
778
|
+
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";
|
|
779
|
+
amount: number;
|
|
780
|
+
precision: number;
|
|
781
|
+
};
|
|
782
|
+
} | null | undefined;
|
|
783
|
+
thresholds?: {
|
|
784
|
+
low: number;
|
|
785
|
+
mid: number;
|
|
786
|
+
} | null | undefined;
|
|
787
|
+
operationalGroup?: string | null | undefined;
|
|
788
|
+
unit: {
|
|
789
|
+
_id: string;
|
|
790
|
+
name: string;
|
|
791
|
+
abbrev: string;
|
|
792
|
+
precision: number;
|
|
793
|
+
measurements: {
|
|
794
|
+
id: string;
|
|
795
|
+
name: string;
|
|
796
|
+
abbrev: string;
|
|
797
|
+
conversion: {
|
|
798
|
+
amount: number;
|
|
799
|
+
precision: number;
|
|
800
|
+
};
|
|
801
|
+
}[];
|
|
802
|
+
};
|
|
803
|
+
code: string;
|
|
804
|
+
_id: string;
|
|
805
|
+
name: string;
|
|
806
|
+
};
|
|
807
|
+
code: string;
|
|
808
|
+
name: string;
|
|
809
|
+
quantity: {
|
|
810
|
+
amount: number;
|
|
811
|
+
precision: number;
|
|
812
|
+
};
|
|
813
|
+
quantityStep: {
|
|
814
|
+
amount: number;
|
|
815
|
+
precision: number;
|
|
816
|
+
};
|
|
817
|
+
minimumQuantity: {
|
|
818
|
+
amount: number;
|
|
819
|
+
precision: number;
|
|
820
|
+
};
|
|
821
|
+
maximumQuantity: {
|
|
822
|
+
amount: number;
|
|
823
|
+
precision: number;
|
|
824
|
+
};
|
|
825
|
+
}[];
|
|
826
|
+
supplier: {
|
|
827
|
+
phoneNumber?: string | null | undefined;
|
|
828
|
+
email?: string | null | undefined;
|
|
829
|
+
_rev?: string | null | undefined;
|
|
830
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
831
|
+
contactName?: string | null | undefined;
|
|
832
|
+
registrationNumber?: string | undefined;
|
|
833
|
+
supplyItems?: {
|
|
834
|
+
defaultCost: {
|
|
835
|
+
measurement?: {
|
|
836
|
+
id: string;
|
|
837
|
+
name: string;
|
|
838
|
+
abbrev: string;
|
|
839
|
+
conversion: {
|
|
840
|
+
amount: number;
|
|
841
|
+
precision: number;
|
|
842
|
+
};
|
|
843
|
+
} | null | undefined;
|
|
844
|
+
costPerUnit: {
|
|
845
|
+
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";
|
|
846
|
+
amount: number;
|
|
847
|
+
precision: number;
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
skuId: string;
|
|
851
|
+
}[] | null | undefined;
|
|
852
|
+
_id: string;
|
|
853
|
+
name: string;
|
|
854
|
+
address: {
|
|
855
|
+
line2?: string | null | undefined;
|
|
856
|
+
line1: string;
|
|
857
|
+
state: string;
|
|
858
|
+
city: string;
|
|
859
|
+
postcode: string;
|
|
860
|
+
country: string;
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
} | null | undefined;
|
|
399
865
|
request?: {
|
|
400
866
|
id: string;
|
|
401
867
|
adjustmentIds: string[];
|
|
@@ -730,13 +1196,246 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
730
1196
|
_rev?: string | null | undefined;
|
|
731
1197
|
netSuite?: {
|
|
732
1198
|
id?: string | null | undefined;
|
|
733
|
-
errors?:
|
|
1199
|
+
errors?: {
|
|
1200
|
+
message: string;
|
|
1201
|
+
createdAt: string;
|
|
1202
|
+
}[] | null | undefined;
|
|
734
1203
|
subsidiary: {
|
|
735
1204
|
id?: string | null | undefined;
|
|
736
1205
|
name?: string | null | undefined;
|
|
737
1206
|
};
|
|
738
1207
|
} | null | undefined;
|
|
739
1208
|
template?: string | null | undefined;
|
|
1209
|
+
templateDoc?: {
|
|
1210
|
+
_rev?: string | null | undefined;
|
|
1211
|
+
locations?: {
|
|
1212
|
+
type: "restaurant" | "warehouse";
|
|
1213
|
+
name: string;
|
|
1214
|
+
acceptRequest: boolean;
|
|
1215
|
+
dbName: string;
|
|
1216
|
+
doc: {
|
|
1217
|
+
_id: string;
|
|
1218
|
+
businessId: string;
|
|
1219
|
+
profile: {
|
|
1220
|
+
code?: string | null | undefined;
|
|
1221
|
+
_id?: string | null | undefined;
|
|
1222
|
+
name?: string | undefined;
|
|
1223
|
+
address?: {
|
|
1224
|
+
coordinates?: number[] | null | undefined;
|
|
1225
|
+
line2?: string | null | undefined;
|
|
1226
|
+
state: string;
|
|
1227
|
+
country: string;
|
|
1228
|
+
line1: string;
|
|
1229
|
+
city: string;
|
|
1230
|
+
postcode: string;
|
|
1231
|
+
} | undefined;
|
|
1232
|
+
email?: string | undefined;
|
|
1233
|
+
regNo?: string | undefined;
|
|
1234
|
+
sstRegNo?: string | null | undefined;
|
|
1235
|
+
phoneNo?: string | undefined;
|
|
1236
|
+
legalName?: string | null | undefined;
|
|
1237
|
+
discovery?: boolean | null | undefined;
|
|
1238
|
+
coverPhoto?: string | null | undefined;
|
|
1239
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1240
|
+
description?: string | null | undefined;
|
|
1241
|
+
photos?: string[] | null | undefined;
|
|
1242
|
+
operatingHours?: {
|
|
1243
|
+
0: {
|
|
1244
|
+
hours: {
|
|
1245
|
+
end: string;
|
|
1246
|
+
start: string;
|
|
1247
|
+
}[];
|
|
1248
|
+
enable: boolean;
|
|
1249
|
+
};
|
|
1250
|
+
2: {
|
|
1251
|
+
hours: {
|
|
1252
|
+
end: string;
|
|
1253
|
+
start: string;
|
|
1254
|
+
}[];
|
|
1255
|
+
enable: boolean;
|
|
1256
|
+
};
|
|
1257
|
+
1: {
|
|
1258
|
+
hours: {
|
|
1259
|
+
end: string;
|
|
1260
|
+
start: string;
|
|
1261
|
+
}[];
|
|
1262
|
+
enable: boolean;
|
|
1263
|
+
};
|
|
1264
|
+
3: {
|
|
1265
|
+
hours: {
|
|
1266
|
+
end: string;
|
|
1267
|
+
start: string;
|
|
1268
|
+
}[];
|
|
1269
|
+
enable: boolean;
|
|
1270
|
+
};
|
|
1271
|
+
4: {
|
|
1272
|
+
hours: {
|
|
1273
|
+
end: string;
|
|
1274
|
+
start: string;
|
|
1275
|
+
}[];
|
|
1276
|
+
enable: boolean;
|
|
1277
|
+
};
|
|
1278
|
+
5: {
|
|
1279
|
+
hours: {
|
|
1280
|
+
end: string;
|
|
1281
|
+
start: string;
|
|
1282
|
+
}[];
|
|
1283
|
+
enable: boolean;
|
|
1284
|
+
};
|
|
1285
|
+
6: {
|
|
1286
|
+
hours: {
|
|
1287
|
+
end: string;
|
|
1288
|
+
start: string;
|
|
1289
|
+
}[];
|
|
1290
|
+
enable: boolean;
|
|
1291
|
+
};
|
|
1292
|
+
} | null | undefined;
|
|
1293
|
+
tags?: string[] | null | undefined;
|
|
1294
|
+
url?: string | null | undefined;
|
|
1295
|
+
};
|
|
1296
|
+
};
|
|
1297
|
+
}[] | null | undefined;
|
|
1298
|
+
_id: string;
|
|
1299
|
+
name: string;
|
|
1300
|
+
purchaseOrder: {
|
|
1301
|
+
remark?: string | null | undefined;
|
|
1302
|
+
ref?: string | null | undefined;
|
|
1303
|
+
items: {
|
|
1304
|
+
measurement?: {
|
|
1305
|
+
id: string;
|
|
1306
|
+
name: string;
|
|
1307
|
+
abbrev: string;
|
|
1308
|
+
conversion: {
|
|
1309
|
+
amount: number;
|
|
1310
|
+
precision: number;
|
|
1311
|
+
};
|
|
1312
|
+
} | null | undefined;
|
|
1313
|
+
totalCost?: {
|
|
1314
|
+
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";
|
|
1315
|
+
amount: number;
|
|
1316
|
+
precision: number;
|
|
1317
|
+
} | null | undefined;
|
|
1318
|
+
sku: {
|
|
1319
|
+
trackingMeasurement?: string | null | undefined;
|
|
1320
|
+
convert?: {
|
|
1321
|
+
measurement?: string | null | undefined;
|
|
1322
|
+
inventoryBindings?: {
|
|
1323
|
+
measurement?: {
|
|
1324
|
+
id: string;
|
|
1325
|
+
name: string;
|
|
1326
|
+
abbrev: string;
|
|
1327
|
+
conversion: {
|
|
1328
|
+
amount: number;
|
|
1329
|
+
precision: number;
|
|
1330
|
+
};
|
|
1331
|
+
} | null | undefined;
|
|
1332
|
+
type: "RECIPE" | "SKU";
|
|
1333
|
+
amount: {
|
|
1334
|
+
amount: number;
|
|
1335
|
+
precision: number;
|
|
1336
|
+
};
|
|
1337
|
+
id: string;
|
|
1338
|
+
}[] | null | undefined;
|
|
1339
|
+
} | null | undefined;
|
|
1340
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1341
|
+
defaultCost?: {
|
|
1342
|
+
measurement?: {
|
|
1343
|
+
id: string;
|
|
1344
|
+
name: string;
|
|
1345
|
+
abbrev: string;
|
|
1346
|
+
conversion: {
|
|
1347
|
+
amount: number;
|
|
1348
|
+
precision: number;
|
|
1349
|
+
};
|
|
1350
|
+
} | null | undefined;
|
|
1351
|
+
costPerUnit: {
|
|
1352
|
+
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";
|
|
1353
|
+
amount: number;
|
|
1354
|
+
precision: number;
|
|
1355
|
+
};
|
|
1356
|
+
} | null | undefined;
|
|
1357
|
+
thresholds?: {
|
|
1358
|
+
low: number;
|
|
1359
|
+
mid: number;
|
|
1360
|
+
} | null | undefined;
|
|
1361
|
+
operationalGroup?: string | null | undefined;
|
|
1362
|
+
unit: {
|
|
1363
|
+
_id: string;
|
|
1364
|
+
name: string;
|
|
1365
|
+
abbrev: string;
|
|
1366
|
+
precision: number;
|
|
1367
|
+
measurements: {
|
|
1368
|
+
id: string;
|
|
1369
|
+
name: string;
|
|
1370
|
+
abbrev: string;
|
|
1371
|
+
conversion: {
|
|
1372
|
+
amount: number;
|
|
1373
|
+
precision: number;
|
|
1374
|
+
};
|
|
1375
|
+
}[];
|
|
1376
|
+
};
|
|
1377
|
+
code: string;
|
|
1378
|
+
_id: string;
|
|
1379
|
+
name: string;
|
|
1380
|
+
};
|
|
1381
|
+
code: string;
|
|
1382
|
+
name: string;
|
|
1383
|
+
quantity: {
|
|
1384
|
+
amount: number;
|
|
1385
|
+
precision: number;
|
|
1386
|
+
};
|
|
1387
|
+
quantityStep: {
|
|
1388
|
+
amount: number;
|
|
1389
|
+
precision: number;
|
|
1390
|
+
};
|
|
1391
|
+
minimumQuantity: {
|
|
1392
|
+
amount: number;
|
|
1393
|
+
precision: number;
|
|
1394
|
+
};
|
|
1395
|
+
maximumQuantity: {
|
|
1396
|
+
amount: number;
|
|
1397
|
+
precision: number;
|
|
1398
|
+
};
|
|
1399
|
+
}[];
|
|
1400
|
+
supplier: {
|
|
1401
|
+
phoneNumber?: string | null | undefined;
|
|
1402
|
+
email?: string | null | undefined;
|
|
1403
|
+
_rev?: string | null | undefined;
|
|
1404
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1405
|
+
contactName?: string | null | undefined;
|
|
1406
|
+
registrationNumber?: string | undefined;
|
|
1407
|
+
supplyItems?: {
|
|
1408
|
+
defaultCost: {
|
|
1409
|
+
measurement?: {
|
|
1410
|
+
id: string;
|
|
1411
|
+
name: string;
|
|
1412
|
+
abbrev: string;
|
|
1413
|
+
conversion: {
|
|
1414
|
+
amount: number;
|
|
1415
|
+
precision: number;
|
|
1416
|
+
};
|
|
1417
|
+
} | null | undefined;
|
|
1418
|
+
costPerUnit: {
|
|
1419
|
+
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";
|
|
1420
|
+
amount: number;
|
|
1421
|
+
precision: number;
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
skuId: string;
|
|
1425
|
+
}[] | null | undefined;
|
|
1426
|
+
_id: string;
|
|
1427
|
+
name: string;
|
|
1428
|
+
address: {
|
|
1429
|
+
line2?: string | null | undefined;
|
|
1430
|
+
line1: string;
|
|
1431
|
+
state: string;
|
|
1432
|
+
city: string;
|
|
1433
|
+
postcode: string;
|
|
1434
|
+
country: string;
|
|
1435
|
+
};
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
} | null | undefined;
|
|
740
1439
|
request?: {
|
|
741
1440
|
id: string;
|
|
742
1441
|
adjustmentIds: string[];
|
|
@@ -1083,7 +1782,10 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1083
1782
|
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
1084
1783
|
netSuite?: {
|
|
1085
1784
|
id?: string | null | undefined;
|
|
1086
|
-
errors?:
|
|
1785
|
+
errors?: {
|
|
1786
|
+
message: string;
|
|
1787
|
+
createdAt: string;
|
|
1788
|
+
}[] | null | undefined;
|
|
1087
1789
|
subsidiary: {
|
|
1088
1790
|
id?: string | null | undefined;
|
|
1089
1791
|
name?: string | null | undefined;
|
|
@@ -1095,13 +1797,246 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1095
1797
|
_rev?: string | null | undefined;
|
|
1096
1798
|
netSuite?: {
|
|
1097
1799
|
id?: string | null | undefined;
|
|
1098
|
-
errors?:
|
|
1800
|
+
errors?: {
|
|
1801
|
+
message: string;
|
|
1802
|
+
createdAt: string;
|
|
1803
|
+
}[] | null | undefined;
|
|
1099
1804
|
subsidiary: {
|
|
1100
1805
|
id?: string | null | undefined;
|
|
1101
1806
|
name?: string | null | undefined;
|
|
1102
1807
|
};
|
|
1103
1808
|
} | null | undefined;
|
|
1104
|
-
template?: string | null | undefined;
|
|
1809
|
+
template?: string | null | undefined;
|
|
1810
|
+
templateDoc?: {
|
|
1811
|
+
_rev?: string | null | undefined;
|
|
1812
|
+
locations?: {
|
|
1813
|
+
type: "restaurant" | "warehouse";
|
|
1814
|
+
name: string;
|
|
1815
|
+
acceptRequest: boolean;
|
|
1816
|
+
dbName: string;
|
|
1817
|
+
doc: {
|
|
1818
|
+
_id: string;
|
|
1819
|
+
businessId: string;
|
|
1820
|
+
profile: {
|
|
1821
|
+
code?: string | null | undefined;
|
|
1822
|
+
_id?: string | null | undefined;
|
|
1823
|
+
name?: string | undefined;
|
|
1824
|
+
address?: {
|
|
1825
|
+
coordinates?: number[] | null | undefined;
|
|
1826
|
+
line2?: string | null | undefined;
|
|
1827
|
+
state: string;
|
|
1828
|
+
country: string;
|
|
1829
|
+
line1: string;
|
|
1830
|
+
city: string;
|
|
1831
|
+
postcode: string;
|
|
1832
|
+
} | undefined;
|
|
1833
|
+
email?: string | undefined;
|
|
1834
|
+
regNo?: string | undefined;
|
|
1835
|
+
sstRegNo?: string | null | undefined;
|
|
1836
|
+
phoneNo?: string | undefined;
|
|
1837
|
+
legalName?: string | null | undefined;
|
|
1838
|
+
discovery?: boolean | null | undefined;
|
|
1839
|
+
coverPhoto?: string | null | undefined;
|
|
1840
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1841
|
+
description?: string | null | undefined;
|
|
1842
|
+
photos?: string[] | null | undefined;
|
|
1843
|
+
operatingHours?: {
|
|
1844
|
+
0: {
|
|
1845
|
+
hours: {
|
|
1846
|
+
end: string;
|
|
1847
|
+
start: string;
|
|
1848
|
+
}[];
|
|
1849
|
+
enable: boolean;
|
|
1850
|
+
};
|
|
1851
|
+
2: {
|
|
1852
|
+
hours: {
|
|
1853
|
+
end: string;
|
|
1854
|
+
start: string;
|
|
1855
|
+
}[];
|
|
1856
|
+
enable: boolean;
|
|
1857
|
+
};
|
|
1858
|
+
1: {
|
|
1859
|
+
hours: {
|
|
1860
|
+
end: string;
|
|
1861
|
+
start: string;
|
|
1862
|
+
}[];
|
|
1863
|
+
enable: boolean;
|
|
1864
|
+
};
|
|
1865
|
+
3: {
|
|
1866
|
+
hours: {
|
|
1867
|
+
end: string;
|
|
1868
|
+
start: string;
|
|
1869
|
+
}[];
|
|
1870
|
+
enable: boolean;
|
|
1871
|
+
};
|
|
1872
|
+
4: {
|
|
1873
|
+
hours: {
|
|
1874
|
+
end: string;
|
|
1875
|
+
start: string;
|
|
1876
|
+
}[];
|
|
1877
|
+
enable: boolean;
|
|
1878
|
+
};
|
|
1879
|
+
5: {
|
|
1880
|
+
hours: {
|
|
1881
|
+
end: string;
|
|
1882
|
+
start: string;
|
|
1883
|
+
}[];
|
|
1884
|
+
enable: boolean;
|
|
1885
|
+
};
|
|
1886
|
+
6: {
|
|
1887
|
+
hours: {
|
|
1888
|
+
end: string;
|
|
1889
|
+
start: string;
|
|
1890
|
+
}[];
|
|
1891
|
+
enable: boolean;
|
|
1892
|
+
};
|
|
1893
|
+
} | null | undefined;
|
|
1894
|
+
tags?: string[] | null | undefined;
|
|
1895
|
+
url?: string | null | undefined;
|
|
1896
|
+
};
|
|
1897
|
+
};
|
|
1898
|
+
}[] | null | undefined;
|
|
1899
|
+
_id: string;
|
|
1900
|
+
name: string;
|
|
1901
|
+
purchaseOrder: {
|
|
1902
|
+
remark?: string | null | undefined;
|
|
1903
|
+
ref?: string | null | undefined;
|
|
1904
|
+
items: {
|
|
1905
|
+
measurement?: {
|
|
1906
|
+
id: string;
|
|
1907
|
+
name: string;
|
|
1908
|
+
abbrev: string;
|
|
1909
|
+
conversion: {
|
|
1910
|
+
amount: number;
|
|
1911
|
+
precision: number;
|
|
1912
|
+
};
|
|
1913
|
+
} | null | undefined;
|
|
1914
|
+
totalCost?: {
|
|
1915
|
+
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";
|
|
1916
|
+
amount: number;
|
|
1917
|
+
precision: number;
|
|
1918
|
+
} | null | undefined;
|
|
1919
|
+
sku: {
|
|
1920
|
+
trackingMeasurement?: string | null | undefined;
|
|
1921
|
+
convert?: {
|
|
1922
|
+
measurement?: string | null | undefined;
|
|
1923
|
+
inventoryBindings?: {
|
|
1924
|
+
measurement?: {
|
|
1925
|
+
id: string;
|
|
1926
|
+
name: string;
|
|
1927
|
+
abbrev: string;
|
|
1928
|
+
conversion: {
|
|
1929
|
+
amount: number;
|
|
1930
|
+
precision: number;
|
|
1931
|
+
};
|
|
1932
|
+
} | null | undefined;
|
|
1933
|
+
type: "RECIPE" | "SKU";
|
|
1934
|
+
amount: {
|
|
1935
|
+
amount: number;
|
|
1936
|
+
precision: number;
|
|
1937
|
+
};
|
|
1938
|
+
id: string;
|
|
1939
|
+
}[] | null | undefined;
|
|
1940
|
+
} | null | undefined;
|
|
1941
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1942
|
+
defaultCost?: {
|
|
1943
|
+
measurement?: {
|
|
1944
|
+
id: string;
|
|
1945
|
+
name: string;
|
|
1946
|
+
abbrev: string;
|
|
1947
|
+
conversion: {
|
|
1948
|
+
amount: number;
|
|
1949
|
+
precision: number;
|
|
1950
|
+
};
|
|
1951
|
+
} | null | undefined;
|
|
1952
|
+
costPerUnit: {
|
|
1953
|
+
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";
|
|
1954
|
+
amount: number;
|
|
1955
|
+
precision: number;
|
|
1956
|
+
};
|
|
1957
|
+
} | null | undefined;
|
|
1958
|
+
thresholds?: {
|
|
1959
|
+
low: number;
|
|
1960
|
+
mid: number;
|
|
1961
|
+
} | null | undefined;
|
|
1962
|
+
operationalGroup?: string | null | undefined;
|
|
1963
|
+
unit: {
|
|
1964
|
+
_id: string;
|
|
1965
|
+
name: string;
|
|
1966
|
+
abbrev: string;
|
|
1967
|
+
precision: number;
|
|
1968
|
+
measurements: {
|
|
1969
|
+
id: string;
|
|
1970
|
+
name: string;
|
|
1971
|
+
abbrev: string;
|
|
1972
|
+
conversion: {
|
|
1973
|
+
amount: number;
|
|
1974
|
+
precision: number;
|
|
1975
|
+
};
|
|
1976
|
+
}[];
|
|
1977
|
+
};
|
|
1978
|
+
code: string;
|
|
1979
|
+
_id: string;
|
|
1980
|
+
name: string;
|
|
1981
|
+
};
|
|
1982
|
+
code: string;
|
|
1983
|
+
name: string;
|
|
1984
|
+
quantity: {
|
|
1985
|
+
amount: number;
|
|
1986
|
+
precision: number;
|
|
1987
|
+
};
|
|
1988
|
+
quantityStep: {
|
|
1989
|
+
amount: number;
|
|
1990
|
+
precision: number;
|
|
1991
|
+
};
|
|
1992
|
+
minimumQuantity: {
|
|
1993
|
+
amount: number;
|
|
1994
|
+
precision: number;
|
|
1995
|
+
};
|
|
1996
|
+
maximumQuantity: {
|
|
1997
|
+
amount: number;
|
|
1998
|
+
precision: number;
|
|
1999
|
+
};
|
|
2000
|
+
}[];
|
|
2001
|
+
supplier: {
|
|
2002
|
+
phoneNumber?: string | null | undefined;
|
|
2003
|
+
email?: string | null | undefined;
|
|
2004
|
+
_rev?: string | null | undefined;
|
|
2005
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2006
|
+
contactName?: string | null | undefined;
|
|
2007
|
+
registrationNumber?: string | undefined;
|
|
2008
|
+
supplyItems?: {
|
|
2009
|
+
defaultCost: {
|
|
2010
|
+
measurement?: {
|
|
2011
|
+
id: string;
|
|
2012
|
+
name: string;
|
|
2013
|
+
abbrev: string;
|
|
2014
|
+
conversion: {
|
|
2015
|
+
amount: number;
|
|
2016
|
+
precision: number;
|
|
2017
|
+
};
|
|
2018
|
+
} | null | undefined;
|
|
2019
|
+
costPerUnit: {
|
|
2020
|
+
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";
|
|
2021
|
+
amount: number;
|
|
2022
|
+
precision: number;
|
|
2023
|
+
};
|
|
2024
|
+
};
|
|
2025
|
+
skuId: string;
|
|
2026
|
+
}[] | null | undefined;
|
|
2027
|
+
_id: string;
|
|
2028
|
+
name: string;
|
|
2029
|
+
address: {
|
|
2030
|
+
line2?: string | null | undefined;
|
|
2031
|
+
line1: string;
|
|
2032
|
+
state: string;
|
|
2033
|
+
city: string;
|
|
2034
|
+
postcode: string;
|
|
2035
|
+
country: string;
|
|
2036
|
+
};
|
|
2037
|
+
};
|
|
2038
|
+
};
|
|
2039
|
+
} | null | undefined;
|
|
1105
2040
|
request?: {
|
|
1106
2041
|
id: string;
|
|
1107
2042
|
adjustmentIds: string[];
|
|
@@ -1473,7 +2408,10 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1473
2408
|
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
1474
2409
|
netSuite?: {
|
|
1475
2410
|
id?: string | null | undefined;
|
|
1476
|
-
errors?:
|
|
2411
|
+
errors?: {
|
|
2412
|
+
message: string;
|
|
2413
|
+
createdAt: string;
|
|
2414
|
+
}[] | null | undefined;
|
|
1477
2415
|
subsidiary: {
|
|
1478
2416
|
id?: string | null | undefined;
|
|
1479
2417
|
name?: string | null | undefined;
|
|
@@ -1485,13 +2423,246 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1485
2423
|
_rev?: string | null | undefined;
|
|
1486
2424
|
netSuite?: {
|
|
1487
2425
|
id?: string | null | undefined;
|
|
1488
|
-
errors?:
|
|
2426
|
+
errors?: {
|
|
2427
|
+
message: string;
|
|
2428
|
+
createdAt: string;
|
|
2429
|
+
}[] | null | undefined;
|
|
1489
2430
|
subsidiary: {
|
|
1490
2431
|
id?: string | null | undefined;
|
|
1491
2432
|
name?: string | null | undefined;
|
|
1492
2433
|
};
|
|
1493
2434
|
} | null | undefined;
|
|
1494
2435
|
template?: string | null | undefined;
|
|
2436
|
+
templateDoc?: {
|
|
2437
|
+
_rev?: string | null | undefined;
|
|
2438
|
+
locations?: {
|
|
2439
|
+
type: "restaurant" | "warehouse";
|
|
2440
|
+
name: string;
|
|
2441
|
+
acceptRequest: boolean;
|
|
2442
|
+
dbName: string;
|
|
2443
|
+
doc: {
|
|
2444
|
+
_id: string;
|
|
2445
|
+
businessId: string;
|
|
2446
|
+
profile: {
|
|
2447
|
+
code?: string | null | undefined;
|
|
2448
|
+
_id?: string | null | undefined;
|
|
2449
|
+
name?: string | undefined;
|
|
2450
|
+
address?: {
|
|
2451
|
+
coordinates?: number[] | null | undefined;
|
|
2452
|
+
line2?: string | null | undefined;
|
|
2453
|
+
state: string;
|
|
2454
|
+
country: string;
|
|
2455
|
+
line1: string;
|
|
2456
|
+
city: string;
|
|
2457
|
+
postcode: string;
|
|
2458
|
+
} | undefined;
|
|
2459
|
+
email?: string | undefined;
|
|
2460
|
+
regNo?: string | undefined;
|
|
2461
|
+
sstRegNo?: string | null | undefined;
|
|
2462
|
+
phoneNo?: string | undefined;
|
|
2463
|
+
legalName?: string | null | undefined;
|
|
2464
|
+
discovery?: boolean | null | undefined;
|
|
2465
|
+
coverPhoto?: string | null | undefined;
|
|
2466
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2467
|
+
description?: string | null | undefined;
|
|
2468
|
+
photos?: string[] | null | undefined;
|
|
2469
|
+
operatingHours?: {
|
|
2470
|
+
0: {
|
|
2471
|
+
hours: {
|
|
2472
|
+
end: string;
|
|
2473
|
+
start: string;
|
|
2474
|
+
}[];
|
|
2475
|
+
enable: boolean;
|
|
2476
|
+
};
|
|
2477
|
+
2: {
|
|
2478
|
+
hours: {
|
|
2479
|
+
end: string;
|
|
2480
|
+
start: string;
|
|
2481
|
+
}[];
|
|
2482
|
+
enable: boolean;
|
|
2483
|
+
};
|
|
2484
|
+
1: {
|
|
2485
|
+
hours: {
|
|
2486
|
+
end: string;
|
|
2487
|
+
start: string;
|
|
2488
|
+
}[];
|
|
2489
|
+
enable: boolean;
|
|
2490
|
+
};
|
|
2491
|
+
3: {
|
|
2492
|
+
hours: {
|
|
2493
|
+
end: string;
|
|
2494
|
+
start: string;
|
|
2495
|
+
}[];
|
|
2496
|
+
enable: boolean;
|
|
2497
|
+
};
|
|
2498
|
+
4: {
|
|
2499
|
+
hours: {
|
|
2500
|
+
end: string;
|
|
2501
|
+
start: string;
|
|
2502
|
+
}[];
|
|
2503
|
+
enable: boolean;
|
|
2504
|
+
};
|
|
2505
|
+
5: {
|
|
2506
|
+
hours: {
|
|
2507
|
+
end: string;
|
|
2508
|
+
start: string;
|
|
2509
|
+
}[];
|
|
2510
|
+
enable: boolean;
|
|
2511
|
+
};
|
|
2512
|
+
6: {
|
|
2513
|
+
hours: {
|
|
2514
|
+
end: string;
|
|
2515
|
+
start: string;
|
|
2516
|
+
}[];
|
|
2517
|
+
enable: boolean;
|
|
2518
|
+
};
|
|
2519
|
+
} | null | undefined;
|
|
2520
|
+
tags?: string[] | null | undefined;
|
|
2521
|
+
url?: string | null | undefined;
|
|
2522
|
+
};
|
|
2523
|
+
};
|
|
2524
|
+
}[] | null | undefined;
|
|
2525
|
+
_id: string;
|
|
2526
|
+
name: string;
|
|
2527
|
+
purchaseOrder: {
|
|
2528
|
+
remark?: string | null | undefined;
|
|
2529
|
+
ref?: string | null | undefined;
|
|
2530
|
+
items: {
|
|
2531
|
+
measurement?: {
|
|
2532
|
+
id: string;
|
|
2533
|
+
name: string;
|
|
2534
|
+
abbrev: string;
|
|
2535
|
+
conversion: {
|
|
2536
|
+
amount: number;
|
|
2537
|
+
precision: number;
|
|
2538
|
+
};
|
|
2539
|
+
} | null | undefined;
|
|
2540
|
+
totalCost?: {
|
|
2541
|
+
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";
|
|
2542
|
+
amount: number;
|
|
2543
|
+
precision: number;
|
|
2544
|
+
} | null | undefined;
|
|
2545
|
+
sku: {
|
|
2546
|
+
trackingMeasurement?: string | null | undefined;
|
|
2547
|
+
convert?: {
|
|
2548
|
+
measurement?: string | null | undefined;
|
|
2549
|
+
inventoryBindings?: {
|
|
2550
|
+
measurement?: {
|
|
2551
|
+
id: string;
|
|
2552
|
+
name: string;
|
|
2553
|
+
abbrev: string;
|
|
2554
|
+
conversion: {
|
|
2555
|
+
amount: number;
|
|
2556
|
+
precision: number;
|
|
2557
|
+
};
|
|
2558
|
+
} | null | undefined;
|
|
2559
|
+
type: "RECIPE" | "SKU";
|
|
2560
|
+
amount: {
|
|
2561
|
+
amount: number;
|
|
2562
|
+
precision: number;
|
|
2563
|
+
};
|
|
2564
|
+
id: string;
|
|
2565
|
+
}[] | null | undefined;
|
|
2566
|
+
} | null | undefined;
|
|
2567
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2568
|
+
defaultCost?: {
|
|
2569
|
+
measurement?: {
|
|
2570
|
+
id: string;
|
|
2571
|
+
name: string;
|
|
2572
|
+
abbrev: string;
|
|
2573
|
+
conversion: {
|
|
2574
|
+
amount: number;
|
|
2575
|
+
precision: number;
|
|
2576
|
+
};
|
|
2577
|
+
} | null | undefined;
|
|
2578
|
+
costPerUnit: {
|
|
2579
|
+
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";
|
|
2580
|
+
amount: number;
|
|
2581
|
+
precision: number;
|
|
2582
|
+
};
|
|
2583
|
+
} | null | undefined;
|
|
2584
|
+
thresholds?: {
|
|
2585
|
+
low: number;
|
|
2586
|
+
mid: number;
|
|
2587
|
+
} | null | undefined;
|
|
2588
|
+
operationalGroup?: string | null | undefined;
|
|
2589
|
+
unit: {
|
|
2590
|
+
_id: string;
|
|
2591
|
+
name: string;
|
|
2592
|
+
abbrev: string;
|
|
2593
|
+
precision: number;
|
|
2594
|
+
measurements: {
|
|
2595
|
+
id: string;
|
|
2596
|
+
name: string;
|
|
2597
|
+
abbrev: string;
|
|
2598
|
+
conversion: {
|
|
2599
|
+
amount: number;
|
|
2600
|
+
precision: number;
|
|
2601
|
+
};
|
|
2602
|
+
}[];
|
|
2603
|
+
};
|
|
2604
|
+
code: string;
|
|
2605
|
+
_id: string;
|
|
2606
|
+
name: string;
|
|
2607
|
+
};
|
|
2608
|
+
code: string;
|
|
2609
|
+
name: string;
|
|
2610
|
+
quantity: {
|
|
2611
|
+
amount: number;
|
|
2612
|
+
precision: number;
|
|
2613
|
+
};
|
|
2614
|
+
quantityStep: {
|
|
2615
|
+
amount: number;
|
|
2616
|
+
precision: number;
|
|
2617
|
+
};
|
|
2618
|
+
minimumQuantity: {
|
|
2619
|
+
amount: number;
|
|
2620
|
+
precision: number;
|
|
2621
|
+
};
|
|
2622
|
+
maximumQuantity: {
|
|
2623
|
+
amount: number;
|
|
2624
|
+
precision: number;
|
|
2625
|
+
};
|
|
2626
|
+
}[];
|
|
2627
|
+
supplier: {
|
|
2628
|
+
phoneNumber?: string | null | undefined;
|
|
2629
|
+
email?: string | null | undefined;
|
|
2630
|
+
_rev?: string | null | undefined;
|
|
2631
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2632
|
+
contactName?: string | null | undefined;
|
|
2633
|
+
registrationNumber?: string | undefined;
|
|
2634
|
+
supplyItems?: {
|
|
2635
|
+
defaultCost: {
|
|
2636
|
+
measurement?: {
|
|
2637
|
+
id: string;
|
|
2638
|
+
name: string;
|
|
2639
|
+
abbrev: string;
|
|
2640
|
+
conversion: {
|
|
2641
|
+
amount: number;
|
|
2642
|
+
precision: number;
|
|
2643
|
+
};
|
|
2644
|
+
} | null | undefined;
|
|
2645
|
+
costPerUnit: {
|
|
2646
|
+
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";
|
|
2647
|
+
amount: number;
|
|
2648
|
+
precision: number;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
skuId: string;
|
|
2652
|
+
}[] | null | undefined;
|
|
2653
|
+
_id: string;
|
|
2654
|
+
name: string;
|
|
2655
|
+
address: {
|
|
2656
|
+
line2?: string | null | undefined;
|
|
2657
|
+
line1: string;
|
|
2658
|
+
state: string;
|
|
2659
|
+
city: string;
|
|
2660
|
+
postcode: string;
|
|
2661
|
+
country: string;
|
|
2662
|
+
};
|
|
2663
|
+
};
|
|
2664
|
+
};
|
|
2665
|
+
} | null | undefined;
|
|
1495
2666
|
request?: {
|
|
1496
2667
|
id: string;
|
|
1497
2668
|
adjustmentIds: string[];
|
|
@@ -1837,7 +3008,10 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1837
3008
|
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
1838
3009
|
netSuite?: {
|
|
1839
3010
|
id?: string | null | undefined;
|
|
1840
|
-
errors?:
|
|
3011
|
+
errors?: {
|
|
3012
|
+
message: string;
|
|
3013
|
+
createdAt: string;
|
|
3014
|
+
}[] | null | undefined;
|
|
1841
3015
|
subsidiary: {
|
|
1842
3016
|
id?: string | null | undefined;
|
|
1843
3017
|
name?: string | null | undefined;
|
|
@@ -1849,13 +3023,246 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1849
3023
|
_rev?: string | null | undefined;
|
|
1850
3024
|
netSuite?: {
|
|
1851
3025
|
id?: string | null | undefined;
|
|
1852
|
-
errors?:
|
|
3026
|
+
errors?: {
|
|
3027
|
+
message: string;
|
|
3028
|
+
createdAt: string;
|
|
3029
|
+
}[] | null | undefined;
|
|
1853
3030
|
subsidiary: {
|
|
1854
3031
|
id?: string | null | undefined;
|
|
1855
3032
|
name?: string | null | undefined;
|
|
1856
3033
|
};
|
|
1857
3034
|
} | null | undefined;
|
|
1858
3035
|
template?: string | null | undefined;
|
|
3036
|
+
templateDoc?: {
|
|
3037
|
+
_rev?: string | null | undefined;
|
|
3038
|
+
locations?: {
|
|
3039
|
+
type: "restaurant" | "warehouse";
|
|
3040
|
+
name: string;
|
|
3041
|
+
acceptRequest: boolean;
|
|
3042
|
+
dbName: string;
|
|
3043
|
+
doc: {
|
|
3044
|
+
_id: string;
|
|
3045
|
+
businessId: string;
|
|
3046
|
+
profile: {
|
|
3047
|
+
code?: string | null | undefined;
|
|
3048
|
+
_id?: string | null | undefined;
|
|
3049
|
+
name?: string | undefined;
|
|
3050
|
+
address?: {
|
|
3051
|
+
coordinates?: number[] | null | undefined;
|
|
3052
|
+
line2?: string | null | undefined;
|
|
3053
|
+
state: string;
|
|
3054
|
+
country: string;
|
|
3055
|
+
line1: string;
|
|
3056
|
+
city: string;
|
|
3057
|
+
postcode: string;
|
|
3058
|
+
} | undefined;
|
|
3059
|
+
email?: string | undefined;
|
|
3060
|
+
regNo?: string | undefined;
|
|
3061
|
+
sstRegNo?: string | null | undefined;
|
|
3062
|
+
phoneNo?: string | undefined;
|
|
3063
|
+
legalName?: string | null | undefined;
|
|
3064
|
+
discovery?: boolean | null | undefined;
|
|
3065
|
+
coverPhoto?: string | null | undefined;
|
|
3066
|
+
thumbnailPhoto?: string | null | undefined;
|
|
3067
|
+
description?: string | null | undefined;
|
|
3068
|
+
photos?: string[] | null | undefined;
|
|
3069
|
+
operatingHours?: {
|
|
3070
|
+
0: {
|
|
3071
|
+
hours: {
|
|
3072
|
+
end: string;
|
|
3073
|
+
start: string;
|
|
3074
|
+
}[];
|
|
3075
|
+
enable: boolean;
|
|
3076
|
+
};
|
|
3077
|
+
2: {
|
|
3078
|
+
hours: {
|
|
3079
|
+
end: string;
|
|
3080
|
+
start: string;
|
|
3081
|
+
}[];
|
|
3082
|
+
enable: boolean;
|
|
3083
|
+
};
|
|
3084
|
+
1: {
|
|
3085
|
+
hours: {
|
|
3086
|
+
end: string;
|
|
3087
|
+
start: string;
|
|
3088
|
+
}[];
|
|
3089
|
+
enable: boolean;
|
|
3090
|
+
};
|
|
3091
|
+
3: {
|
|
3092
|
+
hours: {
|
|
3093
|
+
end: string;
|
|
3094
|
+
start: string;
|
|
3095
|
+
}[];
|
|
3096
|
+
enable: boolean;
|
|
3097
|
+
};
|
|
3098
|
+
4: {
|
|
3099
|
+
hours: {
|
|
3100
|
+
end: string;
|
|
3101
|
+
start: string;
|
|
3102
|
+
}[];
|
|
3103
|
+
enable: boolean;
|
|
3104
|
+
};
|
|
3105
|
+
5: {
|
|
3106
|
+
hours: {
|
|
3107
|
+
end: string;
|
|
3108
|
+
start: string;
|
|
3109
|
+
}[];
|
|
3110
|
+
enable: boolean;
|
|
3111
|
+
};
|
|
3112
|
+
6: {
|
|
3113
|
+
hours: {
|
|
3114
|
+
end: string;
|
|
3115
|
+
start: string;
|
|
3116
|
+
}[];
|
|
3117
|
+
enable: boolean;
|
|
3118
|
+
};
|
|
3119
|
+
} | null | undefined;
|
|
3120
|
+
tags?: string[] | null | undefined;
|
|
3121
|
+
url?: string | null | undefined;
|
|
3122
|
+
};
|
|
3123
|
+
};
|
|
3124
|
+
}[] | null | undefined;
|
|
3125
|
+
_id: string;
|
|
3126
|
+
name: string;
|
|
3127
|
+
purchaseOrder: {
|
|
3128
|
+
remark?: string | null | undefined;
|
|
3129
|
+
ref?: string | null | undefined;
|
|
3130
|
+
items: {
|
|
3131
|
+
measurement?: {
|
|
3132
|
+
id: string;
|
|
3133
|
+
name: string;
|
|
3134
|
+
abbrev: string;
|
|
3135
|
+
conversion: {
|
|
3136
|
+
amount: number;
|
|
3137
|
+
precision: number;
|
|
3138
|
+
};
|
|
3139
|
+
} | null | undefined;
|
|
3140
|
+
totalCost?: {
|
|
3141
|
+
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";
|
|
3142
|
+
amount: number;
|
|
3143
|
+
precision: number;
|
|
3144
|
+
} | null | undefined;
|
|
3145
|
+
sku: {
|
|
3146
|
+
trackingMeasurement?: string | null | undefined;
|
|
3147
|
+
convert?: {
|
|
3148
|
+
measurement?: string | null | undefined;
|
|
3149
|
+
inventoryBindings?: {
|
|
3150
|
+
measurement?: {
|
|
3151
|
+
id: string;
|
|
3152
|
+
name: string;
|
|
3153
|
+
abbrev: string;
|
|
3154
|
+
conversion: {
|
|
3155
|
+
amount: number;
|
|
3156
|
+
precision: number;
|
|
3157
|
+
};
|
|
3158
|
+
} | null | undefined;
|
|
3159
|
+
type: "RECIPE" | "SKU";
|
|
3160
|
+
amount: {
|
|
3161
|
+
amount: number;
|
|
3162
|
+
precision: number;
|
|
3163
|
+
};
|
|
3164
|
+
id: string;
|
|
3165
|
+
}[] | null | undefined;
|
|
3166
|
+
} | null | undefined;
|
|
3167
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3168
|
+
defaultCost?: {
|
|
3169
|
+
measurement?: {
|
|
3170
|
+
id: string;
|
|
3171
|
+
name: string;
|
|
3172
|
+
abbrev: string;
|
|
3173
|
+
conversion: {
|
|
3174
|
+
amount: number;
|
|
3175
|
+
precision: number;
|
|
3176
|
+
};
|
|
3177
|
+
} | null | undefined;
|
|
3178
|
+
costPerUnit: {
|
|
3179
|
+
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";
|
|
3180
|
+
amount: number;
|
|
3181
|
+
precision: number;
|
|
3182
|
+
};
|
|
3183
|
+
} | null | undefined;
|
|
3184
|
+
thresholds?: {
|
|
3185
|
+
low: number;
|
|
3186
|
+
mid: number;
|
|
3187
|
+
} | null | undefined;
|
|
3188
|
+
operationalGroup?: string | null | undefined;
|
|
3189
|
+
unit: {
|
|
3190
|
+
_id: string;
|
|
3191
|
+
name: string;
|
|
3192
|
+
abbrev: string;
|
|
3193
|
+
precision: number;
|
|
3194
|
+
measurements: {
|
|
3195
|
+
id: string;
|
|
3196
|
+
name: string;
|
|
3197
|
+
abbrev: string;
|
|
3198
|
+
conversion: {
|
|
3199
|
+
amount: number;
|
|
3200
|
+
precision: number;
|
|
3201
|
+
};
|
|
3202
|
+
}[];
|
|
3203
|
+
};
|
|
3204
|
+
code: string;
|
|
3205
|
+
_id: string;
|
|
3206
|
+
name: string;
|
|
3207
|
+
};
|
|
3208
|
+
code: string;
|
|
3209
|
+
name: string;
|
|
3210
|
+
quantity: {
|
|
3211
|
+
amount: number;
|
|
3212
|
+
precision: number;
|
|
3213
|
+
};
|
|
3214
|
+
quantityStep: {
|
|
3215
|
+
amount: number;
|
|
3216
|
+
precision: number;
|
|
3217
|
+
};
|
|
3218
|
+
minimumQuantity: {
|
|
3219
|
+
amount: number;
|
|
3220
|
+
precision: number;
|
|
3221
|
+
};
|
|
3222
|
+
maximumQuantity: {
|
|
3223
|
+
amount: number;
|
|
3224
|
+
precision: number;
|
|
3225
|
+
};
|
|
3226
|
+
}[];
|
|
3227
|
+
supplier: {
|
|
3228
|
+
phoneNumber?: string | null | undefined;
|
|
3229
|
+
email?: string | null | undefined;
|
|
3230
|
+
_rev?: string | null | undefined;
|
|
3231
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
3232
|
+
contactName?: string | null | undefined;
|
|
3233
|
+
registrationNumber?: string | undefined;
|
|
3234
|
+
supplyItems?: {
|
|
3235
|
+
defaultCost: {
|
|
3236
|
+
measurement?: {
|
|
3237
|
+
id: string;
|
|
3238
|
+
name: string;
|
|
3239
|
+
abbrev: string;
|
|
3240
|
+
conversion: {
|
|
3241
|
+
amount: number;
|
|
3242
|
+
precision: number;
|
|
3243
|
+
};
|
|
3244
|
+
} | null | undefined;
|
|
3245
|
+
costPerUnit: {
|
|
3246
|
+
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";
|
|
3247
|
+
amount: number;
|
|
3248
|
+
precision: number;
|
|
3249
|
+
};
|
|
3250
|
+
};
|
|
3251
|
+
skuId: string;
|
|
3252
|
+
}[] | null | undefined;
|
|
3253
|
+
_id: string;
|
|
3254
|
+
name: string;
|
|
3255
|
+
address: {
|
|
3256
|
+
line2?: string | null | undefined;
|
|
3257
|
+
line1: string;
|
|
3258
|
+
state: string;
|
|
3259
|
+
city: string;
|
|
3260
|
+
postcode: string;
|
|
3261
|
+
country: string;
|
|
3262
|
+
};
|
|
3263
|
+
};
|
|
3264
|
+
};
|
|
3265
|
+
} | null | undefined;
|
|
1859
3266
|
request?: {
|
|
1860
3267
|
id: string;
|
|
1861
3268
|
adjustmentIds: string[];
|