@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
|
@@ -22,92 +22,19 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
22
22
|
mode?: FormMode | undefined;
|
|
23
23
|
modelValue?: {
|
|
24
24
|
_rev?: string | null | undefined;
|
|
25
|
-
locations?:
|
|
26
|
-
|
|
27
|
-
type: "restaurant";
|
|
28
|
-
name: string;
|
|
29
|
-
acceptRequest: boolean;
|
|
30
|
-
dbName: string;
|
|
31
|
-
} | {
|
|
32
|
-
type: "warehouse";
|
|
25
|
+
locations?: {
|
|
26
|
+
type: "restaurant" | "warehouse";
|
|
33
27
|
name: string;
|
|
34
28
|
acceptRequest: boolean;
|
|
35
29
|
dbName: string;
|
|
36
30
|
doc: {
|
|
37
|
-
pf_business?: {
|
|
38
|
-
internal?: boolean | null | undefined;
|
|
39
|
-
url?: string | null | undefined;
|
|
40
|
-
expiredAt?: string | null | undefined;
|
|
41
|
-
agentId?: string | null | undefined;
|
|
42
|
-
attributeSettings?: {
|
|
43
|
-
type: "string" | "number" | "boolean" | "date";
|
|
44
|
-
key: string;
|
|
45
|
-
entity: "restaurant" | "item";
|
|
46
|
-
}[] | null | undefined;
|
|
47
|
-
pf_agent?: {
|
|
48
|
-
clickupId?: string | null | undefined;
|
|
49
|
-
members?: {
|
|
50
|
-
pf_user?: {
|
|
51
|
-
email?: string | null | undefined;
|
|
52
|
-
phoneNumber?: string | null | undefined;
|
|
53
|
-
birthday?: string | null | undefined;
|
|
54
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
55
|
-
addresses?: {
|
|
56
|
-
name: string;
|
|
57
|
-
address: string;
|
|
58
|
-
coordinates: number[];
|
|
59
|
-
}[] | null | undefined;
|
|
60
|
-
photoURL?: string | null | undefined;
|
|
61
|
-
displayName?: string | null | undefined;
|
|
62
|
-
imported?: {
|
|
63
|
-
raw: Record<string, any>;
|
|
64
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
65
|
-
} | null | undefined;
|
|
66
|
-
_id: string;
|
|
67
|
-
} | null | undefined;
|
|
68
|
-
role: "ADMIN";
|
|
69
|
-
userId: string;
|
|
70
|
-
}[] | null | undefined;
|
|
71
|
-
code: string;
|
|
72
|
-
name: string;
|
|
73
|
-
_id: string;
|
|
74
|
-
isReseller: boolean;
|
|
75
|
-
} | null | undefined;
|
|
76
|
-
thumbnail?: string | null | undefined;
|
|
77
|
-
billingInfos?: {
|
|
78
|
-
_id?: string | null | undefined;
|
|
79
|
-
name: string;
|
|
80
|
-
address: {
|
|
81
|
-
coordinates?: number[] | null | undefined;
|
|
82
|
-
line2?: string | null | undefined;
|
|
83
|
-
state: string;
|
|
84
|
-
country: string;
|
|
85
|
-
line1: string;
|
|
86
|
-
city: string;
|
|
87
|
-
postcode: string;
|
|
88
|
-
};
|
|
89
|
-
email: string;
|
|
90
|
-
companyName: string;
|
|
91
|
-
contact: string;
|
|
92
|
-
}[] | null | undefined;
|
|
93
|
-
customerDisplayImages?: {
|
|
94
|
-
url: string;
|
|
95
|
-
restaurantIds: string[];
|
|
96
|
-
}[] | null | undefined;
|
|
97
|
-
name: string;
|
|
98
|
-
_id: string;
|
|
99
|
-
ownerId: string;
|
|
100
|
-
restaurantQuota: number;
|
|
101
|
-
warehouseQuota: number;
|
|
102
|
-
menuVersion: string;
|
|
103
|
-
} | null | undefined;
|
|
104
31
|
_id: string;
|
|
105
32
|
businessId: string;
|
|
106
33
|
profile: {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
name
|
|
110
|
-
address
|
|
34
|
+
code?: string | null | undefined;
|
|
35
|
+
_id?: string | null | undefined;
|
|
36
|
+
name?: string | undefined;
|
|
37
|
+
address?: {
|
|
111
38
|
coordinates?: number[] | null | undefined;
|
|
112
39
|
line2?: string | null | undefined;
|
|
113
40
|
state: string;
|
|
@@ -115,157 +42,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
115
42
|
line1: string;
|
|
116
43
|
city: string;
|
|
117
44
|
postcode: string;
|
|
118
|
-
};
|
|
119
|
-
|
|
45
|
+
} | undefined;
|
|
46
|
+
email?: string | undefined;
|
|
47
|
+
regNo?: string | undefined;
|
|
48
|
+
sstRegNo?: string | null | undefined;
|
|
49
|
+
phoneNo?: string | undefined;
|
|
50
|
+
legalName?: string | null | undefined;
|
|
51
|
+
discovery?: boolean | null | undefined;
|
|
52
|
+
coverPhoto?: string | null | undefined;
|
|
53
|
+
thumbnailPhoto?: string | null | undefined;
|
|
54
|
+
description?: string | null | undefined;
|
|
55
|
+
photos?: string[] | null | undefined;
|
|
56
|
+
operatingHours?: {
|
|
57
|
+
0: {
|
|
58
|
+
hours: {
|
|
59
|
+
end: string;
|
|
60
|
+
start: string;
|
|
61
|
+
}[];
|
|
62
|
+
enable: boolean;
|
|
63
|
+
};
|
|
64
|
+
2: {
|
|
65
|
+
hours: {
|
|
66
|
+
end: string;
|
|
67
|
+
start: string;
|
|
68
|
+
}[];
|
|
69
|
+
enable: boolean;
|
|
70
|
+
};
|
|
71
|
+
1: {
|
|
72
|
+
hours: {
|
|
73
|
+
end: string;
|
|
74
|
+
start: string;
|
|
75
|
+
}[];
|
|
76
|
+
enable: boolean;
|
|
77
|
+
};
|
|
78
|
+
3: {
|
|
79
|
+
hours: {
|
|
80
|
+
end: string;
|
|
81
|
+
start: string;
|
|
82
|
+
}[];
|
|
83
|
+
enable: boolean;
|
|
84
|
+
};
|
|
85
|
+
4: {
|
|
86
|
+
hours: {
|
|
87
|
+
end: string;
|
|
88
|
+
start: string;
|
|
89
|
+
}[];
|
|
90
|
+
enable: boolean;
|
|
91
|
+
};
|
|
92
|
+
5: {
|
|
93
|
+
hours: {
|
|
94
|
+
end: string;
|
|
95
|
+
start: string;
|
|
96
|
+
}[];
|
|
97
|
+
enable: boolean;
|
|
98
|
+
};
|
|
99
|
+
6: {
|
|
100
|
+
hours: {
|
|
101
|
+
end: string;
|
|
102
|
+
start: string;
|
|
103
|
+
}[];
|
|
104
|
+
enable: boolean;
|
|
105
|
+
};
|
|
106
|
+
} | null | undefined;
|
|
107
|
+
tags?: string[] | null | undefined;
|
|
108
|
+
url?: string | null | undefined;
|
|
120
109
|
};
|
|
121
110
|
};
|
|
122
|
-
}
|
|
111
|
+
}[] | null | undefined;
|
|
123
112
|
_id: string;
|
|
124
113
|
name: string;
|
|
125
114
|
purchaseOrder: {
|
|
126
115
|
remark?: string | null | undefined;
|
|
127
116
|
ref?: string | null | undefined;
|
|
128
|
-
supplier?: {
|
|
129
|
-
phoneNumber?: string | null | undefined;
|
|
130
|
-
email?: string | null | undefined;
|
|
131
|
-
_rev?: string | null | undefined;
|
|
132
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
133
|
-
contactName?: string | null | undefined;
|
|
134
|
-
registrationNumber?: string | undefined;
|
|
135
|
-
supplyItems?: {
|
|
136
|
-
defaultCost: {
|
|
137
|
-
measurement?: {
|
|
138
|
-
id: string;
|
|
139
|
-
name: string;
|
|
140
|
-
abbrev: string;
|
|
141
|
-
conversion: {
|
|
142
|
-
amount: number;
|
|
143
|
-
precision: number;
|
|
144
|
-
};
|
|
145
|
-
} | null | undefined;
|
|
146
|
-
costPerUnit: {
|
|
147
|
-
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";
|
|
148
|
-
amount: number;
|
|
149
|
-
precision: number;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
skuId: string;
|
|
153
|
-
}[] | null | undefined;
|
|
154
|
-
_id: string;
|
|
155
|
-
name: string;
|
|
156
|
-
address: {
|
|
157
|
-
line2?: string | null | undefined;
|
|
158
|
-
line1: string;
|
|
159
|
-
state: string;
|
|
160
|
-
city: string;
|
|
161
|
-
postcode: string;
|
|
162
|
-
country: string;
|
|
163
|
-
};
|
|
164
|
-
} | undefined;
|
|
165
|
-
netSuite?: {
|
|
166
|
-
id?: string | null | undefined;
|
|
167
|
-
errors?: string[] | null | undefined;
|
|
168
|
-
subsidiary: {
|
|
169
|
-
id?: string | null | undefined;
|
|
170
|
-
name?: string | null | undefined;
|
|
171
|
-
};
|
|
172
|
-
} | null | undefined;
|
|
173
|
-
template?: string | null | undefined;
|
|
174
|
-
stockSnapshotId?: string | null | undefined;
|
|
175
|
-
effectiveAt?: string | null | undefined;
|
|
176
|
-
deliveryFullfillment?: {
|
|
177
|
-
remark?: string | null | undefined;
|
|
178
|
-
adjustment?: string | null | undefined;
|
|
179
|
-
netSuite?: {
|
|
180
|
-
id?: string | null | undefined;
|
|
181
|
-
refNo?: string | null | undefined;
|
|
182
|
-
} | null | undefined;
|
|
183
|
-
items: {
|
|
184
|
-
cost?: {
|
|
185
|
-
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";
|
|
186
|
-
amount: number;
|
|
187
|
-
precision: number;
|
|
188
|
-
} | null | undefined;
|
|
189
|
-
measurement?: {
|
|
190
|
-
id: string;
|
|
191
|
-
name: string;
|
|
192
|
-
abbrev: string;
|
|
193
|
-
conversion: {
|
|
194
|
-
amount: number;
|
|
195
|
-
precision: number;
|
|
196
|
-
};
|
|
197
|
-
} | null | undefined;
|
|
198
|
-
sku: {
|
|
199
|
-
trackingMeasurement?: string | null | undefined;
|
|
200
|
-
convert?: {
|
|
201
|
-
measurement?: string | null | undefined;
|
|
202
|
-
inventoryBindings?: {
|
|
203
|
-
measurement?: {
|
|
204
|
-
id: string;
|
|
205
|
-
name: string;
|
|
206
|
-
abbrev: string;
|
|
207
|
-
conversion: {
|
|
208
|
-
amount: number;
|
|
209
|
-
precision: number;
|
|
210
|
-
};
|
|
211
|
-
} | null | undefined;
|
|
212
|
-
type: "RECIPE" | "SKU";
|
|
213
|
-
amount: {
|
|
214
|
-
amount: number;
|
|
215
|
-
precision: number;
|
|
216
|
-
};
|
|
217
|
-
id: string;
|
|
218
|
-
}[] | null | undefined;
|
|
219
|
-
} | null | undefined;
|
|
220
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
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
|
-
} | null | undefined;
|
|
237
|
-
thresholds?: {
|
|
238
|
-
low: number;
|
|
239
|
-
mid: number;
|
|
240
|
-
} | null | undefined;
|
|
241
|
-
operationalGroup?: string | null | undefined;
|
|
242
|
-
unit: {
|
|
243
|
-
_id: string;
|
|
244
|
-
name: string;
|
|
245
|
-
abbrev: string;
|
|
246
|
-
precision: number;
|
|
247
|
-
measurements: {
|
|
248
|
-
id: string;
|
|
249
|
-
name: string;
|
|
250
|
-
abbrev: string;
|
|
251
|
-
conversion: {
|
|
252
|
-
amount: number;
|
|
253
|
-
precision: number;
|
|
254
|
-
};
|
|
255
|
-
}[];
|
|
256
|
-
};
|
|
257
|
-
code: string;
|
|
258
|
-
_id: string;
|
|
259
|
-
name: string;
|
|
260
|
-
};
|
|
261
|
-
amount: {
|
|
262
|
-
amount: number;
|
|
263
|
-
precision: number;
|
|
264
|
-
};
|
|
265
|
-
}[];
|
|
266
|
-
id: string;
|
|
267
|
-
createdAt: string;
|
|
268
|
-
}[] | null | undefined;
|
|
269
117
|
items: {
|
|
270
118
|
measurement?: {
|
|
271
119
|
id: string;
|
|
@@ -363,119 +211,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
363
211
|
precision: number;
|
|
364
212
|
};
|
|
365
213
|
}[];
|
|
366
|
-
|
|
367
|
-
} | undefined;
|
|
368
|
-
show?: boolean | undefined;
|
|
369
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
370
|
-
onSubmitted?: (() => void) | undefined;
|
|
371
|
-
}, TransferTemplateDialogPropsWithEventBinding | {
|
|
372
|
-
mode?: FormMode | undefined;
|
|
373
|
-
modelValue?: {
|
|
374
|
-
_rev?: string | null | undefined;
|
|
375
|
-
locations?: ({
|
|
376
|
-
doc?: any;
|
|
377
|
-
type: "restaurant";
|
|
378
|
-
name: string;
|
|
379
|
-
acceptRequest: boolean;
|
|
380
|
-
dbName: string;
|
|
381
|
-
} | {
|
|
382
|
-
type: "warehouse";
|
|
383
|
-
name: string;
|
|
384
|
-
acceptRequest: boolean;
|
|
385
|
-
dbName: string;
|
|
386
|
-
doc: {
|
|
387
|
-
pf_business?: {
|
|
388
|
-
internal?: boolean | null | undefined;
|
|
389
|
-
url?: string | null | undefined;
|
|
390
|
-
expiredAt?: string | null | undefined;
|
|
391
|
-
agentId?: string | null | undefined;
|
|
392
|
-
attributeSettings?: {
|
|
393
|
-
type: "string" | "number" | "boolean" | "date";
|
|
394
|
-
key: string;
|
|
395
|
-
entity: "restaurant" | "item";
|
|
396
|
-
}[] | null | undefined;
|
|
397
|
-
pf_agent?: {
|
|
398
|
-
clickupId?: string | null | undefined;
|
|
399
|
-
members?: {
|
|
400
|
-
pf_user?: {
|
|
401
|
-
email?: string | null | undefined;
|
|
402
|
-
phoneNumber?: string | null | undefined;
|
|
403
|
-
birthday?: string | null | undefined;
|
|
404
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
405
|
-
addresses?: {
|
|
406
|
-
name: string;
|
|
407
|
-
address: string;
|
|
408
|
-
coordinates: number[];
|
|
409
|
-
}[] | null | undefined;
|
|
410
|
-
photoURL?: string | null | undefined;
|
|
411
|
-
displayName?: string | null | undefined;
|
|
412
|
-
imported?: {
|
|
413
|
-
raw: Record<string, any>;
|
|
414
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
415
|
-
} | null | undefined;
|
|
416
|
-
_id: string;
|
|
417
|
-
} | null | undefined;
|
|
418
|
-
role: "ADMIN";
|
|
419
|
-
userId: string;
|
|
420
|
-
}[] | null | undefined;
|
|
421
|
-
code: string;
|
|
422
|
-
name: string;
|
|
423
|
-
_id: string;
|
|
424
|
-
isReseller: boolean;
|
|
425
|
-
} | null | undefined;
|
|
426
|
-
thumbnail?: string | null | undefined;
|
|
427
|
-
billingInfos?: {
|
|
428
|
-
_id?: string | null | undefined;
|
|
429
|
-
name: string;
|
|
430
|
-
address: {
|
|
431
|
-
coordinates?: number[] | null | undefined;
|
|
432
|
-
line2?: string | null | undefined;
|
|
433
|
-
state: string;
|
|
434
|
-
country: string;
|
|
435
|
-
line1: string;
|
|
436
|
-
city: string;
|
|
437
|
-
postcode: string;
|
|
438
|
-
};
|
|
439
|
-
email: string;
|
|
440
|
-
companyName: string;
|
|
441
|
-
contact: string;
|
|
442
|
-
}[] | null | undefined;
|
|
443
|
-
customerDisplayImages?: {
|
|
444
|
-
url: string;
|
|
445
|
-
restaurantIds: string[];
|
|
446
|
-
}[] | null | undefined;
|
|
447
|
-
name: string;
|
|
448
|
-
_id: string;
|
|
449
|
-
ownerId: string;
|
|
450
|
-
restaurantQuota: number;
|
|
451
|
-
warehouseQuota: number;
|
|
452
|
-
menuVersion: string;
|
|
453
|
-
} | null | undefined;
|
|
454
|
-
_id: string;
|
|
455
|
-
businessId: string;
|
|
456
|
-
profile: {
|
|
457
|
-
email?: string | null | undefined;
|
|
458
|
-
phoneNo?: string | null | undefined;
|
|
459
|
-
name: string;
|
|
460
|
-
address: {
|
|
461
|
-
coordinates?: number[] | null | undefined;
|
|
462
|
-
line2?: string | null | undefined;
|
|
463
|
-
state: string;
|
|
464
|
-
country: string;
|
|
465
|
-
line1: string;
|
|
466
|
-
city: string;
|
|
467
|
-
postcode: string;
|
|
468
|
-
};
|
|
469
|
-
regNo: string;
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
})[] | null | undefined;
|
|
473
|
-
_id: string;
|
|
474
|
-
name: string;
|
|
475
|
-
purchaseOrder: {
|
|
476
|
-
remark?: string | null | undefined;
|
|
477
|
-
ref?: string | null | undefined;
|
|
478
|
-
supplier?: {
|
|
214
|
+
supplier: {
|
|
479
215
|
phoneNumber?: string | null | undefined;
|
|
480
216
|
email?: string | null | undefined;
|
|
481
217
|
_rev?: string | null | undefined;
|
|
@@ -511,111 +247,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
511
247
|
postcode: string;
|
|
512
248
|
country: string;
|
|
513
249
|
};
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
} | undefined;
|
|
253
|
+
show?: boolean | undefined;
|
|
254
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
255
|
+
onSubmitted?: (() => void) | undefined;
|
|
256
|
+
}, TransferTemplateDialogPropsWithEventBinding | {
|
|
257
|
+
mode?: FormMode | undefined;
|
|
258
|
+
modelValue?: {
|
|
259
|
+
_rev?: string | null | undefined;
|
|
260
|
+
locations?: {
|
|
261
|
+
type: "restaurant" | "warehouse";
|
|
262
|
+
name: string;
|
|
263
|
+
acceptRequest: boolean;
|
|
264
|
+
dbName: string;
|
|
265
|
+
doc: {
|
|
266
|
+
_id: string;
|
|
267
|
+
businessId: string;
|
|
268
|
+
profile: {
|
|
269
|
+
code?: string | null | undefined;
|
|
270
|
+
_id?: string | null | undefined;
|
|
271
|
+
name?: string | undefined;
|
|
272
|
+
address?: {
|
|
273
|
+
coordinates?: number[] | null | undefined;
|
|
274
|
+
line2?: string | null | undefined;
|
|
275
|
+
state: string;
|
|
276
|
+
country: string;
|
|
277
|
+
line1: string;
|
|
278
|
+
city: string;
|
|
279
|
+
postcode: string;
|
|
280
|
+
} | undefined;
|
|
281
|
+
email?: string | undefined;
|
|
282
|
+
regNo?: string | undefined;
|
|
283
|
+
sstRegNo?: string | null | undefined;
|
|
284
|
+
phoneNo?: string | undefined;
|
|
285
|
+
legalName?: string | null | undefined;
|
|
286
|
+
discovery?: boolean | null | undefined;
|
|
287
|
+
coverPhoto?: string | null | undefined;
|
|
288
|
+
thumbnailPhoto?: string | null | undefined;
|
|
289
|
+
description?: string | null | undefined;
|
|
290
|
+
photos?: string[] | null | undefined;
|
|
291
|
+
operatingHours?: {
|
|
292
|
+
0: {
|
|
293
|
+
hours: {
|
|
294
|
+
end: string;
|
|
295
|
+
start: string;
|
|
296
|
+
}[];
|
|
297
|
+
enable: boolean;
|
|
546
298
|
};
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
measurement?: string | null | undefined;
|
|
552
|
-
inventoryBindings?: {
|
|
553
|
-
measurement?: {
|
|
554
|
-
id: string;
|
|
555
|
-
name: string;
|
|
556
|
-
abbrev: string;
|
|
557
|
-
conversion: {
|
|
558
|
-
amount: number;
|
|
559
|
-
precision: number;
|
|
560
|
-
};
|
|
561
|
-
} | null | undefined;
|
|
562
|
-
type: "RECIPE" | "SKU";
|
|
563
|
-
amount: {
|
|
564
|
-
amount: number;
|
|
565
|
-
precision: number;
|
|
566
|
-
};
|
|
567
|
-
id: string;
|
|
568
|
-
}[] | null | undefined;
|
|
569
|
-
} | null | undefined;
|
|
570
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
571
|
-
defaultCost?: {
|
|
572
|
-
measurement?: {
|
|
573
|
-
id: string;
|
|
574
|
-
name: string;
|
|
575
|
-
abbrev: string;
|
|
576
|
-
conversion: {
|
|
577
|
-
amount: number;
|
|
578
|
-
precision: number;
|
|
579
|
-
};
|
|
580
|
-
} | null | undefined;
|
|
581
|
-
costPerUnit: {
|
|
582
|
-
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";
|
|
583
|
-
amount: number;
|
|
584
|
-
precision: number;
|
|
585
|
-
};
|
|
586
|
-
} | null | undefined;
|
|
587
|
-
thresholds?: {
|
|
588
|
-
low: number;
|
|
589
|
-
mid: number;
|
|
590
|
-
} | null | undefined;
|
|
591
|
-
operationalGroup?: string | null | undefined;
|
|
592
|
-
unit: {
|
|
593
|
-
_id: string;
|
|
594
|
-
name: string;
|
|
595
|
-
abbrev: string;
|
|
596
|
-
precision: number;
|
|
597
|
-
measurements: {
|
|
598
|
-
id: string;
|
|
599
|
-
name: string;
|
|
600
|
-
abbrev: string;
|
|
601
|
-
conversion: {
|
|
602
|
-
amount: number;
|
|
603
|
-
precision: number;
|
|
604
|
-
};
|
|
299
|
+
2: {
|
|
300
|
+
hours: {
|
|
301
|
+
end: string;
|
|
302
|
+
start: string;
|
|
605
303
|
}[];
|
|
304
|
+
enable: boolean;
|
|
606
305
|
};
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
306
|
+
1: {
|
|
307
|
+
hours: {
|
|
308
|
+
end: string;
|
|
309
|
+
start: string;
|
|
310
|
+
}[];
|
|
311
|
+
enable: boolean;
|
|
312
|
+
};
|
|
313
|
+
3: {
|
|
314
|
+
hours: {
|
|
315
|
+
end: string;
|
|
316
|
+
start: string;
|
|
317
|
+
}[];
|
|
318
|
+
enable: boolean;
|
|
319
|
+
};
|
|
320
|
+
4: {
|
|
321
|
+
hours: {
|
|
322
|
+
end: string;
|
|
323
|
+
start: string;
|
|
324
|
+
}[];
|
|
325
|
+
enable: boolean;
|
|
326
|
+
};
|
|
327
|
+
5: {
|
|
328
|
+
hours: {
|
|
329
|
+
end: string;
|
|
330
|
+
start: string;
|
|
331
|
+
}[];
|
|
332
|
+
enable: boolean;
|
|
333
|
+
};
|
|
334
|
+
6: {
|
|
335
|
+
hours: {
|
|
336
|
+
end: string;
|
|
337
|
+
start: string;
|
|
338
|
+
}[];
|
|
339
|
+
enable: boolean;
|
|
340
|
+
};
|
|
341
|
+
} | null | undefined;
|
|
342
|
+
tags?: string[] | null | undefined;
|
|
343
|
+
url?: string | null | undefined;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
}[] | null | undefined;
|
|
347
|
+
_id: string;
|
|
348
|
+
name: string;
|
|
349
|
+
purchaseOrder: {
|
|
350
|
+
remark?: string | null | undefined;
|
|
351
|
+
ref?: string | null | undefined;
|
|
619
352
|
items: {
|
|
620
353
|
measurement?: {
|
|
621
354
|
id: string;
|
|
@@ -713,119 +446,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
713
446
|
precision: number;
|
|
714
447
|
};
|
|
715
448
|
}[];
|
|
716
|
-
|
|
717
|
-
} | undefined;
|
|
718
|
-
show?: boolean | undefined;
|
|
719
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
720
|
-
onSubmitted?: (() => void) | undefined;
|
|
721
|
-
}>;
|
|
722
|
-
templateDetailsProps: Ref<{
|
|
723
|
-
template?: {
|
|
724
|
-
_rev?: string | null | undefined;
|
|
725
|
-
locations?: ({
|
|
726
|
-
doc?: any;
|
|
727
|
-
type: "restaurant";
|
|
728
|
-
name: string;
|
|
729
|
-
acceptRequest: boolean;
|
|
730
|
-
dbName: string;
|
|
731
|
-
} | {
|
|
732
|
-
type: "warehouse";
|
|
733
|
-
name: string;
|
|
734
|
-
acceptRequest: boolean;
|
|
735
|
-
dbName: string;
|
|
736
|
-
doc: {
|
|
737
|
-
pf_business?: {
|
|
738
|
-
internal?: boolean | null | undefined;
|
|
739
|
-
url?: string | null | undefined;
|
|
740
|
-
expiredAt?: string | null | undefined;
|
|
741
|
-
agentId?: string | null | undefined;
|
|
742
|
-
attributeSettings?: {
|
|
743
|
-
type: "string" | "number" | "boolean" | "date";
|
|
744
|
-
key: string;
|
|
745
|
-
entity: "restaurant" | "item";
|
|
746
|
-
}[] | null | undefined;
|
|
747
|
-
pf_agent?: {
|
|
748
|
-
clickupId?: string | null | undefined;
|
|
749
|
-
members?: {
|
|
750
|
-
pf_user?: {
|
|
751
|
-
email?: string | null | undefined;
|
|
752
|
-
phoneNumber?: string | null | undefined;
|
|
753
|
-
birthday?: string | null | undefined;
|
|
754
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
755
|
-
addresses?: {
|
|
756
|
-
name: string;
|
|
757
|
-
address: string;
|
|
758
|
-
coordinates: number[];
|
|
759
|
-
}[] | null | undefined;
|
|
760
|
-
photoURL?: string | null | undefined;
|
|
761
|
-
displayName?: string | null | undefined;
|
|
762
|
-
imported?: {
|
|
763
|
-
raw: Record<string, any>;
|
|
764
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
765
|
-
} | null | undefined;
|
|
766
|
-
_id: string;
|
|
767
|
-
} | null | undefined;
|
|
768
|
-
role: "ADMIN";
|
|
769
|
-
userId: string;
|
|
770
|
-
}[] | null | undefined;
|
|
771
|
-
code: string;
|
|
772
|
-
name: string;
|
|
773
|
-
_id: string;
|
|
774
|
-
isReseller: boolean;
|
|
775
|
-
} | null | undefined;
|
|
776
|
-
thumbnail?: string | null | undefined;
|
|
777
|
-
billingInfos?: {
|
|
778
|
-
_id?: string | null | undefined;
|
|
779
|
-
name: string;
|
|
780
|
-
address: {
|
|
781
|
-
coordinates?: number[] | null | undefined;
|
|
782
|
-
line2?: string | null | undefined;
|
|
783
|
-
state: string;
|
|
784
|
-
country: string;
|
|
785
|
-
line1: string;
|
|
786
|
-
city: string;
|
|
787
|
-
postcode: string;
|
|
788
|
-
};
|
|
789
|
-
email: string;
|
|
790
|
-
companyName: string;
|
|
791
|
-
contact: string;
|
|
792
|
-
}[] | null | undefined;
|
|
793
|
-
customerDisplayImages?: {
|
|
794
|
-
url: string;
|
|
795
|
-
restaurantIds: string[];
|
|
796
|
-
}[] | null | undefined;
|
|
797
|
-
name: string;
|
|
798
|
-
_id: string;
|
|
799
|
-
ownerId: string;
|
|
800
|
-
restaurantQuota: number;
|
|
801
|
-
warehouseQuota: number;
|
|
802
|
-
menuVersion: string;
|
|
803
|
-
} | null | undefined;
|
|
804
|
-
_id: string;
|
|
805
|
-
businessId: string;
|
|
806
|
-
profile: {
|
|
807
|
-
email?: string | null | undefined;
|
|
808
|
-
phoneNo?: string | null | undefined;
|
|
809
|
-
name: string;
|
|
810
|
-
address: {
|
|
811
|
-
coordinates?: number[] | null | undefined;
|
|
812
|
-
line2?: string | null | undefined;
|
|
813
|
-
state: string;
|
|
814
|
-
country: string;
|
|
815
|
-
line1: string;
|
|
816
|
-
city: string;
|
|
817
|
-
postcode: string;
|
|
818
|
-
};
|
|
819
|
-
regNo: string;
|
|
820
|
-
};
|
|
821
|
-
};
|
|
822
|
-
})[] | null | undefined;
|
|
823
|
-
_id: string;
|
|
824
|
-
name: string;
|
|
825
|
-
purchaseOrder: {
|
|
826
|
-
remark?: string | null | undefined;
|
|
827
|
-
ref?: string | null | undefined;
|
|
828
|
-
supplier?: {
|
|
449
|
+
supplier: {
|
|
829
450
|
phoneNumber?: string | null | undefined;
|
|
830
451
|
email?: string | null | undefined;
|
|
831
452
|
_rev?: string | null | undefined;
|
|
@@ -861,111 +482,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
861
482
|
postcode: string;
|
|
862
483
|
country: string;
|
|
863
484
|
};
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
} | undefined;
|
|
488
|
+
show?: boolean | undefined;
|
|
489
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
490
|
+
onSubmitted?: (() => void) | undefined;
|
|
491
|
+
}>;
|
|
492
|
+
templateDetailsProps: Ref<{
|
|
493
|
+
template?: {
|
|
494
|
+
_rev?: string | null | undefined;
|
|
495
|
+
locations?: {
|
|
496
|
+
type: "restaurant" | "warehouse";
|
|
497
|
+
name: string;
|
|
498
|
+
acceptRequest: boolean;
|
|
499
|
+
dbName: string;
|
|
500
|
+
doc: {
|
|
501
|
+
_id: string;
|
|
502
|
+
businessId: string;
|
|
503
|
+
profile: {
|
|
504
|
+
code?: string | null | undefined;
|
|
505
|
+
_id?: string | null | undefined;
|
|
506
|
+
name?: string | undefined;
|
|
507
|
+
address?: {
|
|
508
|
+
coordinates?: number[] | null | undefined;
|
|
509
|
+
line2?: string | null | undefined;
|
|
510
|
+
state: string;
|
|
511
|
+
country: string;
|
|
512
|
+
line1: string;
|
|
513
|
+
city: string;
|
|
514
|
+
postcode: string;
|
|
515
|
+
} | undefined;
|
|
516
|
+
email?: string | undefined;
|
|
517
|
+
regNo?: string | undefined;
|
|
518
|
+
sstRegNo?: string | null | undefined;
|
|
519
|
+
phoneNo?: string | undefined;
|
|
520
|
+
legalName?: string | null | undefined;
|
|
521
|
+
discovery?: boolean | null | undefined;
|
|
522
|
+
coverPhoto?: string | null | undefined;
|
|
523
|
+
thumbnailPhoto?: string | null | undefined;
|
|
524
|
+
description?: string | null | undefined;
|
|
525
|
+
photos?: string[] | null | undefined;
|
|
526
|
+
operatingHours?: {
|
|
527
|
+
0: {
|
|
528
|
+
hours: {
|
|
529
|
+
end: string;
|
|
530
|
+
start: string;
|
|
531
|
+
}[];
|
|
532
|
+
enable: boolean;
|
|
896
533
|
};
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
measurement?: string | null | undefined;
|
|
902
|
-
inventoryBindings?: {
|
|
903
|
-
measurement?: {
|
|
904
|
-
id: string;
|
|
905
|
-
name: string;
|
|
906
|
-
abbrev: string;
|
|
907
|
-
conversion: {
|
|
908
|
-
amount: number;
|
|
909
|
-
precision: number;
|
|
910
|
-
};
|
|
911
|
-
} | null | undefined;
|
|
912
|
-
type: "RECIPE" | "SKU";
|
|
913
|
-
amount: {
|
|
914
|
-
amount: number;
|
|
915
|
-
precision: number;
|
|
916
|
-
};
|
|
917
|
-
id: string;
|
|
918
|
-
}[] | null | undefined;
|
|
919
|
-
} | null | undefined;
|
|
920
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
921
|
-
defaultCost?: {
|
|
922
|
-
measurement?: {
|
|
923
|
-
id: string;
|
|
924
|
-
name: string;
|
|
925
|
-
abbrev: string;
|
|
926
|
-
conversion: {
|
|
927
|
-
amount: number;
|
|
928
|
-
precision: number;
|
|
929
|
-
};
|
|
930
|
-
} | null | undefined;
|
|
931
|
-
costPerUnit: {
|
|
932
|
-
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";
|
|
933
|
-
amount: number;
|
|
934
|
-
precision: number;
|
|
935
|
-
};
|
|
936
|
-
} | null | undefined;
|
|
937
|
-
thresholds?: {
|
|
938
|
-
low: number;
|
|
939
|
-
mid: number;
|
|
940
|
-
} | null | undefined;
|
|
941
|
-
operationalGroup?: string | null | undefined;
|
|
942
|
-
unit: {
|
|
943
|
-
_id: string;
|
|
944
|
-
name: string;
|
|
945
|
-
abbrev: string;
|
|
946
|
-
precision: number;
|
|
947
|
-
measurements: {
|
|
948
|
-
id: string;
|
|
949
|
-
name: string;
|
|
950
|
-
abbrev: string;
|
|
951
|
-
conversion: {
|
|
952
|
-
amount: number;
|
|
953
|
-
precision: number;
|
|
954
|
-
};
|
|
534
|
+
2: {
|
|
535
|
+
hours: {
|
|
536
|
+
end: string;
|
|
537
|
+
start: string;
|
|
955
538
|
}[];
|
|
539
|
+
enable: boolean;
|
|
956
540
|
};
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
541
|
+
1: {
|
|
542
|
+
hours: {
|
|
543
|
+
end: string;
|
|
544
|
+
start: string;
|
|
545
|
+
}[];
|
|
546
|
+
enable: boolean;
|
|
547
|
+
};
|
|
548
|
+
3: {
|
|
549
|
+
hours: {
|
|
550
|
+
end: string;
|
|
551
|
+
start: string;
|
|
552
|
+
}[];
|
|
553
|
+
enable: boolean;
|
|
554
|
+
};
|
|
555
|
+
4: {
|
|
556
|
+
hours: {
|
|
557
|
+
end: string;
|
|
558
|
+
start: string;
|
|
559
|
+
}[];
|
|
560
|
+
enable: boolean;
|
|
561
|
+
};
|
|
562
|
+
5: {
|
|
563
|
+
hours: {
|
|
564
|
+
end: string;
|
|
565
|
+
start: string;
|
|
566
|
+
}[];
|
|
567
|
+
enable: boolean;
|
|
568
|
+
};
|
|
569
|
+
6: {
|
|
570
|
+
hours: {
|
|
571
|
+
end: string;
|
|
572
|
+
start: string;
|
|
573
|
+
}[];
|
|
574
|
+
enable: boolean;
|
|
575
|
+
};
|
|
576
|
+
} | null | undefined;
|
|
577
|
+
tags?: string[] | null | undefined;
|
|
578
|
+
url?: string | null | undefined;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
}[] | null | undefined;
|
|
582
|
+
_id: string;
|
|
583
|
+
name: string;
|
|
584
|
+
purchaseOrder: {
|
|
585
|
+
remark?: string | null | undefined;
|
|
586
|
+
ref?: string | null | undefined;
|
|
969
587
|
items: {
|
|
970
588
|
measurement?: {
|
|
971
589
|
id: string;
|
|
@@ -1063,119 +681,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
1063
681
|
precision: number;
|
|
1064
682
|
};
|
|
1065
683
|
}[];
|
|
1066
|
-
|
|
1067
|
-
} | undefined;
|
|
1068
|
-
show?: boolean | undefined;
|
|
1069
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
1070
|
-
'onAction:use'?: ((locationId: string) => void) | undefined;
|
|
1071
|
-
'onAction:edit'?: (() => void) | undefined;
|
|
1072
|
-
}, TransferTemplateDetailsPropsWithEventBinding | {
|
|
1073
|
-
template?: {
|
|
1074
|
-
_rev?: string | null | undefined;
|
|
1075
|
-
locations?: ({
|
|
1076
|
-
doc?: any;
|
|
1077
|
-
type: "restaurant";
|
|
1078
|
-
name: string;
|
|
1079
|
-
acceptRequest: boolean;
|
|
1080
|
-
dbName: string;
|
|
1081
|
-
} | {
|
|
1082
|
-
type: "warehouse";
|
|
1083
|
-
name: string;
|
|
1084
|
-
acceptRequest: boolean;
|
|
1085
|
-
dbName: string;
|
|
1086
|
-
doc: {
|
|
1087
|
-
pf_business?: {
|
|
1088
|
-
internal?: boolean | null | undefined;
|
|
1089
|
-
url?: string | null | undefined;
|
|
1090
|
-
expiredAt?: string | null | undefined;
|
|
1091
|
-
agentId?: string | null | undefined;
|
|
1092
|
-
attributeSettings?: {
|
|
1093
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1094
|
-
key: string;
|
|
1095
|
-
entity: "restaurant" | "item";
|
|
1096
|
-
}[] | null | undefined;
|
|
1097
|
-
pf_agent?: {
|
|
1098
|
-
clickupId?: string | null | undefined;
|
|
1099
|
-
members?: {
|
|
1100
|
-
pf_user?: {
|
|
1101
|
-
email?: string | null | undefined;
|
|
1102
|
-
phoneNumber?: string | null | undefined;
|
|
1103
|
-
birthday?: string | null | undefined;
|
|
1104
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1105
|
-
addresses?: {
|
|
1106
|
-
name: string;
|
|
1107
|
-
address: string;
|
|
1108
|
-
coordinates: number[];
|
|
1109
|
-
}[] | null | undefined;
|
|
1110
|
-
photoURL?: string | null | undefined;
|
|
1111
|
-
displayName?: string | null | undefined;
|
|
1112
|
-
imported?: {
|
|
1113
|
-
raw: Record<string, any>;
|
|
1114
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1115
|
-
} | null | undefined;
|
|
1116
|
-
_id: string;
|
|
1117
|
-
} | null | undefined;
|
|
1118
|
-
role: "ADMIN";
|
|
1119
|
-
userId: string;
|
|
1120
|
-
}[] | null | undefined;
|
|
1121
|
-
code: string;
|
|
1122
|
-
name: string;
|
|
1123
|
-
_id: string;
|
|
1124
|
-
isReseller: boolean;
|
|
1125
|
-
} | null | undefined;
|
|
1126
|
-
thumbnail?: string | null | undefined;
|
|
1127
|
-
billingInfos?: {
|
|
1128
|
-
_id?: string | null | undefined;
|
|
1129
|
-
name: string;
|
|
1130
|
-
address: {
|
|
1131
|
-
coordinates?: number[] | null | undefined;
|
|
1132
|
-
line2?: string | null | undefined;
|
|
1133
|
-
state: string;
|
|
1134
|
-
country: string;
|
|
1135
|
-
line1: string;
|
|
1136
|
-
city: string;
|
|
1137
|
-
postcode: string;
|
|
1138
|
-
};
|
|
1139
|
-
email: string;
|
|
1140
|
-
companyName: string;
|
|
1141
|
-
contact: string;
|
|
1142
|
-
}[] | null | undefined;
|
|
1143
|
-
customerDisplayImages?: {
|
|
1144
|
-
url: string;
|
|
1145
|
-
restaurantIds: string[];
|
|
1146
|
-
}[] | null | undefined;
|
|
1147
|
-
name: string;
|
|
1148
|
-
_id: string;
|
|
1149
|
-
ownerId: string;
|
|
1150
|
-
restaurantQuota: number;
|
|
1151
|
-
warehouseQuota: number;
|
|
1152
|
-
menuVersion: string;
|
|
1153
|
-
} | null | undefined;
|
|
1154
|
-
_id: string;
|
|
1155
|
-
businessId: string;
|
|
1156
|
-
profile: {
|
|
1157
|
-
email?: string | null | undefined;
|
|
1158
|
-
phoneNo?: string | null | undefined;
|
|
1159
|
-
name: string;
|
|
1160
|
-
address: {
|
|
1161
|
-
coordinates?: number[] | null | undefined;
|
|
1162
|
-
line2?: string | null | undefined;
|
|
1163
|
-
state: string;
|
|
1164
|
-
country: string;
|
|
1165
|
-
line1: string;
|
|
1166
|
-
city: string;
|
|
1167
|
-
postcode: string;
|
|
1168
|
-
};
|
|
1169
|
-
regNo: string;
|
|
1170
|
-
};
|
|
1171
|
-
};
|
|
1172
|
-
})[] | null | undefined;
|
|
1173
|
-
_id: string;
|
|
1174
|
-
name: string;
|
|
1175
|
-
purchaseOrder: {
|
|
1176
|
-
remark?: string | null | undefined;
|
|
1177
|
-
ref?: string | null | undefined;
|
|
1178
|
-
supplier?: {
|
|
684
|
+
supplier: {
|
|
1179
685
|
phoneNumber?: string | null | undefined;
|
|
1180
686
|
email?: string | null | undefined;
|
|
1181
687
|
_rev?: string | null | undefined;
|
|
@@ -1211,64 +717,128 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
1211
717
|
postcode: string;
|
|
1212
718
|
country: string;
|
|
1213
719
|
};
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
} | undefined;
|
|
723
|
+
show?: boolean | undefined;
|
|
724
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
725
|
+
'onAction:use'?: ((locationId: string) => void) | undefined;
|
|
726
|
+
'onAction:edit'?: (() => void) | undefined;
|
|
727
|
+
}, TransferTemplateDetailsPropsWithEventBinding | {
|
|
728
|
+
template?: {
|
|
729
|
+
_rev?: string | null | undefined;
|
|
730
|
+
locations?: {
|
|
731
|
+
type: "restaurant" | "warehouse";
|
|
732
|
+
name: string;
|
|
733
|
+
acceptRequest: boolean;
|
|
734
|
+
dbName: string;
|
|
735
|
+
doc: {
|
|
736
|
+
_id: string;
|
|
737
|
+
businessId: string;
|
|
738
|
+
profile: {
|
|
739
|
+
code?: string | null | undefined;
|
|
740
|
+
_id?: string | null | undefined;
|
|
741
|
+
name?: string | undefined;
|
|
742
|
+
address?: {
|
|
743
|
+
coordinates?: number[] | null | undefined;
|
|
744
|
+
line2?: string | null | undefined;
|
|
745
|
+
state: string;
|
|
746
|
+
country: string;
|
|
747
|
+
line1: string;
|
|
748
|
+
city: string;
|
|
749
|
+
postcode: string;
|
|
750
|
+
} | undefined;
|
|
751
|
+
email?: string | undefined;
|
|
752
|
+
regNo?: string | undefined;
|
|
753
|
+
sstRegNo?: string | null | undefined;
|
|
754
|
+
phoneNo?: string | undefined;
|
|
755
|
+
legalName?: string | null | undefined;
|
|
756
|
+
discovery?: boolean | null | undefined;
|
|
757
|
+
coverPhoto?: string | null | undefined;
|
|
758
|
+
thumbnailPhoto?: string | null | undefined;
|
|
759
|
+
description?: string | null | undefined;
|
|
760
|
+
photos?: string[] | null | undefined;
|
|
761
|
+
operatingHours?: {
|
|
762
|
+
0: {
|
|
763
|
+
hours: {
|
|
764
|
+
end: string;
|
|
765
|
+
start: string;
|
|
766
|
+
}[];
|
|
767
|
+
enable: boolean;
|
|
768
|
+
};
|
|
769
|
+
2: {
|
|
770
|
+
hours: {
|
|
771
|
+
end: string;
|
|
772
|
+
start: string;
|
|
773
|
+
}[];
|
|
774
|
+
enable: boolean;
|
|
775
|
+
};
|
|
776
|
+
1: {
|
|
777
|
+
hours: {
|
|
778
|
+
end: string;
|
|
779
|
+
start: string;
|
|
780
|
+
}[];
|
|
781
|
+
enable: boolean;
|
|
782
|
+
};
|
|
783
|
+
3: {
|
|
784
|
+
hours: {
|
|
785
|
+
end: string;
|
|
786
|
+
start: string;
|
|
787
|
+
}[];
|
|
788
|
+
enable: boolean;
|
|
789
|
+
};
|
|
790
|
+
4: {
|
|
791
|
+
hours: {
|
|
792
|
+
end: string;
|
|
793
|
+
start: string;
|
|
794
|
+
}[];
|
|
795
|
+
enable: boolean;
|
|
796
|
+
};
|
|
797
|
+
5: {
|
|
798
|
+
hours: {
|
|
799
|
+
end: string;
|
|
800
|
+
start: string;
|
|
801
|
+
}[];
|
|
802
|
+
enable: boolean;
|
|
803
|
+
};
|
|
804
|
+
6: {
|
|
805
|
+
hours: {
|
|
806
|
+
end: string;
|
|
807
|
+
start: string;
|
|
808
|
+
}[];
|
|
809
|
+
enable: boolean;
|
|
810
|
+
};
|
|
811
|
+
} | null | undefined;
|
|
812
|
+
tags?: string[] | null | undefined;
|
|
813
|
+
url?: string | null | undefined;
|
|
1221
814
|
};
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
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";
|
|
815
|
+
};
|
|
816
|
+
}[] | null | undefined;
|
|
817
|
+
_id: string;
|
|
818
|
+
name: string;
|
|
819
|
+
purchaseOrder: {
|
|
820
|
+
remark?: string | null | undefined;
|
|
821
|
+
ref?: string | null | undefined;
|
|
822
|
+
items: {
|
|
823
|
+
measurement?: {
|
|
824
|
+
id: string;
|
|
825
|
+
name: string;
|
|
826
|
+
abbrev: string;
|
|
827
|
+
conversion: {
|
|
1236
828
|
amount: number;
|
|
1237
829
|
precision: number;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
convert?: {
|
|
1251
|
-
measurement?: string | null | undefined;
|
|
1252
|
-
inventoryBindings?: {
|
|
1253
|
-
measurement?: {
|
|
1254
|
-
id: string;
|
|
1255
|
-
name: string;
|
|
1256
|
-
abbrev: string;
|
|
1257
|
-
conversion: {
|
|
1258
|
-
amount: number;
|
|
1259
|
-
precision: number;
|
|
1260
|
-
};
|
|
1261
|
-
} | null | undefined;
|
|
1262
|
-
type: "RECIPE" | "SKU";
|
|
1263
|
-
amount: {
|
|
1264
|
-
amount: number;
|
|
1265
|
-
precision: number;
|
|
1266
|
-
};
|
|
1267
|
-
id: string;
|
|
1268
|
-
}[] | null | undefined;
|
|
1269
|
-
} | null | undefined;
|
|
1270
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1271
|
-
defaultCost?: {
|
|
830
|
+
};
|
|
831
|
+
} | null | undefined;
|
|
832
|
+
totalCost?: {
|
|
833
|
+
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";
|
|
834
|
+
amount: number;
|
|
835
|
+
precision: number;
|
|
836
|
+
} | null | undefined;
|
|
837
|
+
sku: {
|
|
838
|
+
trackingMeasurement?: string | null | undefined;
|
|
839
|
+
convert?: {
|
|
840
|
+
measurement?: string | null | undefined;
|
|
841
|
+
inventoryBindings?: {
|
|
1272
842
|
measurement?: {
|
|
1273
843
|
id: string;
|
|
1274
844
|
name: string;
|
|
@@ -1278,75 +848,8 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
1278
848
|
precision: number;
|
|
1279
849
|
};
|
|
1280
850
|
} | null | undefined;
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
amount: number;
|
|
1284
|
-
precision: number;
|
|
1285
|
-
};
|
|
1286
|
-
} | null | undefined;
|
|
1287
|
-
thresholds?: {
|
|
1288
|
-
low: number;
|
|
1289
|
-
mid: number;
|
|
1290
|
-
} | null | undefined;
|
|
1291
|
-
operationalGroup?: string | null | undefined;
|
|
1292
|
-
unit: {
|
|
1293
|
-
_id: string;
|
|
1294
|
-
name: string;
|
|
1295
|
-
abbrev: string;
|
|
1296
|
-
precision: number;
|
|
1297
|
-
measurements: {
|
|
1298
|
-
id: string;
|
|
1299
|
-
name: string;
|
|
1300
|
-
abbrev: string;
|
|
1301
|
-
conversion: {
|
|
1302
|
-
amount: number;
|
|
1303
|
-
precision: number;
|
|
1304
|
-
};
|
|
1305
|
-
}[];
|
|
1306
|
-
};
|
|
1307
|
-
code: string;
|
|
1308
|
-
_id: string;
|
|
1309
|
-
name: string;
|
|
1310
|
-
};
|
|
1311
|
-
amount: {
|
|
1312
|
-
amount: number;
|
|
1313
|
-
precision: number;
|
|
1314
|
-
};
|
|
1315
|
-
}[];
|
|
1316
|
-
id: string;
|
|
1317
|
-
createdAt: string;
|
|
1318
|
-
}[] | null | undefined;
|
|
1319
|
-
items: {
|
|
1320
|
-
measurement?: {
|
|
1321
|
-
id: string;
|
|
1322
|
-
name: string;
|
|
1323
|
-
abbrev: string;
|
|
1324
|
-
conversion: {
|
|
1325
|
-
amount: number;
|
|
1326
|
-
precision: number;
|
|
1327
|
-
};
|
|
1328
|
-
} | null | undefined;
|
|
1329
|
-
totalCost?: {
|
|
1330
|
-
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";
|
|
1331
|
-
amount: number;
|
|
1332
|
-
precision: number;
|
|
1333
|
-
} | null | undefined;
|
|
1334
|
-
sku: {
|
|
1335
|
-
trackingMeasurement?: string | null | undefined;
|
|
1336
|
-
convert?: {
|
|
1337
|
-
measurement?: string | null | undefined;
|
|
1338
|
-
inventoryBindings?: {
|
|
1339
|
-
measurement?: {
|
|
1340
|
-
id: string;
|
|
1341
|
-
name: string;
|
|
1342
|
-
abbrev: string;
|
|
1343
|
-
conversion: {
|
|
1344
|
-
amount: number;
|
|
1345
|
-
precision: number;
|
|
1346
|
-
};
|
|
1347
|
-
} | null | undefined;
|
|
1348
|
-
type: "RECIPE" | "SKU";
|
|
1349
|
-
amount: {
|
|
851
|
+
type: "RECIPE" | "SKU";
|
|
852
|
+
amount: {
|
|
1350
853
|
amount: number;
|
|
1351
854
|
precision: number;
|
|
1352
855
|
};
|
|
@@ -1413,6 +916,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
1413
916
|
precision: number;
|
|
1414
917
|
};
|
|
1415
918
|
}[];
|
|
919
|
+
supplier: {
|
|
920
|
+
phoneNumber?: string | null | undefined;
|
|
921
|
+
email?: string | null | undefined;
|
|
922
|
+
_rev?: string | null | undefined;
|
|
923
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
924
|
+
contactName?: string | null | undefined;
|
|
925
|
+
registrationNumber?: string | undefined;
|
|
926
|
+
supplyItems?: {
|
|
927
|
+
defaultCost: {
|
|
928
|
+
measurement?: {
|
|
929
|
+
id: string;
|
|
930
|
+
name: string;
|
|
931
|
+
abbrev: string;
|
|
932
|
+
conversion: {
|
|
933
|
+
amount: number;
|
|
934
|
+
precision: number;
|
|
935
|
+
};
|
|
936
|
+
} | null | undefined;
|
|
937
|
+
costPerUnit: {
|
|
938
|
+
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";
|
|
939
|
+
amount: number;
|
|
940
|
+
precision: number;
|
|
941
|
+
};
|
|
942
|
+
};
|
|
943
|
+
skuId: string;
|
|
944
|
+
}[] | null | undefined;
|
|
945
|
+
_id: string;
|
|
946
|
+
name: string;
|
|
947
|
+
address: {
|
|
948
|
+
line2?: string | null | undefined;
|
|
949
|
+
line1: string;
|
|
950
|
+
state: string;
|
|
951
|
+
city: string;
|
|
952
|
+
postcode: string;
|
|
953
|
+
country: string;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
1416
956
|
};
|
|
1417
957
|
} | undefined;
|
|
1418
958
|
show?: boolean | undefined;
|
|
@@ -1431,92 +971,19 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
1431
971
|
mode?: FormMode | undefined;
|
|
1432
972
|
modelValue?: {
|
|
1433
973
|
_rev?: string | null | undefined;
|
|
1434
|
-
locations?:
|
|
1435
|
-
|
|
1436
|
-
type: "restaurant";
|
|
1437
|
-
name: string;
|
|
1438
|
-
acceptRequest: boolean;
|
|
1439
|
-
dbName: string;
|
|
1440
|
-
} | {
|
|
1441
|
-
type: "warehouse";
|
|
974
|
+
locations?: {
|
|
975
|
+
type: "restaurant" | "warehouse";
|
|
1442
976
|
name: string;
|
|
1443
977
|
acceptRequest: boolean;
|
|
1444
978
|
dbName: string;
|
|
1445
979
|
doc: {
|
|
1446
|
-
pf_business?: {
|
|
1447
|
-
internal?: boolean | null | undefined;
|
|
1448
|
-
url?: string | null | undefined;
|
|
1449
|
-
expiredAt?: string | null | undefined;
|
|
1450
|
-
agentId?: string | null | undefined;
|
|
1451
|
-
attributeSettings?: {
|
|
1452
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1453
|
-
key: string;
|
|
1454
|
-
entity: "restaurant" | "item";
|
|
1455
|
-
}[] | null | undefined;
|
|
1456
|
-
pf_agent?: {
|
|
1457
|
-
clickupId?: string | null | undefined;
|
|
1458
|
-
members?: {
|
|
1459
|
-
pf_user?: {
|
|
1460
|
-
email?: string | null | undefined;
|
|
1461
|
-
phoneNumber?: string | null | undefined;
|
|
1462
|
-
birthday?: string | null | undefined;
|
|
1463
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1464
|
-
addresses?: {
|
|
1465
|
-
name: string;
|
|
1466
|
-
address: string;
|
|
1467
|
-
coordinates: number[];
|
|
1468
|
-
}[] | null | undefined;
|
|
1469
|
-
photoURL?: string | null | undefined;
|
|
1470
|
-
displayName?: string | null | undefined;
|
|
1471
|
-
imported?: {
|
|
1472
|
-
raw: Record<string, any>;
|
|
1473
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1474
|
-
} | null | undefined;
|
|
1475
|
-
_id: string;
|
|
1476
|
-
} | null | undefined;
|
|
1477
|
-
role: "ADMIN";
|
|
1478
|
-
userId: string;
|
|
1479
|
-
}[] | null | undefined;
|
|
1480
|
-
code: string;
|
|
1481
|
-
name: string;
|
|
1482
|
-
_id: string;
|
|
1483
|
-
isReseller: boolean;
|
|
1484
|
-
} | null | undefined;
|
|
1485
|
-
thumbnail?: string | null | undefined;
|
|
1486
|
-
billingInfos?: {
|
|
1487
|
-
_id?: string | null | undefined;
|
|
1488
|
-
name: string;
|
|
1489
|
-
address: {
|
|
1490
|
-
coordinates?: number[] | null | undefined;
|
|
1491
|
-
line2?: string | null | undefined;
|
|
1492
|
-
state: string;
|
|
1493
|
-
country: string;
|
|
1494
|
-
line1: string;
|
|
1495
|
-
city: string;
|
|
1496
|
-
postcode: string;
|
|
1497
|
-
};
|
|
1498
|
-
email: string;
|
|
1499
|
-
companyName: string;
|
|
1500
|
-
contact: string;
|
|
1501
|
-
}[] | null | undefined;
|
|
1502
|
-
customerDisplayImages?: {
|
|
1503
|
-
url: string;
|
|
1504
|
-
restaurantIds: string[];
|
|
1505
|
-
}[] | null | undefined;
|
|
1506
|
-
name: string;
|
|
1507
|
-
_id: string;
|
|
1508
|
-
ownerId: string;
|
|
1509
|
-
restaurantQuota: number;
|
|
1510
|
-
warehouseQuota: number;
|
|
1511
|
-
menuVersion: string;
|
|
1512
|
-
} | null | undefined;
|
|
1513
980
|
_id: string;
|
|
1514
981
|
businessId: string;
|
|
1515
982
|
profile: {
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
name
|
|
1519
|
-
address
|
|
983
|
+
code?: string | null | undefined;
|
|
984
|
+
_id?: string | null | undefined;
|
|
985
|
+
name?: string | undefined;
|
|
986
|
+
address?: {
|
|
1520
987
|
coordinates?: number[] | null | undefined;
|
|
1521
988
|
line2?: string | null | undefined;
|
|
1522
989
|
state: string;
|
|
@@ -1524,157 +991,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
1524
991
|
line1: string;
|
|
1525
992
|
city: string;
|
|
1526
993
|
postcode: string;
|
|
1527
|
-
};
|
|
1528
|
-
|
|
994
|
+
} | undefined;
|
|
995
|
+
email?: string | undefined;
|
|
996
|
+
regNo?: string | undefined;
|
|
997
|
+
sstRegNo?: string | null | undefined;
|
|
998
|
+
phoneNo?: string | undefined;
|
|
999
|
+
legalName?: string | null | undefined;
|
|
1000
|
+
discovery?: boolean | null | undefined;
|
|
1001
|
+
coverPhoto?: string | null | undefined;
|
|
1002
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1003
|
+
description?: string | null | undefined;
|
|
1004
|
+
photos?: string[] | null | undefined;
|
|
1005
|
+
operatingHours?: {
|
|
1006
|
+
0: {
|
|
1007
|
+
hours: {
|
|
1008
|
+
end: string;
|
|
1009
|
+
start: string;
|
|
1010
|
+
}[];
|
|
1011
|
+
enable: boolean;
|
|
1012
|
+
};
|
|
1013
|
+
2: {
|
|
1014
|
+
hours: {
|
|
1015
|
+
end: string;
|
|
1016
|
+
start: string;
|
|
1017
|
+
}[];
|
|
1018
|
+
enable: boolean;
|
|
1019
|
+
};
|
|
1020
|
+
1: {
|
|
1021
|
+
hours: {
|
|
1022
|
+
end: string;
|
|
1023
|
+
start: string;
|
|
1024
|
+
}[];
|
|
1025
|
+
enable: boolean;
|
|
1026
|
+
};
|
|
1027
|
+
3: {
|
|
1028
|
+
hours: {
|
|
1029
|
+
end: string;
|
|
1030
|
+
start: string;
|
|
1031
|
+
}[];
|
|
1032
|
+
enable: boolean;
|
|
1033
|
+
};
|
|
1034
|
+
4: {
|
|
1035
|
+
hours: {
|
|
1036
|
+
end: string;
|
|
1037
|
+
start: string;
|
|
1038
|
+
}[];
|
|
1039
|
+
enable: boolean;
|
|
1040
|
+
};
|
|
1041
|
+
5: {
|
|
1042
|
+
hours: {
|
|
1043
|
+
end: string;
|
|
1044
|
+
start: string;
|
|
1045
|
+
}[];
|
|
1046
|
+
enable: boolean;
|
|
1047
|
+
};
|
|
1048
|
+
6: {
|
|
1049
|
+
hours: {
|
|
1050
|
+
end: string;
|
|
1051
|
+
start: string;
|
|
1052
|
+
}[];
|
|
1053
|
+
enable: boolean;
|
|
1054
|
+
};
|
|
1055
|
+
} | null | undefined;
|
|
1056
|
+
tags?: string[] | null | undefined;
|
|
1057
|
+
url?: string | null | undefined;
|
|
1529
1058
|
};
|
|
1530
1059
|
};
|
|
1531
|
-
}
|
|
1060
|
+
}[] | null | undefined;
|
|
1532
1061
|
_id: string;
|
|
1533
1062
|
name: string;
|
|
1534
1063
|
purchaseOrder: {
|
|
1535
1064
|
remark?: string | null | undefined;
|
|
1536
1065
|
ref?: string | null | undefined;
|
|
1537
|
-
supplier?: {
|
|
1538
|
-
phoneNumber?: string | null | undefined;
|
|
1539
|
-
email?: string | null | undefined;
|
|
1540
|
-
_rev?: string | null | undefined;
|
|
1541
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1542
|
-
contactName?: string | null | undefined;
|
|
1543
|
-
registrationNumber?: string | undefined;
|
|
1544
|
-
supplyItems?: {
|
|
1545
|
-
defaultCost: {
|
|
1546
|
-
measurement?: {
|
|
1547
|
-
id: string;
|
|
1548
|
-
name: string;
|
|
1549
|
-
abbrev: string;
|
|
1550
|
-
conversion: {
|
|
1551
|
-
amount: number;
|
|
1552
|
-
precision: number;
|
|
1553
|
-
};
|
|
1554
|
-
} | null | undefined;
|
|
1555
|
-
costPerUnit: {
|
|
1556
|
-
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";
|
|
1557
|
-
amount: number;
|
|
1558
|
-
precision: number;
|
|
1559
|
-
};
|
|
1560
|
-
};
|
|
1561
|
-
skuId: string;
|
|
1562
|
-
}[] | null | undefined;
|
|
1563
|
-
_id: string;
|
|
1564
|
-
name: string;
|
|
1565
|
-
address: {
|
|
1566
|
-
line2?: string | null | undefined;
|
|
1567
|
-
line1: string;
|
|
1568
|
-
state: string;
|
|
1569
|
-
city: string;
|
|
1570
|
-
postcode: string;
|
|
1571
|
-
country: string;
|
|
1572
|
-
};
|
|
1573
|
-
} | undefined;
|
|
1574
|
-
netSuite?: {
|
|
1575
|
-
id?: string | null | undefined;
|
|
1576
|
-
errors?: string[] | null | undefined;
|
|
1577
|
-
subsidiary: {
|
|
1578
|
-
id?: string | null | undefined;
|
|
1579
|
-
name?: string | null | undefined;
|
|
1580
|
-
};
|
|
1581
|
-
} | null | undefined;
|
|
1582
|
-
template?: string | null | undefined;
|
|
1583
|
-
stockSnapshotId?: string | null | undefined;
|
|
1584
|
-
effectiveAt?: string | null | undefined;
|
|
1585
|
-
deliveryFullfillment?: {
|
|
1586
|
-
remark?: string | null | undefined;
|
|
1587
|
-
adjustment?: string | null | undefined;
|
|
1588
|
-
netSuite?: {
|
|
1589
|
-
id?: string | null | undefined;
|
|
1590
|
-
refNo?: string | null | undefined;
|
|
1591
|
-
} | null | undefined;
|
|
1592
|
-
items: {
|
|
1593
|
-
cost?: {
|
|
1594
|
-
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";
|
|
1595
|
-
amount: number;
|
|
1596
|
-
precision: number;
|
|
1597
|
-
} | null | undefined;
|
|
1598
|
-
measurement?: {
|
|
1599
|
-
id: string;
|
|
1600
|
-
name: string;
|
|
1601
|
-
abbrev: string;
|
|
1602
|
-
conversion: {
|
|
1603
|
-
amount: number;
|
|
1604
|
-
precision: number;
|
|
1605
|
-
};
|
|
1606
|
-
} | null | undefined;
|
|
1607
|
-
sku: {
|
|
1608
|
-
trackingMeasurement?: string | null | undefined;
|
|
1609
|
-
convert?: {
|
|
1610
|
-
measurement?: string | null | undefined;
|
|
1611
|
-
inventoryBindings?: {
|
|
1612
|
-
measurement?: {
|
|
1613
|
-
id: string;
|
|
1614
|
-
name: string;
|
|
1615
|
-
abbrev: string;
|
|
1616
|
-
conversion: {
|
|
1617
|
-
amount: number;
|
|
1618
|
-
precision: number;
|
|
1619
|
-
};
|
|
1620
|
-
} | null | undefined;
|
|
1621
|
-
type: "RECIPE" | "SKU";
|
|
1622
|
-
amount: {
|
|
1623
|
-
amount: number;
|
|
1624
|
-
precision: number;
|
|
1625
|
-
};
|
|
1626
|
-
id: string;
|
|
1627
|
-
}[] | null | undefined;
|
|
1628
|
-
} | null | undefined;
|
|
1629
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1630
|
-
defaultCost?: {
|
|
1631
|
-
measurement?: {
|
|
1632
|
-
id: string;
|
|
1633
|
-
name: string;
|
|
1634
|
-
abbrev: string;
|
|
1635
|
-
conversion: {
|
|
1636
|
-
amount: number;
|
|
1637
|
-
precision: number;
|
|
1638
|
-
};
|
|
1639
|
-
} | null | undefined;
|
|
1640
|
-
costPerUnit: {
|
|
1641
|
-
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";
|
|
1642
|
-
amount: number;
|
|
1643
|
-
precision: number;
|
|
1644
|
-
};
|
|
1645
|
-
} | null | undefined;
|
|
1646
|
-
thresholds?: {
|
|
1647
|
-
low: number;
|
|
1648
|
-
mid: number;
|
|
1649
|
-
} | null | undefined;
|
|
1650
|
-
operationalGroup?: string | null | undefined;
|
|
1651
|
-
unit: {
|
|
1652
|
-
_id: string;
|
|
1653
|
-
name: string;
|
|
1654
|
-
abbrev: string;
|
|
1655
|
-
precision: number;
|
|
1656
|
-
measurements: {
|
|
1657
|
-
id: string;
|
|
1658
|
-
name: string;
|
|
1659
|
-
abbrev: string;
|
|
1660
|
-
conversion: {
|
|
1661
|
-
amount: number;
|
|
1662
|
-
precision: number;
|
|
1663
|
-
};
|
|
1664
|
-
}[];
|
|
1665
|
-
};
|
|
1666
|
-
code: string;
|
|
1667
|
-
_id: string;
|
|
1668
|
-
name: string;
|
|
1669
|
-
};
|
|
1670
|
-
amount: {
|
|
1671
|
-
amount: number;
|
|
1672
|
-
precision: number;
|
|
1673
|
-
};
|
|
1674
|
-
}[];
|
|
1675
|
-
id: string;
|
|
1676
|
-
createdAt: string;
|
|
1677
|
-
}[] | null | undefined;
|
|
1678
1066
|
items: {
|
|
1679
1067
|
measurement?: {
|
|
1680
1068
|
id: string;
|
|
@@ -1772,119 +1160,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
1772
1160
|
precision: number;
|
|
1773
1161
|
};
|
|
1774
1162
|
}[];
|
|
1775
|
-
|
|
1776
|
-
} | undefined;
|
|
1777
|
-
show?: boolean | undefined;
|
|
1778
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
1779
|
-
onSubmitted?: (() => void) | undefined;
|
|
1780
|
-
}, TransferTemplateDialogPropsWithEventBinding | {
|
|
1781
|
-
mode?: FormMode | undefined;
|
|
1782
|
-
modelValue?: {
|
|
1783
|
-
_rev?: string | null | undefined;
|
|
1784
|
-
locations?: ({
|
|
1785
|
-
doc?: any;
|
|
1786
|
-
type: "restaurant";
|
|
1787
|
-
name: string;
|
|
1788
|
-
acceptRequest: boolean;
|
|
1789
|
-
dbName: string;
|
|
1790
|
-
} | {
|
|
1791
|
-
type: "warehouse";
|
|
1792
|
-
name: string;
|
|
1793
|
-
acceptRequest: boolean;
|
|
1794
|
-
dbName: string;
|
|
1795
|
-
doc: {
|
|
1796
|
-
pf_business?: {
|
|
1797
|
-
internal?: boolean | null | undefined;
|
|
1798
|
-
url?: string | null | undefined;
|
|
1799
|
-
expiredAt?: string | null | undefined;
|
|
1800
|
-
agentId?: string | null | undefined;
|
|
1801
|
-
attributeSettings?: {
|
|
1802
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1803
|
-
key: string;
|
|
1804
|
-
entity: "restaurant" | "item";
|
|
1805
|
-
}[] | null | undefined;
|
|
1806
|
-
pf_agent?: {
|
|
1807
|
-
clickupId?: string | null | undefined;
|
|
1808
|
-
members?: {
|
|
1809
|
-
pf_user?: {
|
|
1810
|
-
email?: string | null | undefined;
|
|
1811
|
-
phoneNumber?: string | null | undefined;
|
|
1812
|
-
birthday?: string | null | undefined;
|
|
1813
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1814
|
-
addresses?: {
|
|
1815
|
-
name: string;
|
|
1816
|
-
address: string;
|
|
1817
|
-
coordinates: number[];
|
|
1818
|
-
}[] | null | undefined;
|
|
1819
|
-
photoURL?: string | null | undefined;
|
|
1820
|
-
displayName?: string | null | undefined;
|
|
1821
|
-
imported?: {
|
|
1822
|
-
raw: Record<string, any>;
|
|
1823
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1824
|
-
} | null | undefined;
|
|
1825
|
-
_id: string;
|
|
1826
|
-
} | null | undefined;
|
|
1827
|
-
role: "ADMIN";
|
|
1828
|
-
userId: string;
|
|
1829
|
-
}[] | null | undefined;
|
|
1830
|
-
code: string;
|
|
1831
|
-
name: string;
|
|
1832
|
-
_id: string;
|
|
1833
|
-
isReseller: boolean;
|
|
1834
|
-
} | null | undefined;
|
|
1835
|
-
thumbnail?: string | null | undefined;
|
|
1836
|
-
billingInfos?: {
|
|
1837
|
-
_id?: string | null | undefined;
|
|
1838
|
-
name: string;
|
|
1839
|
-
address: {
|
|
1840
|
-
coordinates?: number[] | null | undefined;
|
|
1841
|
-
line2?: string | null | undefined;
|
|
1842
|
-
state: string;
|
|
1843
|
-
country: string;
|
|
1844
|
-
line1: string;
|
|
1845
|
-
city: string;
|
|
1846
|
-
postcode: string;
|
|
1847
|
-
};
|
|
1848
|
-
email: string;
|
|
1849
|
-
companyName: string;
|
|
1850
|
-
contact: string;
|
|
1851
|
-
}[] | null | undefined;
|
|
1852
|
-
customerDisplayImages?: {
|
|
1853
|
-
url: string;
|
|
1854
|
-
restaurantIds: string[];
|
|
1855
|
-
}[] | null | undefined;
|
|
1856
|
-
name: string;
|
|
1857
|
-
_id: string;
|
|
1858
|
-
ownerId: string;
|
|
1859
|
-
restaurantQuota: number;
|
|
1860
|
-
warehouseQuota: number;
|
|
1861
|
-
menuVersion: string;
|
|
1862
|
-
} | null | undefined;
|
|
1863
|
-
_id: string;
|
|
1864
|
-
businessId: string;
|
|
1865
|
-
profile: {
|
|
1866
|
-
email?: string | null | undefined;
|
|
1867
|
-
phoneNo?: string | null | undefined;
|
|
1868
|
-
name: string;
|
|
1869
|
-
address: {
|
|
1870
|
-
coordinates?: number[] | null | undefined;
|
|
1871
|
-
line2?: string | null | undefined;
|
|
1872
|
-
state: string;
|
|
1873
|
-
country: string;
|
|
1874
|
-
line1: string;
|
|
1875
|
-
city: string;
|
|
1876
|
-
postcode: string;
|
|
1877
|
-
};
|
|
1878
|
-
regNo: string;
|
|
1879
|
-
};
|
|
1880
|
-
};
|
|
1881
|
-
})[] | null | undefined;
|
|
1882
|
-
_id: string;
|
|
1883
|
-
name: string;
|
|
1884
|
-
purchaseOrder: {
|
|
1885
|
-
remark?: string | null | undefined;
|
|
1886
|
-
ref?: string | null | undefined;
|
|
1887
|
-
supplier?: {
|
|
1163
|
+
supplier: {
|
|
1888
1164
|
phoneNumber?: string | null | undefined;
|
|
1889
1165
|
email?: string | null | undefined;
|
|
1890
1166
|
_rev?: string | null | undefined;
|
|
@@ -1920,111 +1196,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
1920
1196
|
postcode: string;
|
|
1921
1197
|
country: string;
|
|
1922
1198
|
};
|
|
1923
|
-
}
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1199
|
+
};
|
|
1200
|
+
};
|
|
1201
|
+
} | undefined;
|
|
1202
|
+
show?: boolean | undefined;
|
|
1203
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
1204
|
+
onSubmitted?: (() => void) | undefined;
|
|
1205
|
+
}, TransferTemplateDialogPropsWithEventBinding | {
|
|
1206
|
+
mode?: FormMode | undefined;
|
|
1207
|
+
modelValue?: {
|
|
1208
|
+
_rev?: string | null | undefined;
|
|
1209
|
+
locations?: {
|
|
1210
|
+
type: "restaurant" | "warehouse";
|
|
1211
|
+
name: string;
|
|
1212
|
+
acceptRequest: boolean;
|
|
1213
|
+
dbName: string;
|
|
1214
|
+
doc: {
|
|
1215
|
+
_id: string;
|
|
1216
|
+
businessId: string;
|
|
1217
|
+
profile: {
|
|
1218
|
+
code?: string | null | undefined;
|
|
1219
|
+
_id?: string | null | undefined;
|
|
1220
|
+
name?: string | undefined;
|
|
1221
|
+
address?: {
|
|
1222
|
+
coordinates?: number[] | null | undefined;
|
|
1223
|
+
line2?: string | null | undefined;
|
|
1224
|
+
state: string;
|
|
1225
|
+
country: string;
|
|
1226
|
+
line1: string;
|
|
1227
|
+
city: string;
|
|
1228
|
+
postcode: string;
|
|
1229
|
+
} | undefined;
|
|
1230
|
+
email?: string | undefined;
|
|
1231
|
+
regNo?: string | undefined;
|
|
1232
|
+
sstRegNo?: string | null | undefined;
|
|
1233
|
+
phoneNo?: string | undefined;
|
|
1234
|
+
legalName?: string | null | undefined;
|
|
1235
|
+
discovery?: boolean | null | undefined;
|
|
1236
|
+
coverPhoto?: string | null | undefined;
|
|
1237
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1238
|
+
description?: string | null | undefined;
|
|
1239
|
+
photos?: string[] | null | undefined;
|
|
1240
|
+
operatingHours?: {
|
|
1241
|
+
0: {
|
|
1242
|
+
hours: {
|
|
1243
|
+
end: string;
|
|
1244
|
+
start: string;
|
|
1245
|
+
}[];
|
|
1246
|
+
enable: boolean;
|
|
1955
1247
|
};
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
measurement?: string | null | undefined;
|
|
1961
|
-
inventoryBindings?: {
|
|
1962
|
-
measurement?: {
|
|
1963
|
-
id: string;
|
|
1964
|
-
name: string;
|
|
1965
|
-
abbrev: string;
|
|
1966
|
-
conversion: {
|
|
1967
|
-
amount: number;
|
|
1968
|
-
precision: number;
|
|
1969
|
-
};
|
|
1970
|
-
} | null | undefined;
|
|
1971
|
-
type: "RECIPE" | "SKU";
|
|
1972
|
-
amount: {
|
|
1973
|
-
amount: number;
|
|
1974
|
-
precision: number;
|
|
1975
|
-
};
|
|
1976
|
-
id: string;
|
|
1977
|
-
}[] | null | undefined;
|
|
1978
|
-
} | null | undefined;
|
|
1979
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1980
|
-
defaultCost?: {
|
|
1981
|
-
measurement?: {
|
|
1982
|
-
id: string;
|
|
1983
|
-
name: string;
|
|
1984
|
-
abbrev: string;
|
|
1985
|
-
conversion: {
|
|
1986
|
-
amount: number;
|
|
1987
|
-
precision: number;
|
|
1988
|
-
};
|
|
1989
|
-
} | null | undefined;
|
|
1990
|
-
costPerUnit: {
|
|
1991
|
-
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";
|
|
1992
|
-
amount: number;
|
|
1993
|
-
precision: number;
|
|
1994
|
-
};
|
|
1995
|
-
} | null | undefined;
|
|
1996
|
-
thresholds?: {
|
|
1997
|
-
low: number;
|
|
1998
|
-
mid: number;
|
|
1999
|
-
} | null | undefined;
|
|
2000
|
-
operationalGroup?: string | null | undefined;
|
|
2001
|
-
unit: {
|
|
2002
|
-
_id: string;
|
|
2003
|
-
name: string;
|
|
2004
|
-
abbrev: string;
|
|
2005
|
-
precision: number;
|
|
2006
|
-
measurements: {
|
|
2007
|
-
id: string;
|
|
2008
|
-
name: string;
|
|
2009
|
-
abbrev: string;
|
|
2010
|
-
conversion: {
|
|
2011
|
-
amount: number;
|
|
2012
|
-
precision: number;
|
|
2013
|
-
};
|
|
1248
|
+
2: {
|
|
1249
|
+
hours: {
|
|
1250
|
+
end: string;
|
|
1251
|
+
start: string;
|
|
2014
1252
|
}[];
|
|
1253
|
+
enable: boolean;
|
|
2015
1254
|
};
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
1255
|
+
1: {
|
|
1256
|
+
hours: {
|
|
1257
|
+
end: string;
|
|
1258
|
+
start: string;
|
|
1259
|
+
}[];
|
|
1260
|
+
enable: boolean;
|
|
1261
|
+
};
|
|
1262
|
+
3: {
|
|
1263
|
+
hours: {
|
|
1264
|
+
end: string;
|
|
1265
|
+
start: string;
|
|
1266
|
+
}[];
|
|
1267
|
+
enable: boolean;
|
|
1268
|
+
};
|
|
1269
|
+
4: {
|
|
1270
|
+
hours: {
|
|
1271
|
+
end: string;
|
|
1272
|
+
start: string;
|
|
1273
|
+
}[];
|
|
1274
|
+
enable: boolean;
|
|
1275
|
+
};
|
|
1276
|
+
5: {
|
|
1277
|
+
hours: {
|
|
1278
|
+
end: string;
|
|
1279
|
+
start: string;
|
|
1280
|
+
}[];
|
|
1281
|
+
enable: boolean;
|
|
1282
|
+
};
|
|
1283
|
+
6: {
|
|
1284
|
+
hours: {
|
|
1285
|
+
end: string;
|
|
1286
|
+
start: string;
|
|
1287
|
+
}[];
|
|
1288
|
+
enable: boolean;
|
|
1289
|
+
};
|
|
1290
|
+
} | null | undefined;
|
|
1291
|
+
tags?: string[] | null | undefined;
|
|
1292
|
+
url?: string | null | undefined;
|
|
1293
|
+
};
|
|
1294
|
+
};
|
|
1295
|
+
}[] | null | undefined;
|
|
1296
|
+
_id: string;
|
|
1297
|
+
name: string;
|
|
1298
|
+
purchaseOrder: {
|
|
1299
|
+
remark?: string | null | undefined;
|
|
1300
|
+
ref?: string | null | undefined;
|
|
2028
1301
|
items: {
|
|
2029
1302
|
measurement?: {
|
|
2030
1303
|
id: string;
|
|
@@ -2122,119 +1395,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
2122
1395
|
precision: number;
|
|
2123
1396
|
};
|
|
2124
1397
|
}[];
|
|
2125
|
-
|
|
2126
|
-
} | undefined;
|
|
2127
|
-
show?: boolean | undefined;
|
|
2128
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
2129
|
-
onSubmitted?: (() => void) | undefined;
|
|
2130
|
-
}>;
|
|
2131
|
-
templateDetailsProps: Ref<{
|
|
2132
|
-
template?: {
|
|
2133
|
-
_rev?: string | null | undefined;
|
|
2134
|
-
locations?: ({
|
|
2135
|
-
doc?: any;
|
|
2136
|
-
type: "restaurant";
|
|
2137
|
-
name: string;
|
|
2138
|
-
acceptRequest: boolean;
|
|
2139
|
-
dbName: string;
|
|
2140
|
-
} | {
|
|
2141
|
-
type: "warehouse";
|
|
2142
|
-
name: string;
|
|
2143
|
-
acceptRequest: boolean;
|
|
2144
|
-
dbName: string;
|
|
2145
|
-
doc: {
|
|
2146
|
-
pf_business?: {
|
|
2147
|
-
internal?: boolean | null | undefined;
|
|
2148
|
-
url?: string | null | undefined;
|
|
2149
|
-
expiredAt?: string | null | undefined;
|
|
2150
|
-
agentId?: string | null | undefined;
|
|
2151
|
-
attributeSettings?: {
|
|
2152
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2153
|
-
key: string;
|
|
2154
|
-
entity: "restaurant" | "item";
|
|
2155
|
-
}[] | null | undefined;
|
|
2156
|
-
pf_agent?: {
|
|
2157
|
-
clickupId?: string | null | undefined;
|
|
2158
|
-
members?: {
|
|
2159
|
-
pf_user?: {
|
|
2160
|
-
email?: string | null | undefined;
|
|
2161
|
-
phoneNumber?: string | null | undefined;
|
|
2162
|
-
birthday?: string | null | undefined;
|
|
2163
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2164
|
-
addresses?: {
|
|
2165
|
-
name: string;
|
|
2166
|
-
address: string;
|
|
2167
|
-
coordinates: number[];
|
|
2168
|
-
}[] | null | undefined;
|
|
2169
|
-
photoURL?: string | null | undefined;
|
|
2170
|
-
displayName?: string | null | undefined;
|
|
2171
|
-
imported?: {
|
|
2172
|
-
raw: Record<string, any>;
|
|
2173
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2174
|
-
} | null | undefined;
|
|
2175
|
-
_id: string;
|
|
2176
|
-
} | null | undefined;
|
|
2177
|
-
role: "ADMIN";
|
|
2178
|
-
userId: string;
|
|
2179
|
-
}[] | null | undefined;
|
|
2180
|
-
code: string;
|
|
2181
|
-
name: string;
|
|
2182
|
-
_id: string;
|
|
2183
|
-
isReseller: boolean;
|
|
2184
|
-
} | null | undefined;
|
|
2185
|
-
thumbnail?: string | null | undefined;
|
|
2186
|
-
billingInfos?: {
|
|
2187
|
-
_id?: string | null | undefined;
|
|
2188
|
-
name: string;
|
|
2189
|
-
address: {
|
|
2190
|
-
coordinates?: number[] | null | undefined;
|
|
2191
|
-
line2?: string | null | undefined;
|
|
2192
|
-
state: string;
|
|
2193
|
-
country: string;
|
|
2194
|
-
line1: string;
|
|
2195
|
-
city: string;
|
|
2196
|
-
postcode: string;
|
|
2197
|
-
};
|
|
2198
|
-
email: string;
|
|
2199
|
-
companyName: string;
|
|
2200
|
-
contact: string;
|
|
2201
|
-
}[] | null | undefined;
|
|
2202
|
-
customerDisplayImages?: {
|
|
2203
|
-
url: string;
|
|
2204
|
-
restaurantIds: string[];
|
|
2205
|
-
}[] | null | undefined;
|
|
2206
|
-
name: string;
|
|
2207
|
-
_id: string;
|
|
2208
|
-
ownerId: string;
|
|
2209
|
-
restaurantQuota: number;
|
|
2210
|
-
warehouseQuota: number;
|
|
2211
|
-
menuVersion: string;
|
|
2212
|
-
} | null | undefined;
|
|
2213
|
-
_id: string;
|
|
2214
|
-
businessId: string;
|
|
2215
|
-
profile: {
|
|
2216
|
-
email?: string | null | undefined;
|
|
2217
|
-
phoneNo?: string | null | undefined;
|
|
2218
|
-
name: string;
|
|
2219
|
-
address: {
|
|
2220
|
-
coordinates?: number[] | null | undefined;
|
|
2221
|
-
line2?: string | null | undefined;
|
|
2222
|
-
state: string;
|
|
2223
|
-
country: string;
|
|
2224
|
-
line1: string;
|
|
2225
|
-
city: string;
|
|
2226
|
-
postcode: string;
|
|
2227
|
-
};
|
|
2228
|
-
regNo: string;
|
|
2229
|
-
};
|
|
2230
|
-
};
|
|
2231
|
-
})[] | null | undefined;
|
|
2232
|
-
_id: string;
|
|
2233
|
-
name: string;
|
|
2234
|
-
purchaseOrder: {
|
|
2235
|
-
remark?: string | null | undefined;
|
|
2236
|
-
ref?: string | null | undefined;
|
|
2237
|
-
supplier?: {
|
|
1398
|
+
supplier: {
|
|
2238
1399
|
phoneNumber?: string | null | undefined;
|
|
2239
1400
|
email?: string | null | undefined;
|
|
2240
1401
|
_rev?: string | null | undefined;
|
|
@@ -2270,111 +1431,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
2270
1431
|
postcode: string;
|
|
2271
1432
|
country: string;
|
|
2272
1433
|
};
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
} | undefined;
|
|
1437
|
+
show?: boolean | undefined;
|
|
1438
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
1439
|
+
onSubmitted?: (() => void) | undefined;
|
|
1440
|
+
}>;
|
|
1441
|
+
templateDetailsProps: Ref<{
|
|
1442
|
+
template?: {
|
|
1443
|
+
_rev?: string | null | undefined;
|
|
1444
|
+
locations?: {
|
|
1445
|
+
type: "restaurant" | "warehouse";
|
|
1446
|
+
name: string;
|
|
1447
|
+
acceptRequest: boolean;
|
|
1448
|
+
dbName: string;
|
|
1449
|
+
doc: {
|
|
1450
|
+
_id: string;
|
|
1451
|
+
businessId: string;
|
|
1452
|
+
profile: {
|
|
1453
|
+
code?: string | null | undefined;
|
|
1454
|
+
_id?: string | null | undefined;
|
|
1455
|
+
name?: string | undefined;
|
|
1456
|
+
address?: {
|
|
1457
|
+
coordinates?: number[] | null | undefined;
|
|
1458
|
+
line2?: string | null | undefined;
|
|
1459
|
+
state: string;
|
|
1460
|
+
country: string;
|
|
1461
|
+
line1: string;
|
|
1462
|
+
city: string;
|
|
1463
|
+
postcode: string;
|
|
1464
|
+
} | undefined;
|
|
1465
|
+
email?: string | undefined;
|
|
1466
|
+
regNo?: string | undefined;
|
|
1467
|
+
sstRegNo?: string | null | undefined;
|
|
1468
|
+
phoneNo?: string | undefined;
|
|
1469
|
+
legalName?: string | null | undefined;
|
|
1470
|
+
discovery?: boolean | null | undefined;
|
|
1471
|
+
coverPhoto?: string | null | undefined;
|
|
1472
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1473
|
+
description?: string | null | undefined;
|
|
1474
|
+
photos?: string[] | null | undefined;
|
|
1475
|
+
operatingHours?: {
|
|
1476
|
+
0: {
|
|
1477
|
+
hours: {
|
|
1478
|
+
end: string;
|
|
1479
|
+
start: string;
|
|
1480
|
+
}[];
|
|
1481
|
+
enable: boolean;
|
|
2305
1482
|
};
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
measurement?: string | null | undefined;
|
|
2311
|
-
inventoryBindings?: {
|
|
2312
|
-
measurement?: {
|
|
2313
|
-
id: string;
|
|
2314
|
-
name: string;
|
|
2315
|
-
abbrev: string;
|
|
2316
|
-
conversion: {
|
|
2317
|
-
amount: number;
|
|
2318
|
-
precision: number;
|
|
2319
|
-
};
|
|
2320
|
-
} | null | undefined;
|
|
2321
|
-
type: "RECIPE" | "SKU";
|
|
2322
|
-
amount: {
|
|
2323
|
-
amount: number;
|
|
2324
|
-
precision: number;
|
|
2325
|
-
};
|
|
2326
|
-
id: string;
|
|
2327
|
-
}[] | null | undefined;
|
|
2328
|
-
} | null | undefined;
|
|
2329
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2330
|
-
defaultCost?: {
|
|
2331
|
-
measurement?: {
|
|
2332
|
-
id: string;
|
|
2333
|
-
name: string;
|
|
2334
|
-
abbrev: string;
|
|
2335
|
-
conversion: {
|
|
2336
|
-
amount: number;
|
|
2337
|
-
precision: number;
|
|
2338
|
-
};
|
|
2339
|
-
} | null | undefined;
|
|
2340
|
-
costPerUnit: {
|
|
2341
|
-
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";
|
|
2342
|
-
amount: number;
|
|
2343
|
-
precision: number;
|
|
2344
|
-
};
|
|
2345
|
-
} | null | undefined;
|
|
2346
|
-
thresholds?: {
|
|
2347
|
-
low: number;
|
|
2348
|
-
mid: number;
|
|
2349
|
-
} | null | undefined;
|
|
2350
|
-
operationalGroup?: string | null | undefined;
|
|
2351
|
-
unit: {
|
|
2352
|
-
_id: string;
|
|
2353
|
-
name: string;
|
|
2354
|
-
abbrev: string;
|
|
2355
|
-
precision: number;
|
|
2356
|
-
measurements: {
|
|
2357
|
-
id: string;
|
|
2358
|
-
name: string;
|
|
2359
|
-
abbrev: string;
|
|
2360
|
-
conversion: {
|
|
2361
|
-
amount: number;
|
|
2362
|
-
precision: number;
|
|
2363
|
-
};
|
|
1483
|
+
2: {
|
|
1484
|
+
hours: {
|
|
1485
|
+
end: string;
|
|
1486
|
+
start: string;
|
|
2364
1487
|
}[];
|
|
1488
|
+
enable: boolean;
|
|
2365
1489
|
};
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
1490
|
+
1: {
|
|
1491
|
+
hours: {
|
|
1492
|
+
end: string;
|
|
1493
|
+
start: string;
|
|
1494
|
+
}[];
|
|
1495
|
+
enable: boolean;
|
|
1496
|
+
};
|
|
1497
|
+
3: {
|
|
1498
|
+
hours: {
|
|
1499
|
+
end: string;
|
|
1500
|
+
start: string;
|
|
1501
|
+
}[];
|
|
1502
|
+
enable: boolean;
|
|
1503
|
+
};
|
|
1504
|
+
4: {
|
|
1505
|
+
hours: {
|
|
1506
|
+
end: string;
|
|
1507
|
+
start: string;
|
|
1508
|
+
}[];
|
|
1509
|
+
enable: boolean;
|
|
1510
|
+
};
|
|
1511
|
+
5: {
|
|
1512
|
+
hours: {
|
|
1513
|
+
end: string;
|
|
1514
|
+
start: string;
|
|
1515
|
+
}[];
|
|
1516
|
+
enable: boolean;
|
|
1517
|
+
};
|
|
1518
|
+
6: {
|
|
1519
|
+
hours: {
|
|
1520
|
+
end: string;
|
|
1521
|
+
start: string;
|
|
1522
|
+
}[];
|
|
1523
|
+
enable: boolean;
|
|
1524
|
+
};
|
|
1525
|
+
} | null | undefined;
|
|
1526
|
+
tags?: string[] | null | undefined;
|
|
1527
|
+
url?: string | null | undefined;
|
|
1528
|
+
};
|
|
1529
|
+
};
|
|
1530
|
+
}[] | null | undefined;
|
|
1531
|
+
_id: string;
|
|
1532
|
+
name: string;
|
|
1533
|
+
purchaseOrder: {
|
|
1534
|
+
remark?: string | null | undefined;
|
|
1535
|
+
ref?: string | null | undefined;
|
|
2378
1536
|
items: {
|
|
2379
1537
|
measurement?: {
|
|
2380
1538
|
id: string;
|
|
@@ -2472,119 +1630,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
2472
1630
|
precision: number;
|
|
2473
1631
|
};
|
|
2474
1632
|
}[];
|
|
2475
|
-
|
|
2476
|
-
} | undefined;
|
|
2477
|
-
show?: boolean | undefined;
|
|
2478
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
2479
|
-
'onAction:use'?: ((locationId: string) => void) | undefined;
|
|
2480
|
-
'onAction:edit'?: (() => void) | undefined;
|
|
2481
|
-
}, TransferTemplateDetailsPropsWithEventBinding | {
|
|
2482
|
-
template?: {
|
|
2483
|
-
_rev?: string | null | undefined;
|
|
2484
|
-
locations?: ({
|
|
2485
|
-
doc?: any;
|
|
2486
|
-
type: "restaurant";
|
|
2487
|
-
name: string;
|
|
2488
|
-
acceptRequest: boolean;
|
|
2489
|
-
dbName: string;
|
|
2490
|
-
} | {
|
|
2491
|
-
type: "warehouse";
|
|
2492
|
-
name: string;
|
|
2493
|
-
acceptRequest: boolean;
|
|
2494
|
-
dbName: string;
|
|
2495
|
-
doc: {
|
|
2496
|
-
pf_business?: {
|
|
2497
|
-
internal?: boolean | null | undefined;
|
|
2498
|
-
url?: string | null | undefined;
|
|
2499
|
-
expiredAt?: string | null | undefined;
|
|
2500
|
-
agentId?: string | null | undefined;
|
|
2501
|
-
attributeSettings?: {
|
|
2502
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2503
|
-
key: string;
|
|
2504
|
-
entity: "restaurant" | "item";
|
|
2505
|
-
}[] | null | undefined;
|
|
2506
|
-
pf_agent?: {
|
|
2507
|
-
clickupId?: string | null | undefined;
|
|
2508
|
-
members?: {
|
|
2509
|
-
pf_user?: {
|
|
2510
|
-
email?: string | null | undefined;
|
|
2511
|
-
phoneNumber?: string | null | undefined;
|
|
2512
|
-
birthday?: string | null | undefined;
|
|
2513
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2514
|
-
addresses?: {
|
|
2515
|
-
name: string;
|
|
2516
|
-
address: string;
|
|
2517
|
-
coordinates: number[];
|
|
2518
|
-
}[] | null | undefined;
|
|
2519
|
-
photoURL?: string | null | undefined;
|
|
2520
|
-
displayName?: string | null | undefined;
|
|
2521
|
-
imported?: {
|
|
2522
|
-
raw: Record<string, any>;
|
|
2523
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2524
|
-
} | null | undefined;
|
|
2525
|
-
_id: string;
|
|
2526
|
-
} | null | undefined;
|
|
2527
|
-
role: "ADMIN";
|
|
2528
|
-
userId: string;
|
|
2529
|
-
}[] | null | undefined;
|
|
2530
|
-
code: string;
|
|
2531
|
-
name: string;
|
|
2532
|
-
_id: string;
|
|
2533
|
-
isReseller: boolean;
|
|
2534
|
-
} | null | undefined;
|
|
2535
|
-
thumbnail?: string | null | undefined;
|
|
2536
|
-
billingInfos?: {
|
|
2537
|
-
_id?: string | null | undefined;
|
|
2538
|
-
name: string;
|
|
2539
|
-
address: {
|
|
2540
|
-
coordinates?: number[] | null | undefined;
|
|
2541
|
-
line2?: string | null | undefined;
|
|
2542
|
-
state: string;
|
|
2543
|
-
country: string;
|
|
2544
|
-
line1: string;
|
|
2545
|
-
city: string;
|
|
2546
|
-
postcode: string;
|
|
2547
|
-
};
|
|
2548
|
-
email: string;
|
|
2549
|
-
companyName: string;
|
|
2550
|
-
contact: string;
|
|
2551
|
-
}[] | null | undefined;
|
|
2552
|
-
customerDisplayImages?: {
|
|
2553
|
-
url: string;
|
|
2554
|
-
restaurantIds: string[];
|
|
2555
|
-
}[] | null | undefined;
|
|
2556
|
-
name: string;
|
|
2557
|
-
_id: string;
|
|
2558
|
-
ownerId: string;
|
|
2559
|
-
restaurantQuota: number;
|
|
2560
|
-
warehouseQuota: number;
|
|
2561
|
-
menuVersion: string;
|
|
2562
|
-
} | null | undefined;
|
|
2563
|
-
_id: string;
|
|
2564
|
-
businessId: string;
|
|
2565
|
-
profile: {
|
|
2566
|
-
email?: string | null | undefined;
|
|
2567
|
-
phoneNo?: string | null | undefined;
|
|
2568
|
-
name: string;
|
|
2569
|
-
address: {
|
|
2570
|
-
coordinates?: number[] | null | undefined;
|
|
2571
|
-
line2?: string | null | undefined;
|
|
2572
|
-
state: string;
|
|
2573
|
-
country: string;
|
|
2574
|
-
line1: string;
|
|
2575
|
-
city: string;
|
|
2576
|
-
postcode: string;
|
|
2577
|
-
};
|
|
2578
|
-
regNo: string;
|
|
2579
|
-
};
|
|
2580
|
-
};
|
|
2581
|
-
})[] | null | undefined;
|
|
2582
|
-
_id: string;
|
|
2583
|
-
name: string;
|
|
2584
|
-
purchaseOrder: {
|
|
2585
|
-
remark?: string | null | undefined;
|
|
2586
|
-
ref?: string | null | undefined;
|
|
2587
|
-
supplier?: {
|
|
1633
|
+
supplier: {
|
|
2588
1634
|
phoneNumber?: string | null | undefined;
|
|
2589
1635
|
email?: string | null | undefined;
|
|
2590
1636
|
_rev?: string | null | undefined;
|
|
@@ -2620,111 +1666,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
2620
1666
|
postcode: string;
|
|
2621
1667
|
country: string;
|
|
2622
1668
|
};
|
|
2623
|
-
}
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
1669
|
+
};
|
|
1670
|
+
};
|
|
1671
|
+
} | undefined;
|
|
1672
|
+
show?: boolean | undefined;
|
|
1673
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
1674
|
+
'onAction:use'?: ((locationId: string) => void) | undefined;
|
|
1675
|
+
'onAction:edit'?: (() => void) | undefined;
|
|
1676
|
+
}, TransferTemplateDetailsPropsWithEventBinding | {
|
|
1677
|
+
template?: {
|
|
1678
|
+
_rev?: string | null | undefined;
|
|
1679
|
+
locations?: {
|
|
1680
|
+
type: "restaurant" | "warehouse";
|
|
1681
|
+
name: string;
|
|
1682
|
+
acceptRequest: boolean;
|
|
1683
|
+
dbName: string;
|
|
1684
|
+
doc: {
|
|
1685
|
+
_id: string;
|
|
1686
|
+
businessId: string;
|
|
1687
|
+
profile: {
|
|
1688
|
+
code?: string | null | undefined;
|
|
1689
|
+
_id?: string | null | undefined;
|
|
1690
|
+
name?: string | undefined;
|
|
1691
|
+
address?: {
|
|
1692
|
+
coordinates?: number[] | null | undefined;
|
|
1693
|
+
line2?: string | null | undefined;
|
|
1694
|
+
state: string;
|
|
1695
|
+
country: string;
|
|
1696
|
+
line1: string;
|
|
1697
|
+
city: string;
|
|
1698
|
+
postcode: string;
|
|
1699
|
+
} | undefined;
|
|
1700
|
+
email?: string | undefined;
|
|
1701
|
+
regNo?: string | undefined;
|
|
1702
|
+
sstRegNo?: string | null | undefined;
|
|
1703
|
+
phoneNo?: string | undefined;
|
|
1704
|
+
legalName?: string | null | undefined;
|
|
1705
|
+
discovery?: boolean | null | undefined;
|
|
1706
|
+
coverPhoto?: string | null | undefined;
|
|
1707
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1708
|
+
description?: string | null | undefined;
|
|
1709
|
+
photos?: string[] | null | undefined;
|
|
1710
|
+
operatingHours?: {
|
|
1711
|
+
0: {
|
|
1712
|
+
hours: {
|
|
1713
|
+
end: string;
|
|
1714
|
+
start: string;
|
|
1715
|
+
}[];
|
|
1716
|
+
enable: boolean;
|
|
2655
1717
|
};
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
measurement?: string | null | undefined;
|
|
2661
|
-
inventoryBindings?: {
|
|
2662
|
-
measurement?: {
|
|
2663
|
-
id: string;
|
|
2664
|
-
name: string;
|
|
2665
|
-
abbrev: string;
|
|
2666
|
-
conversion: {
|
|
2667
|
-
amount: number;
|
|
2668
|
-
precision: number;
|
|
2669
|
-
};
|
|
2670
|
-
} | null | undefined;
|
|
2671
|
-
type: "RECIPE" | "SKU";
|
|
2672
|
-
amount: {
|
|
2673
|
-
amount: number;
|
|
2674
|
-
precision: number;
|
|
2675
|
-
};
|
|
2676
|
-
id: string;
|
|
2677
|
-
}[] | null | undefined;
|
|
2678
|
-
} | null | undefined;
|
|
2679
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2680
|
-
defaultCost?: {
|
|
2681
|
-
measurement?: {
|
|
2682
|
-
id: string;
|
|
2683
|
-
name: string;
|
|
2684
|
-
abbrev: string;
|
|
2685
|
-
conversion: {
|
|
2686
|
-
amount: number;
|
|
2687
|
-
precision: number;
|
|
2688
|
-
};
|
|
2689
|
-
} | null | undefined;
|
|
2690
|
-
costPerUnit: {
|
|
2691
|
-
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";
|
|
2692
|
-
amount: number;
|
|
2693
|
-
precision: number;
|
|
2694
|
-
};
|
|
2695
|
-
} | null | undefined;
|
|
2696
|
-
thresholds?: {
|
|
2697
|
-
low: number;
|
|
2698
|
-
mid: number;
|
|
2699
|
-
} | null | undefined;
|
|
2700
|
-
operationalGroup?: string | null | undefined;
|
|
2701
|
-
unit: {
|
|
2702
|
-
_id: string;
|
|
2703
|
-
name: string;
|
|
2704
|
-
abbrev: string;
|
|
2705
|
-
precision: number;
|
|
2706
|
-
measurements: {
|
|
2707
|
-
id: string;
|
|
2708
|
-
name: string;
|
|
2709
|
-
abbrev: string;
|
|
2710
|
-
conversion: {
|
|
2711
|
-
amount: number;
|
|
2712
|
-
precision: number;
|
|
2713
|
-
};
|
|
1718
|
+
2: {
|
|
1719
|
+
hours: {
|
|
1720
|
+
end: string;
|
|
1721
|
+
start: string;
|
|
2714
1722
|
}[];
|
|
1723
|
+
enable: boolean;
|
|
2715
1724
|
};
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
1725
|
+
1: {
|
|
1726
|
+
hours: {
|
|
1727
|
+
end: string;
|
|
1728
|
+
start: string;
|
|
1729
|
+
}[];
|
|
1730
|
+
enable: boolean;
|
|
1731
|
+
};
|
|
1732
|
+
3: {
|
|
1733
|
+
hours: {
|
|
1734
|
+
end: string;
|
|
1735
|
+
start: string;
|
|
1736
|
+
}[];
|
|
1737
|
+
enable: boolean;
|
|
1738
|
+
};
|
|
1739
|
+
4: {
|
|
1740
|
+
hours: {
|
|
1741
|
+
end: string;
|
|
1742
|
+
start: string;
|
|
1743
|
+
}[];
|
|
1744
|
+
enable: boolean;
|
|
1745
|
+
};
|
|
1746
|
+
5: {
|
|
1747
|
+
hours: {
|
|
1748
|
+
end: string;
|
|
1749
|
+
start: string;
|
|
1750
|
+
}[];
|
|
1751
|
+
enable: boolean;
|
|
1752
|
+
};
|
|
1753
|
+
6: {
|
|
1754
|
+
hours: {
|
|
1755
|
+
end: string;
|
|
1756
|
+
start: string;
|
|
1757
|
+
}[];
|
|
1758
|
+
enable: boolean;
|
|
1759
|
+
};
|
|
1760
|
+
} | null | undefined;
|
|
1761
|
+
tags?: string[] | null | undefined;
|
|
1762
|
+
url?: string | null | undefined;
|
|
1763
|
+
};
|
|
1764
|
+
};
|
|
1765
|
+
}[] | null | undefined;
|
|
1766
|
+
_id: string;
|
|
1767
|
+
name: string;
|
|
1768
|
+
purchaseOrder: {
|
|
1769
|
+
remark?: string | null | undefined;
|
|
1770
|
+
ref?: string | null | undefined;
|
|
2728
1771
|
items: {
|
|
2729
1772
|
measurement?: {
|
|
2730
1773
|
id: string;
|
|
@@ -2822,128 +1865,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
2822
1865
|
precision: number;
|
|
2823
1866
|
};
|
|
2824
1867
|
}[];
|
|
2825
|
-
|
|
2826
|
-
} | undefined;
|
|
2827
|
-
show?: boolean | undefined;
|
|
2828
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
2829
|
-
'onAction:use'?: ((locationId: string) => void) | undefined;
|
|
2830
|
-
'onAction:edit'?: (() => void) | undefined;
|
|
2831
|
-
}>;
|
|
2832
|
-
transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
|
|
2833
|
-
}, never>, Pick<{
|
|
2834
|
-
createTemplate: () => void;
|
|
2835
|
-
viewTemplate: (template: POTemplate) => void;
|
|
2836
|
-
updateTemplate: (template: POTemplate) => void;
|
|
2837
|
-
deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
2838
|
-
useTemplate: (template: POTemplate) => void;
|
|
2839
|
-
templateDialogProps: Ref<{
|
|
2840
|
-
mode?: FormMode | undefined;
|
|
2841
|
-
modelValue?: {
|
|
2842
|
-
_rev?: string | null | undefined;
|
|
2843
|
-
locations?: ({
|
|
2844
|
-
doc?: any;
|
|
2845
|
-
type: "restaurant";
|
|
2846
|
-
name: string;
|
|
2847
|
-
acceptRequest: boolean;
|
|
2848
|
-
dbName: string;
|
|
2849
|
-
} | {
|
|
2850
|
-
type: "warehouse";
|
|
2851
|
-
name: string;
|
|
2852
|
-
acceptRequest: boolean;
|
|
2853
|
-
dbName: string;
|
|
2854
|
-
doc: {
|
|
2855
|
-
pf_business?: {
|
|
2856
|
-
internal?: boolean | null | undefined;
|
|
2857
|
-
url?: string | null | undefined;
|
|
2858
|
-
expiredAt?: string | null | undefined;
|
|
2859
|
-
agentId?: string | null | undefined;
|
|
2860
|
-
attributeSettings?: {
|
|
2861
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2862
|
-
key: string;
|
|
2863
|
-
entity: "restaurant" | "item";
|
|
2864
|
-
}[] | null | undefined;
|
|
2865
|
-
pf_agent?: {
|
|
2866
|
-
clickupId?: string | null | undefined;
|
|
2867
|
-
members?: {
|
|
2868
|
-
pf_user?: {
|
|
2869
|
-
email?: string | null | undefined;
|
|
2870
|
-
phoneNumber?: string | null | undefined;
|
|
2871
|
-
birthday?: string | null | undefined;
|
|
2872
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2873
|
-
addresses?: {
|
|
2874
|
-
name: string;
|
|
2875
|
-
address: string;
|
|
2876
|
-
coordinates: number[];
|
|
2877
|
-
}[] | null | undefined;
|
|
2878
|
-
photoURL?: string | null | undefined;
|
|
2879
|
-
displayName?: string | null | undefined;
|
|
2880
|
-
imported?: {
|
|
2881
|
-
raw: Record<string, any>;
|
|
2882
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2883
|
-
} | null | undefined;
|
|
2884
|
-
_id: string;
|
|
2885
|
-
} | null | undefined;
|
|
2886
|
-
role: "ADMIN";
|
|
2887
|
-
userId: string;
|
|
2888
|
-
}[] | null | undefined;
|
|
2889
|
-
code: string;
|
|
2890
|
-
name: string;
|
|
2891
|
-
_id: string;
|
|
2892
|
-
isReseller: boolean;
|
|
2893
|
-
} | null | undefined;
|
|
2894
|
-
thumbnail?: string | null | undefined;
|
|
2895
|
-
billingInfos?: {
|
|
2896
|
-
_id?: string | null | undefined;
|
|
2897
|
-
name: string;
|
|
2898
|
-
address: {
|
|
2899
|
-
coordinates?: number[] | null | undefined;
|
|
2900
|
-
line2?: string | null | undefined;
|
|
2901
|
-
state: string;
|
|
2902
|
-
country: string;
|
|
2903
|
-
line1: string;
|
|
2904
|
-
city: string;
|
|
2905
|
-
postcode: string;
|
|
2906
|
-
};
|
|
2907
|
-
email: string;
|
|
2908
|
-
companyName: string;
|
|
2909
|
-
contact: string;
|
|
2910
|
-
}[] | null | undefined;
|
|
2911
|
-
customerDisplayImages?: {
|
|
2912
|
-
url: string;
|
|
2913
|
-
restaurantIds: string[];
|
|
2914
|
-
}[] | null | undefined;
|
|
2915
|
-
name: string;
|
|
2916
|
-
_id: string;
|
|
2917
|
-
ownerId: string;
|
|
2918
|
-
restaurantQuota: number;
|
|
2919
|
-
warehouseQuota: number;
|
|
2920
|
-
menuVersion: string;
|
|
2921
|
-
} | null | undefined;
|
|
2922
|
-
_id: string;
|
|
2923
|
-
businessId: string;
|
|
2924
|
-
profile: {
|
|
2925
|
-
email?: string | null | undefined;
|
|
2926
|
-
phoneNo?: string | null | undefined;
|
|
2927
|
-
name: string;
|
|
2928
|
-
address: {
|
|
2929
|
-
coordinates?: number[] | null | undefined;
|
|
2930
|
-
line2?: string | null | undefined;
|
|
2931
|
-
state: string;
|
|
2932
|
-
country: string;
|
|
2933
|
-
line1: string;
|
|
2934
|
-
city: string;
|
|
2935
|
-
postcode: string;
|
|
2936
|
-
};
|
|
2937
|
-
regNo: string;
|
|
2938
|
-
};
|
|
2939
|
-
};
|
|
2940
|
-
})[] | null | undefined;
|
|
2941
|
-
_id: string;
|
|
2942
|
-
name: string;
|
|
2943
|
-
purchaseOrder: {
|
|
2944
|
-
remark?: string | null | undefined;
|
|
2945
|
-
ref?: string | null | undefined;
|
|
2946
|
-
supplier?: {
|
|
1868
|
+
supplier: {
|
|
2947
1869
|
phoneNumber?: string | null | undefined;
|
|
2948
1870
|
email?: string | null | undefined;
|
|
2949
1871
|
_rev?: string | null | undefined;
|
|
@@ -2979,111 +1901,117 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
2979
1901
|
postcode: string;
|
|
2980
1902
|
country: string;
|
|
2981
1903
|
};
|
|
2982
|
-
}
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
} | undefined;
|
|
1907
|
+
show?: boolean | undefined;
|
|
1908
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
1909
|
+
'onAction:use'?: ((locationId: string) => void) | undefined;
|
|
1910
|
+
'onAction:edit'?: (() => void) | undefined;
|
|
1911
|
+
}>;
|
|
1912
|
+
transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
|
|
1913
|
+
}, never>, Pick<{
|
|
1914
|
+
createTemplate: () => void;
|
|
1915
|
+
viewTemplate: (template: POTemplate) => void;
|
|
1916
|
+
updateTemplate: (template: POTemplate) => void;
|
|
1917
|
+
deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
1918
|
+
useTemplate: (template: POTemplate) => void;
|
|
1919
|
+
templateDialogProps: Ref<{
|
|
1920
|
+
mode?: FormMode | undefined;
|
|
1921
|
+
modelValue?: {
|
|
1922
|
+
_rev?: string | null | undefined;
|
|
1923
|
+
locations?: {
|
|
1924
|
+
type: "restaurant" | "warehouse";
|
|
1925
|
+
name: string;
|
|
1926
|
+
acceptRequest: boolean;
|
|
1927
|
+
dbName: string;
|
|
1928
|
+
doc: {
|
|
1929
|
+
_id: string;
|
|
1930
|
+
businessId: string;
|
|
1931
|
+
profile: {
|
|
1932
|
+
code?: string | null | undefined;
|
|
1933
|
+
_id?: string | null | undefined;
|
|
1934
|
+
name?: string | undefined;
|
|
1935
|
+
address?: {
|
|
1936
|
+
coordinates?: number[] | null | undefined;
|
|
1937
|
+
line2?: string | null | undefined;
|
|
1938
|
+
state: string;
|
|
1939
|
+
country: string;
|
|
1940
|
+
line1: string;
|
|
1941
|
+
city: string;
|
|
1942
|
+
postcode: string;
|
|
1943
|
+
} | undefined;
|
|
1944
|
+
email?: string | undefined;
|
|
1945
|
+
regNo?: string | undefined;
|
|
1946
|
+
sstRegNo?: string | null | undefined;
|
|
1947
|
+
phoneNo?: string | undefined;
|
|
1948
|
+
legalName?: string | null | undefined;
|
|
1949
|
+
discovery?: boolean | null | undefined;
|
|
1950
|
+
coverPhoto?: string | null | undefined;
|
|
1951
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1952
|
+
description?: string | null | undefined;
|
|
1953
|
+
photos?: string[] | null | undefined;
|
|
1954
|
+
operatingHours?: {
|
|
1955
|
+
0: {
|
|
1956
|
+
hours: {
|
|
1957
|
+
end: string;
|
|
1958
|
+
start: string;
|
|
1959
|
+
}[];
|
|
1960
|
+
enable: boolean;
|
|
3014
1961
|
};
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
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
|
-
};
|
|
1962
|
+
2: {
|
|
1963
|
+
hours: {
|
|
1964
|
+
end: string;
|
|
1965
|
+
start: string;
|
|
1966
|
+
}[];
|
|
1967
|
+
enable: boolean;
|
|
1968
|
+
};
|
|
1969
|
+
1: {
|
|
1970
|
+
hours: {
|
|
1971
|
+
end: string;
|
|
1972
|
+
start: string;
|
|
1973
|
+
}[];
|
|
1974
|
+
enable: boolean;
|
|
1975
|
+
};
|
|
1976
|
+
3: {
|
|
1977
|
+
hours: {
|
|
1978
|
+
end: string;
|
|
1979
|
+
start: string;
|
|
3073
1980
|
}[];
|
|
1981
|
+
enable: boolean;
|
|
3074
1982
|
};
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
1983
|
+
4: {
|
|
1984
|
+
hours: {
|
|
1985
|
+
end: string;
|
|
1986
|
+
start: string;
|
|
1987
|
+
}[];
|
|
1988
|
+
enable: boolean;
|
|
1989
|
+
};
|
|
1990
|
+
5: {
|
|
1991
|
+
hours: {
|
|
1992
|
+
end: string;
|
|
1993
|
+
start: string;
|
|
1994
|
+
}[];
|
|
1995
|
+
enable: boolean;
|
|
1996
|
+
};
|
|
1997
|
+
6: {
|
|
1998
|
+
hours: {
|
|
1999
|
+
end: string;
|
|
2000
|
+
start: string;
|
|
2001
|
+
}[];
|
|
2002
|
+
enable: boolean;
|
|
2003
|
+
};
|
|
2004
|
+
} | null | undefined;
|
|
2005
|
+
tags?: string[] | null | undefined;
|
|
2006
|
+
url?: string | null | undefined;
|
|
2007
|
+
};
|
|
2008
|
+
};
|
|
2009
|
+
}[] | null | undefined;
|
|
2010
|
+
_id: string;
|
|
2011
|
+
name: string;
|
|
2012
|
+
purchaseOrder: {
|
|
2013
|
+
remark?: string | null | undefined;
|
|
2014
|
+
ref?: string | null | undefined;
|
|
3087
2015
|
items: {
|
|
3088
2016
|
measurement?: {
|
|
3089
2017
|
id: string;
|
|
@@ -3181,119 +2109,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
3181
2109
|
precision: number;
|
|
3182
2110
|
};
|
|
3183
2111
|
}[];
|
|
3184
|
-
|
|
3185
|
-
} | undefined;
|
|
3186
|
-
show?: boolean | undefined;
|
|
3187
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
3188
|
-
onSubmitted?: (() => void) | undefined;
|
|
3189
|
-
}, TransferTemplateDialogPropsWithEventBinding | {
|
|
3190
|
-
mode?: FormMode | undefined;
|
|
3191
|
-
modelValue?: {
|
|
3192
|
-
_rev?: string | null | undefined;
|
|
3193
|
-
locations?: ({
|
|
3194
|
-
doc?: any;
|
|
3195
|
-
type: "restaurant";
|
|
3196
|
-
name: string;
|
|
3197
|
-
acceptRequest: boolean;
|
|
3198
|
-
dbName: string;
|
|
3199
|
-
} | {
|
|
3200
|
-
type: "warehouse";
|
|
3201
|
-
name: string;
|
|
3202
|
-
acceptRequest: boolean;
|
|
3203
|
-
dbName: string;
|
|
3204
|
-
doc: {
|
|
3205
|
-
pf_business?: {
|
|
3206
|
-
internal?: boolean | null | undefined;
|
|
3207
|
-
url?: string | null | undefined;
|
|
3208
|
-
expiredAt?: string | null | undefined;
|
|
3209
|
-
agentId?: string | null | undefined;
|
|
3210
|
-
attributeSettings?: {
|
|
3211
|
-
type: "string" | "number" | "boolean" | "date";
|
|
3212
|
-
key: string;
|
|
3213
|
-
entity: "restaurant" | "item";
|
|
3214
|
-
}[] | null | undefined;
|
|
3215
|
-
pf_agent?: {
|
|
3216
|
-
clickupId?: string | null | undefined;
|
|
3217
|
-
members?: {
|
|
3218
|
-
pf_user?: {
|
|
3219
|
-
email?: string | null | undefined;
|
|
3220
|
-
phoneNumber?: string | null | undefined;
|
|
3221
|
-
birthday?: string | null | undefined;
|
|
3222
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
3223
|
-
addresses?: {
|
|
3224
|
-
name: string;
|
|
3225
|
-
address: string;
|
|
3226
|
-
coordinates: number[];
|
|
3227
|
-
}[] | null | undefined;
|
|
3228
|
-
photoURL?: string | null | undefined;
|
|
3229
|
-
displayName?: string | null | undefined;
|
|
3230
|
-
imported?: {
|
|
3231
|
-
raw: Record<string, any>;
|
|
3232
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
3233
|
-
} | null | undefined;
|
|
3234
|
-
_id: string;
|
|
3235
|
-
} | null | undefined;
|
|
3236
|
-
role: "ADMIN";
|
|
3237
|
-
userId: string;
|
|
3238
|
-
}[] | null | undefined;
|
|
3239
|
-
code: string;
|
|
3240
|
-
name: string;
|
|
3241
|
-
_id: string;
|
|
3242
|
-
isReseller: boolean;
|
|
3243
|
-
} | null | undefined;
|
|
3244
|
-
thumbnail?: string | null | undefined;
|
|
3245
|
-
billingInfos?: {
|
|
3246
|
-
_id?: string | null | undefined;
|
|
3247
|
-
name: string;
|
|
3248
|
-
address: {
|
|
3249
|
-
coordinates?: number[] | null | undefined;
|
|
3250
|
-
line2?: string | null | undefined;
|
|
3251
|
-
state: string;
|
|
3252
|
-
country: string;
|
|
3253
|
-
line1: string;
|
|
3254
|
-
city: string;
|
|
3255
|
-
postcode: string;
|
|
3256
|
-
};
|
|
3257
|
-
email: string;
|
|
3258
|
-
companyName: string;
|
|
3259
|
-
contact: string;
|
|
3260
|
-
}[] | null | undefined;
|
|
3261
|
-
customerDisplayImages?: {
|
|
3262
|
-
url: string;
|
|
3263
|
-
restaurantIds: string[];
|
|
3264
|
-
}[] | null | undefined;
|
|
3265
|
-
name: string;
|
|
3266
|
-
_id: string;
|
|
3267
|
-
ownerId: string;
|
|
3268
|
-
restaurantQuota: number;
|
|
3269
|
-
warehouseQuota: number;
|
|
3270
|
-
menuVersion: string;
|
|
3271
|
-
} | null | undefined;
|
|
3272
|
-
_id: string;
|
|
3273
|
-
businessId: string;
|
|
3274
|
-
profile: {
|
|
3275
|
-
email?: string | null | undefined;
|
|
3276
|
-
phoneNo?: string | null | undefined;
|
|
3277
|
-
name: string;
|
|
3278
|
-
address: {
|
|
3279
|
-
coordinates?: number[] | null | undefined;
|
|
3280
|
-
line2?: string | null | undefined;
|
|
3281
|
-
state: string;
|
|
3282
|
-
country: string;
|
|
3283
|
-
line1: string;
|
|
3284
|
-
city: string;
|
|
3285
|
-
postcode: string;
|
|
3286
|
-
};
|
|
3287
|
-
regNo: string;
|
|
3288
|
-
};
|
|
3289
|
-
};
|
|
3290
|
-
})[] | null | undefined;
|
|
3291
|
-
_id: string;
|
|
3292
|
-
name: string;
|
|
3293
|
-
purchaseOrder: {
|
|
3294
|
-
remark?: string | null | undefined;
|
|
3295
|
-
ref?: string | null | undefined;
|
|
3296
|
-
supplier?: {
|
|
2112
|
+
supplier: {
|
|
3297
2113
|
phoneNumber?: string | null | undefined;
|
|
3298
2114
|
email?: string | null | undefined;
|
|
3299
2115
|
_rev?: string | null | undefined;
|
|
@@ -3329,111 +2145,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
3329
2145
|
postcode: string;
|
|
3330
2146
|
country: string;
|
|
3331
2147
|
};
|
|
3332
|
-
}
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2150
|
+
} | undefined;
|
|
2151
|
+
show?: boolean | undefined;
|
|
2152
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
2153
|
+
onSubmitted?: (() => void) | undefined;
|
|
2154
|
+
}, TransferTemplateDialogPropsWithEventBinding | {
|
|
2155
|
+
mode?: FormMode | undefined;
|
|
2156
|
+
modelValue?: {
|
|
2157
|
+
_rev?: string | null | undefined;
|
|
2158
|
+
locations?: {
|
|
2159
|
+
type: "restaurant" | "warehouse";
|
|
2160
|
+
name: string;
|
|
2161
|
+
acceptRequest: boolean;
|
|
2162
|
+
dbName: string;
|
|
2163
|
+
doc: {
|
|
2164
|
+
_id: string;
|
|
2165
|
+
businessId: string;
|
|
2166
|
+
profile: {
|
|
2167
|
+
code?: string | null | undefined;
|
|
2168
|
+
_id?: string | null | undefined;
|
|
2169
|
+
name?: string | undefined;
|
|
2170
|
+
address?: {
|
|
2171
|
+
coordinates?: number[] | null | undefined;
|
|
2172
|
+
line2?: string | null | undefined;
|
|
2173
|
+
state: string;
|
|
2174
|
+
country: string;
|
|
2175
|
+
line1: string;
|
|
2176
|
+
city: string;
|
|
2177
|
+
postcode: string;
|
|
2178
|
+
} | undefined;
|
|
2179
|
+
email?: string | undefined;
|
|
2180
|
+
regNo?: string | undefined;
|
|
2181
|
+
sstRegNo?: string | null | undefined;
|
|
2182
|
+
phoneNo?: string | undefined;
|
|
2183
|
+
legalName?: string | null | undefined;
|
|
2184
|
+
discovery?: boolean | null | undefined;
|
|
2185
|
+
coverPhoto?: string | null | undefined;
|
|
2186
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2187
|
+
description?: string | null | undefined;
|
|
2188
|
+
photos?: string[] | null | undefined;
|
|
2189
|
+
operatingHours?: {
|
|
2190
|
+
0: {
|
|
2191
|
+
hours: {
|
|
2192
|
+
end: string;
|
|
2193
|
+
start: string;
|
|
2194
|
+
}[];
|
|
2195
|
+
enable: boolean;
|
|
3364
2196
|
};
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
measurement?: string | null | undefined;
|
|
3370
|
-
inventoryBindings?: {
|
|
3371
|
-
measurement?: {
|
|
3372
|
-
id: string;
|
|
3373
|
-
name: string;
|
|
3374
|
-
abbrev: string;
|
|
3375
|
-
conversion: {
|
|
3376
|
-
amount: number;
|
|
3377
|
-
precision: number;
|
|
3378
|
-
};
|
|
3379
|
-
} | null | undefined;
|
|
3380
|
-
type: "RECIPE" | "SKU";
|
|
3381
|
-
amount: {
|
|
3382
|
-
amount: number;
|
|
3383
|
-
precision: number;
|
|
3384
|
-
};
|
|
3385
|
-
id: string;
|
|
3386
|
-
}[] | null | undefined;
|
|
3387
|
-
} | null | undefined;
|
|
3388
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3389
|
-
defaultCost?: {
|
|
3390
|
-
measurement?: {
|
|
3391
|
-
id: string;
|
|
3392
|
-
name: string;
|
|
3393
|
-
abbrev: string;
|
|
3394
|
-
conversion: {
|
|
3395
|
-
amount: number;
|
|
3396
|
-
precision: number;
|
|
3397
|
-
};
|
|
3398
|
-
} | null | undefined;
|
|
3399
|
-
costPerUnit: {
|
|
3400
|
-
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";
|
|
3401
|
-
amount: number;
|
|
3402
|
-
precision: number;
|
|
3403
|
-
};
|
|
3404
|
-
} | null | undefined;
|
|
3405
|
-
thresholds?: {
|
|
3406
|
-
low: number;
|
|
3407
|
-
mid: number;
|
|
3408
|
-
} | null | undefined;
|
|
3409
|
-
operationalGroup?: string | null | undefined;
|
|
3410
|
-
unit: {
|
|
3411
|
-
_id: string;
|
|
3412
|
-
name: string;
|
|
3413
|
-
abbrev: string;
|
|
3414
|
-
precision: number;
|
|
3415
|
-
measurements: {
|
|
3416
|
-
id: string;
|
|
3417
|
-
name: string;
|
|
3418
|
-
abbrev: string;
|
|
3419
|
-
conversion: {
|
|
3420
|
-
amount: number;
|
|
3421
|
-
precision: number;
|
|
3422
|
-
};
|
|
2197
|
+
2: {
|
|
2198
|
+
hours: {
|
|
2199
|
+
end: string;
|
|
2200
|
+
start: string;
|
|
3423
2201
|
}[];
|
|
2202
|
+
enable: boolean;
|
|
3424
2203
|
};
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
2204
|
+
1: {
|
|
2205
|
+
hours: {
|
|
2206
|
+
end: string;
|
|
2207
|
+
start: string;
|
|
2208
|
+
}[];
|
|
2209
|
+
enable: boolean;
|
|
2210
|
+
};
|
|
2211
|
+
3: {
|
|
2212
|
+
hours: {
|
|
2213
|
+
end: string;
|
|
2214
|
+
start: string;
|
|
2215
|
+
}[];
|
|
2216
|
+
enable: boolean;
|
|
2217
|
+
};
|
|
2218
|
+
4: {
|
|
2219
|
+
hours: {
|
|
2220
|
+
end: string;
|
|
2221
|
+
start: string;
|
|
2222
|
+
}[];
|
|
2223
|
+
enable: boolean;
|
|
2224
|
+
};
|
|
2225
|
+
5: {
|
|
2226
|
+
hours: {
|
|
2227
|
+
end: string;
|
|
2228
|
+
start: string;
|
|
2229
|
+
}[];
|
|
2230
|
+
enable: boolean;
|
|
2231
|
+
};
|
|
2232
|
+
6: {
|
|
2233
|
+
hours: {
|
|
2234
|
+
end: string;
|
|
2235
|
+
start: string;
|
|
2236
|
+
}[];
|
|
2237
|
+
enable: boolean;
|
|
2238
|
+
};
|
|
2239
|
+
} | null | undefined;
|
|
2240
|
+
tags?: string[] | null | undefined;
|
|
2241
|
+
url?: string | null | undefined;
|
|
2242
|
+
};
|
|
2243
|
+
};
|
|
2244
|
+
}[] | null | undefined;
|
|
2245
|
+
_id: string;
|
|
2246
|
+
name: string;
|
|
2247
|
+
purchaseOrder: {
|
|
2248
|
+
remark?: string | null | undefined;
|
|
2249
|
+
ref?: string | null | undefined;
|
|
3437
2250
|
items: {
|
|
3438
2251
|
measurement?: {
|
|
3439
2252
|
id: string;
|
|
@@ -3531,259 +2344,144 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
3531
2344
|
precision: number;
|
|
3532
2345
|
};
|
|
3533
2346
|
}[];
|
|
3534
|
-
|
|
3535
|
-
} | undefined;
|
|
3536
|
-
show?: boolean | undefined;
|
|
3537
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
3538
|
-
onSubmitted?: (() => void) | undefined;
|
|
3539
|
-
}>;
|
|
3540
|
-
templateDetailsProps: Ref<{
|
|
3541
|
-
template?: {
|
|
3542
|
-
_rev?: string | null | undefined;
|
|
3543
|
-
locations?: ({
|
|
3544
|
-
doc?: any;
|
|
3545
|
-
type: "restaurant";
|
|
3546
|
-
name: string;
|
|
3547
|
-
acceptRequest: boolean;
|
|
3548
|
-
dbName: string;
|
|
3549
|
-
} | {
|
|
3550
|
-
type: "warehouse";
|
|
3551
|
-
name: string;
|
|
3552
|
-
acceptRequest: boolean;
|
|
3553
|
-
dbName: string;
|
|
3554
|
-
doc: {
|
|
3555
|
-
pf_business?: {
|
|
3556
|
-
internal?: boolean | null | undefined;
|
|
3557
|
-
url?: string | null | undefined;
|
|
3558
|
-
expiredAt?: string | null | undefined;
|
|
3559
|
-
agentId?: string | null | undefined;
|
|
3560
|
-
attributeSettings?: {
|
|
3561
|
-
type: "string" | "number" | "boolean" | "date";
|
|
3562
|
-
key: string;
|
|
3563
|
-
entity: "restaurant" | "item";
|
|
3564
|
-
}[] | null | undefined;
|
|
3565
|
-
pf_agent?: {
|
|
3566
|
-
clickupId?: string | null | undefined;
|
|
3567
|
-
members?: {
|
|
3568
|
-
pf_user?: {
|
|
3569
|
-
email?: string | null | undefined;
|
|
3570
|
-
phoneNumber?: string | null | undefined;
|
|
3571
|
-
birthday?: string | null | undefined;
|
|
3572
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
3573
|
-
addresses?: {
|
|
3574
|
-
name: string;
|
|
3575
|
-
address: string;
|
|
3576
|
-
coordinates: number[];
|
|
3577
|
-
}[] | null | undefined;
|
|
3578
|
-
photoURL?: string | null | undefined;
|
|
3579
|
-
displayName?: string | null | undefined;
|
|
3580
|
-
imported?: {
|
|
3581
|
-
raw: Record<string, any>;
|
|
3582
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
3583
|
-
} | null | undefined;
|
|
3584
|
-
_id: string;
|
|
3585
|
-
} | null | undefined;
|
|
3586
|
-
role: "ADMIN";
|
|
3587
|
-
userId: string;
|
|
3588
|
-
}[] | null | undefined;
|
|
3589
|
-
code: string;
|
|
3590
|
-
name: string;
|
|
3591
|
-
_id: string;
|
|
3592
|
-
isReseller: boolean;
|
|
3593
|
-
} | null | undefined;
|
|
3594
|
-
thumbnail?: string | null | undefined;
|
|
3595
|
-
billingInfos?: {
|
|
3596
|
-
_id?: string | null | undefined;
|
|
3597
|
-
name: string;
|
|
3598
|
-
address: {
|
|
3599
|
-
coordinates?: number[] | null | undefined;
|
|
3600
|
-
line2?: string | null | undefined;
|
|
3601
|
-
state: string;
|
|
3602
|
-
country: string;
|
|
3603
|
-
line1: string;
|
|
3604
|
-
city: string;
|
|
3605
|
-
postcode: string;
|
|
3606
|
-
};
|
|
3607
|
-
email: string;
|
|
3608
|
-
companyName: string;
|
|
3609
|
-
contact: string;
|
|
3610
|
-
}[] | null | undefined;
|
|
3611
|
-
customerDisplayImages?: {
|
|
3612
|
-
url: string;
|
|
3613
|
-
restaurantIds: string[];
|
|
3614
|
-
}[] | null | undefined;
|
|
3615
|
-
name: string;
|
|
3616
|
-
_id: string;
|
|
3617
|
-
ownerId: string;
|
|
3618
|
-
restaurantQuota: number;
|
|
3619
|
-
warehouseQuota: number;
|
|
3620
|
-
menuVersion: string;
|
|
3621
|
-
} | null | undefined;
|
|
3622
|
-
_id: string;
|
|
3623
|
-
businessId: string;
|
|
3624
|
-
profile: {
|
|
3625
|
-
email?: string | null | undefined;
|
|
3626
|
-
phoneNo?: string | null | undefined;
|
|
3627
|
-
name: string;
|
|
3628
|
-
address: {
|
|
3629
|
-
coordinates?: number[] | null | undefined;
|
|
3630
|
-
line2?: string | null | undefined;
|
|
3631
|
-
state: string;
|
|
3632
|
-
country: string;
|
|
3633
|
-
line1: string;
|
|
3634
|
-
city: string;
|
|
3635
|
-
postcode: string;
|
|
3636
|
-
};
|
|
3637
|
-
regNo: string;
|
|
3638
|
-
};
|
|
3639
|
-
};
|
|
3640
|
-
})[] | null | undefined;
|
|
3641
|
-
_id: string;
|
|
3642
|
-
name: string;
|
|
3643
|
-
purchaseOrder: {
|
|
3644
|
-
remark?: string | null | undefined;
|
|
3645
|
-
ref?: string | null | undefined;
|
|
3646
|
-
supplier?: {
|
|
2347
|
+
supplier: {
|
|
3647
2348
|
phoneNumber?: string | null | undefined;
|
|
3648
2349
|
email?: string | null | undefined;
|
|
3649
2350
|
_rev?: string | null | undefined;
|
|
3650
2351
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
3651
2352
|
contactName?: string | null | undefined;
|
|
3652
2353
|
registrationNumber?: string | undefined;
|
|
3653
|
-
supplyItems?: {
|
|
3654
|
-
defaultCost: {
|
|
3655
|
-
measurement?: {
|
|
3656
|
-
id: string;
|
|
3657
|
-
name: string;
|
|
3658
|
-
abbrev: string;
|
|
3659
|
-
conversion: {
|
|
3660
|
-
amount: number;
|
|
3661
|
-
precision: number;
|
|
3662
|
-
};
|
|
3663
|
-
} | null | undefined;
|
|
3664
|
-
costPerUnit: {
|
|
3665
|
-
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";
|
|
3666
|
-
amount: number;
|
|
3667
|
-
precision: number;
|
|
3668
|
-
};
|
|
3669
|
-
};
|
|
3670
|
-
skuId: string;
|
|
3671
|
-
}[] | null | undefined;
|
|
3672
|
-
_id: string;
|
|
3673
|
-
name: string;
|
|
3674
|
-
address: {
|
|
3675
|
-
line2?: string | null | undefined;
|
|
3676
|
-
line1: string;
|
|
3677
|
-
state: string;
|
|
3678
|
-
city: string;
|
|
3679
|
-
postcode: string;
|
|
3680
|
-
country: string;
|
|
3681
|
-
};
|
|
3682
|
-
} | undefined;
|
|
3683
|
-
netSuite?: {
|
|
3684
|
-
id?: string | null | undefined;
|
|
3685
|
-
errors?: string[] | null | undefined;
|
|
3686
|
-
subsidiary: {
|
|
3687
|
-
id?: string | null | undefined;
|
|
3688
|
-
name?: string | null | undefined;
|
|
3689
|
-
};
|
|
3690
|
-
} | null | undefined;
|
|
3691
|
-
template?: string | null | undefined;
|
|
3692
|
-
stockSnapshotId?: string | null | undefined;
|
|
3693
|
-
effectiveAt?: string | null | undefined;
|
|
3694
|
-
deliveryFullfillment?: {
|
|
3695
|
-
remark?: string | null | undefined;
|
|
3696
|
-
adjustment?: string | null | undefined;
|
|
3697
|
-
netSuite?: {
|
|
3698
|
-
id?: string | null | undefined;
|
|
3699
|
-
refNo?: string | null | undefined;
|
|
3700
|
-
} | null | undefined;
|
|
3701
|
-
items: {
|
|
3702
|
-
cost?: {
|
|
3703
|
-
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";
|
|
3704
|
-
amount: number;
|
|
3705
|
-
precision: number;
|
|
3706
|
-
} | null | undefined;
|
|
3707
|
-
measurement?: {
|
|
3708
|
-
id: string;
|
|
3709
|
-
name: string;
|
|
3710
|
-
abbrev: string;
|
|
3711
|
-
conversion: {
|
|
3712
|
-
amount: number;
|
|
3713
|
-
precision: number;
|
|
3714
|
-
};
|
|
3715
|
-
} | null | undefined;
|
|
3716
|
-
sku: {
|
|
3717
|
-
trackingMeasurement?: string | null | undefined;
|
|
3718
|
-
convert?: {
|
|
3719
|
-
measurement?: string | null | undefined;
|
|
3720
|
-
inventoryBindings?: {
|
|
3721
|
-
measurement?: {
|
|
3722
|
-
id: string;
|
|
3723
|
-
name: string;
|
|
3724
|
-
abbrev: string;
|
|
3725
|
-
conversion: {
|
|
3726
|
-
amount: number;
|
|
3727
|
-
precision: number;
|
|
3728
|
-
};
|
|
3729
|
-
} | null | undefined;
|
|
3730
|
-
type: "RECIPE" | "SKU";
|
|
3731
|
-
amount: {
|
|
3732
|
-
amount: number;
|
|
3733
|
-
precision: number;
|
|
3734
|
-
};
|
|
3735
|
-
id: string;
|
|
3736
|
-
}[] | null | undefined;
|
|
3737
|
-
} | null | undefined;
|
|
3738
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3739
|
-
defaultCost?: {
|
|
3740
|
-
measurement?: {
|
|
3741
|
-
id: string;
|
|
3742
|
-
name: string;
|
|
3743
|
-
abbrev: string;
|
|
3744
|
-
conversion: {
|
|
3745
|
-
amount: number;
|
|
3746
|
-
precision: number;
|
|
3747
|
-
};
|
|
3748
|
-
} | null | undefined;
|
|
3749
|
-
costPerUnit: {
|
|
3750
|
-
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";
|
|
2354
|
+
supplyItems?: {
|
|
2355
|
+
defaultCost: {
|
|
2356
|
+
measurement?: {
|
|
2357
|
+
id: string;
|
|
2358
|
+
name: string;
|
|
2359
|
+
abbrev: string;
|
|
2360
|
+
conversion: {
|
|
3751
2361
|
amount: number;
|
|
3752
2362
|
precision: number;
|
|
3753
2363
|
};
|
|
3754
2364
|
} | null | undefined;
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
} | null | undefined;
|
|
3759
|
-
operationalGroup?: string | null | undefined;
|
|
3760
|
-
unit: {
|
|
3761
|
-
_id: string;
|
|
3762
|
-
name: string;
|
|
3763
|
-
abbrev: string;
|
|
2365
|
+
costPerUnit: {
|
|
2366
|
+
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";
|
|
2367
|
+
amount: number;
|
|
3764
2368
|
precision: number;
|
|
3765
|
-
measurements: {
|
|
3766
|
-
id: string;
|
|
3767
|
-
name: string;
|
|
3768
|
-
abbrev: string;
|
|
3769
|
-
conversion: {
|
|
3770
|
-
amount: number;
|
|
3771
|
-
precision: number;
|
|
3772
|
-
};
|
|
3773
|
-
}[];
|
|
3774
2369
|
};
|
|
3775
|
-
code: string;
|
|
3776
|
-
_id: string;
|
|
3777
|
-
name: string;
|
|
3778
|
-
};
|
|
3779
|
-
amount: {
|
|
3780
|
-
amount: number;
|
|
3781
|
-
precision: number;
|
|
3782
2370
|
};
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
2371
|
+
skuId: string;
|
|
2372
|
+
}[] | null | undefined;
|
|
2373
|
+
_id: string;
|
|
2374
|
+
name: string;
|
|
2375
|
+
address: {
|
|
2376
|
+
line2?: string | null | undefined;
|
|
2377
|
+
line1: string;
|
|
2378
|
+
state: string;
|
|
2379
|
+
city: string;
|
|
2380
|
+
postcode: string;
|
|
2381
|
+
country: string;
|
|
2382
|
+
};
|
|
2383
|
+
};
|
|
2384
|
+
};
|
|
2385
|
+
} | undefined;
|
|
2386
|
+
show?: boolean | undefined;
|
|
2387
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
2388
|
+
onSubmitted?: (() => void) | undefined;
|
|
2389
|
+
}>;
|
|
2390
|
+
templateDetailsProps: Ref<{
|
|
2391
|
+
template?: {
|
|
2392
|
+
_rev?: string | null | undefined;
|
|
2393
|
+
locations?: {
|
|
2394
|
+
type: "restaurant" | "warehouse";
|
|
2395
|
+
name: string;
|
|
2396
|
+
acceptRequest: boolean;
|
|
2397
|
+
dbName: string;
|
|
2398
|
+
doc: {
|
|
2399
|
+
_id: string;
|
|
2400
|
+
businessId: string;
|
|
2401
|
+
profile: {
|
|
2402
|
+
code?: string | null | undefined;
|
|
2403
|
+
_id?: string | null | undefined;
|
|
2404
|
+
name?: string | undefined;
|
|
2405
|
+
address?: {
|
|
2406
|
+
coordinates?: number[] | null | undefined;
|
|
2407
|
+
line2?: string | null | undefined;
|
|
2408
|
+
state: string;
|
|
2409
|
+
country: string;
|
|
2410
|
+
line1: string;
|
|
2411
|
+
city: string;
|
|
2412
|
+
postcode: string;
|
|
2413
|
+
} | undefined;
|
|
2414
|
+
email?: string | undefined;
|
|
2415
|
+
regNo?: string | undefined;
|
|
2416
|
+
sstRegNo?: string | null | undefined;
|
|
2417
|
+
phoneNo?: string | undefined;
|
|
2418
|
+
legalName?: string | null | undefined;
|
|
2419
|
+
discovery?: boolean | null | undefined;
|
|
2420
|
+
coverPhoto?: string | null | undefined;
|
|
2421
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2422
|
+
description?: string | null | undefined;
|
|
2423
|
+
photos?: string[] | null | undefined;
|
|
2424
|
+
operatingHours?: {
|
|
2425
|
+
0: {
|
|
2426
|
+
hours: {
|
|
2427
|
+
end: string;
|
|
2428
|
+
start: string;
|
|
2429
|
+
}[];
|
|
2430
|
+
enable: boolean;
|
|
2431
|
+
};
|
|
2432
|
+
2: {
|
|
2433
|
+
hours: {
|
|
2434
|
+
end: string;
|
|
2435
|
+
start: string;
|
|
2436
|
+
}[];
|
|
2437
|
+
enable: boolean;
|
|
2438
|
+
};
|
|
2439
|
+
1: {
|
|
2440
|
+
hours: {
|
|
2441
|
+
end: string;
|
|
2442
|
+
start: string;
|
|
2443
|
+
}[];
|
|
2444
|
+
enable: boolean;
|
|
2445
|
+
};
|
|
2446
|
+
3: {
|
|
2447
|
+
hours: {
|
|
2448
|
+
end: string;
|
|
2449
|
+
start: string;
|
|
2450
|
+
}[];
|
|
2451
|
+
enable: boolean;
|
|
2452
|
+
};
|
|
2453
|
+
4: {
|
|
2454
|
+
hours: {
|
|
2455
|
+
end: string;
|
|
2456
|
+
start: string;
|
|
2457
|
+
}[];
|
|
2458
|
+
enable: boolean;
|
|
2459
|
+
};
|
|
2460
|
+
5: {
|
|
2461
|
+
hours: {
|
|
2462
|
+
end: string;
|
|
2463
|
+
start: string;
|
|
2464
|
+
}[];
|
|
2465
|
+
enable: boolean;
|
|
2466
|
+
};
|
|
2467
|
+
6: {
|
|
2468
|
+
hours: {
|
|
2469
|
+
end: string;
|
|
2470
|
+
start: string;
|
|
2471
|
+
}[];
|
|
2472
|
+
enable: boolean;
|
|
2473
|
+
};
|
|
2474
|
+
} | null | undefined;
|
|
2475
|
+
tags?: string[] | null | undefined;
|
|
2476
|
+
url?: string | null | undefined;
|
|
2477
|
+
};
|
|
2478
|
+
};
|
|
2479
|
+
}[] | null | undefined;
|
|
2480
|
+
_id: string;
|
|
2481
|
+
name: string;
|
|
2482
|
+
purchaseOrder: {
|
|
2483
|
+
remark?: string | null | undefined;
|
|
2484
|
+
ref?: string | null | undefined;
|
|
3787
2485
|
items: {
|
|
3788
2486
|
measurement?: {
|
|
3789
2487
|
id: string;
|
|
@@ -3881,119 +2579,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
3881
2579
|
precision: number;
|
|
3882
2580
|
};
|
|
3883
2581
|
}[];
|
|
3884
|
-
|
|
3885
|
-
} | undefined;
|
|
3886
|
-
show?: boolean | undefined;
|
|
3887
|
-
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
3888
|
-
'onAction:use'?: ((locationId: string) => void) | undefined;
|
|
3889
|
-
'onAction:edit'?: (() => void) | undefined;
|
|
3890
|
-
}, TransferTemplateDetailsPropsWithEventBinding | {
|
|
3891
|
-
template?: {
|
|
3892
|
-
_rev?: string | null | undefined;
|
|
3893
|
-
locations?: ({
|
|
3894
|
-
doc?: any;
|
|
3895
|
-
type: "restaurant";
|
|
3896
|
-
name: string;
|
|
3897
|
-
acceptRequest: boolean;
|
|
3898
|
-
dbName: string;
|
|
3899
|
-
} | {
|
|
3900
|
-
type: "warehouse";
|
|
3901
|
-
name: string;
|
|
3902
|
-
acceptRequest: boolean;
|
|
3903
|
-
dbName: string;
|
|
3904
|
-
doc: {
|
|
3905
|
-
pf_business?: {
|
|
3906
|
-
internal?: boolean | null | undefined;
|
|
3907
|
-
url?: string | null | undefined;
|
|
3908
|
-
expiredAt?: string | null | undefined;
|
|
3909
|
-
agentId?: string | null | undefined;
|
|
3910
|
-
attributeSettings?: {
|
|
3911
|
-
type: "string" | "number" | "boolean" | "date";
|
|
3912
|
-
key: string;
|
|
3913
|
-
entity: "restaurant" | "item";
|
|
3914
|
-
}[] | null | undefined;
|
|
3915
|
-
pf_agent?: {
|
|
3916
|
-
clickupId?: string | null | undefined;
|
|
3917
|
-
members?: {
|
|
3918
|
-
pf_user?: {
|
|
3919
|
-
email?: string | null | undefined;
|
|
3920
|
-
phoneNumber?: string | null | undefined;
|
|
3921
|
-
birthday?: string | null | undefined;
|
|
3922
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
3923
|
-
addresses?: {
|
|
3924
|
-
name: string;
|
|
3925
|
-
address: string;
|
|
3926
|
-
coordinates: number[];
|
|
3927
|
-
}[] | null | undefined;
|
|
3928
|
-
photoURL?: string | null | undefined;
|
|
3929
|
-
displayName?: string | null | undefined;
|
|
3930
|
-
imported?: {
|
|
3931
|
-
raw: Record<string, any>;
|
|
3932
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
3933
|
-
} | null | undefined;
|
|
3934
|
-
_id: string;
|
|
3935
|
-
} | null | undefined;
|
|
3936
|
-
role: "ADMIN";
|
|
3937
|
-
userId: string;
|
|
3938
|
-
}[] | null | undefined;
|
|
3939
|
-
code: string;
|
|
3940
|
-
name: string;
|
|
3941
|
-
_id: string;
|
|
3942
|
-
isReseller: boolean;
|
|
3943
|
-
} | null | undefined;
|
|
3944
|
-
thumbnail?: string | null | undefined;
|
|
3945
|
-
billingInfos?: {
|
|
3946
|
-
_id?: string | null | undefined;
|
|
3947
|
-
name: string;
|
|
3948
|
-
address: {
|
|
3949
|
-
coordinates?: number[] | null | undefined;
|
|
3950
|
-
line2?: string | null | undefined;
|
|
3951
|
-
state: string;
|
|
3952
|
-
country: string;
|
|
3953
|
-
line1: string;
|
|
3954
|
-
city: string;
|
|
3955
|
-
postcode: string;
|
|
3956
|
-
};
|
|
3957
|
-
email: string;
|
|
3958
|
-
companyName: string;
|
|
3959
|
-
contact: string;
|
|
3960
|
-
}[] | null | undefined;
|
|
3961
|
-
customerDisplayImages?: {
|
|
3962
|
-
url: string;
|
|
3963
|
-
restaurantIds: string[];
|
|
3964
|
-
}[] | null | undefined;
|
|
3965
|
-
name: string;
|
|
3966
|
-
_id: string;
|
|
3967
|
-
ownerId: string;
|
|
3968
|
-
restaurantQuota: number;
|
|
3969
|
-
warehouseQuota: number;
|
|
3970
|
-
menuVersion: string;
|
|
3971
|
-
} | null | undefined;
|
|
3972
|
-
_id: string;
|
|
3973
|
-
businessId: string;
|
|
3974
|
-
profile: {
|
|
3975
|
-
email?: string | null | undefined;
|
|
3976
|
-
phoneNo?: string | null | undefined;
|
|
3977
|
-
name: string;
|
|
3978
|
-
address: {
|
|
3979
|
-
coordinates?: number[] | null | undefined;
|
|
3980
|
-
line2?: string | null | undefined;
|
|
3981
|
-
state: string;
|
|
3982
|
-
country: string;
|
|
3983
|
-
line1: string;
|
|
3984
|
-
city: string;
|
|
3985
|
-
postcode: string;
|
|
3986
|
-
};
|
|
3987
|
-
regNo: string;
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
})[] | null | undefined;
|
|
3991
|
-
_id: string;
|
|
3992
|
-
name: string;
|
|
3993
|
-
purchaseOrder: {
|
|
3994
|
-
remark?: string | null | undefined;
|
|
3995
|
-
ref?: string | null | undefined;
|
|
3996
|
-
supplier?: {
|
|
2582
|
+
supplier: {
|
|
3997
2583
|
phoneNumber?: string | null | undefined;
|
|
3998
2584
|
email?: string | null | undefined;
|
|
3999
2585
|
_rev?: string | null | undefined;
|
|
@@ -4029,111 +2615,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
4029
2615
|
postcode: string;
|
|
4030
2616
|
country: string;
|
|
4031
2617
|
};
|
|
4032
|
-
}
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
2618
|
+
};
|
|
2619
|
+
};
|
|
2620
|
+
} | undefined;
|
|
2621
|
+
show?: boolean | undefined;
|
|
2622
|
+
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
2623
|
+
'onAction:use'?: ((locationId: string) => void) | undefined;
|
|
2624
|
+
'onAction:edit'?: (() => void) | undefined;
|
|
2625
|
+
}, TransferTemplateDetailsPropsWithEventBinding | {
|
|
2626
|
+
template?: {
|
|
2627
|
+
_rev?: string | null | undefined;
|
|
2628
|
+
locations?: {
|
|
2629
|
+
type: "restaurant" | "warehouse";
|
|
2630
|
+
name: string;
|
|
2631
|
+
acceptRequest: boolean;
|
|
2632
|
+
dbName: string;
|
|
2633
|
+
doc: {
|
|
2634
|
+
_id: string;
|
|
2635
|
+
businessId: string;
|
|
2636
|
+
profile: {
|
|
2637
|
+
code?: string | null | undefined;
|
|
2638
|
+
_id?: string | null | undefined;
|
|
2639
|
+
name?: string | undefined;
|
|
2640
|
+
address?: {
|
|
2641
|
+
coordinates?: number[] | null | undefined;
|
|
2642
|
+
line2?: string | null | undefined;
|
|
2643
|
+
state: string;
|
|
2644
|
+
country: string;
|
|
2645
|
+
line1: string;
|
|
2646
|
+
city: string;
|
|
2647
|
+
postcode: string;
|
|
2648
|
+
} | undefined;
|
|
2649
|
+
email?: string | undefined;
|
|
2650
|
+
regNo?: string | undefined;
|
|
2651
|
+
sstRegNo?: string | null | undefined;
|
|
2652
|
+
phoneNo?: string | undefined;
|
|
2653
|
+
legalName?: string | null | undefined;
|
|
2654
|
+
discovery?: boolean | null | undefined;
|
|
2655
|
+
coverPhoto?: string | null | undefined;
|
|
2656
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2657
|
+
description?: string | null | undefined;
|
|
2658
|
+
photos?: string[] | null | undefined;
|
|
2659
|
+
operatingHours?: {
|
|
2660
|
+
0: {
|
|
2661
|
+
hours: {
|
|
2662
|
+
end: string;
|
|
2663
|
+
start: string;
|
|
2664
|
+
}[];
|
|
2665
|
+
enable: boolean;
|
|
4064
2666
|
};
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
measurement?: string | null | undefined;
|
|
4070
|
-
inventoryBindings?: {
|
|
4071
|
-
measurement?: {
|
|
4072
|
-
id: string;
|
|
4073
|
-
name: string;
|
|
4074
|
-
abbrev: string;
|
|
4075
|
-
conversion: {
|
|
4076
|
-
amount: number;
|
|
4077
|
-
precision: number;
|
|
4078
|
-
};
|
|
4079
|
-
} | null | undefined;
|
|
4080
|
-
type: "RECIPE" | "SKU";
|
|
4081
|
-
amount: {
|
|
4082
|
-
amount: number;
|
|
4083
|
-
precision: number;
|
|
4084
|
-
};
|
|
4085
|
-
id: string;
|
|
4086
|
-
}[] | null | undefined;
|
|
4087
|
-
} | null | undefined;
|
|
4088
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
4089
|
-
defaultCost?: {
|
|
4090
|
-
measurement?: {
|
|
4091
|
-
id: string;
|
|
4092
|
-
name: string;
|
|
4093
|
-
abbrev: string;
|
|
4094
|
-
conversion: {
|
|
4095
|
-
amount: number;
|
|
4096
|
-
precision: number;
|
|
4097
|
-
};
|
|
4098
|
-
} | null | undefined;
|
|
4099
|
-
costPerUnit: {
|
|
4100
|
-
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";
|
|
4101
|
-
amount: number;
|
|
4102
|
-
precision: number;
|
|
4103
|
-
};
|
|
4104
|
-
} | null | undefined;
|
|
4105
|
-
thresholds?: {
|
|
4106
|
-
low: number;
|
|
4107
|
-
mid: number;
|
|
4108
|
-
} | null | undefined;
|
|
4109
|
-
operationalGroup?: string | null | undefined;
|
|
4110
|
-
unit: {
|
|
4111
|
-
_id: string;
|
|
4112
|
-
name: string;
|
|
4113
|
-
abbrev: string;
|
|
4114
|
-
precision: number;
|
|
4115
|
-
measurements: {
|
|
4116
|
-
id: string;
|
|
4117
|
-
name: string;
|
|
4118
|
-
abbrev: string;
|
|
4119
|
-
conversion: {
|
|
4120
|
-
amount: number;
|
|
4121
|
-
precision: number;
|
|
4122
|
-
};
|
|
2667
|
+
2: {
|
|
2668
|
+
hours: {
|
|
2669
|
+
end: string;
|
|
2670
|
+
start: string;
|
|
4123
2671
|
}[];
|
|
2672
|
+
enable: boolean;
|
|
4124
2673
|
};
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
2674
|
+
1: {
|
|
2675
|
+
hours: {
|
|
2676
|
+
end: string;
|
|
2677
|
+
start: string;
|
|
2678
|
+
}[];
|
|
2679
|
+
enable: boolean;
|
|
2680
|
+
};
|
|
2681
|
+
3: {
|
|
2682
|
+
hours: {
|
|
2683
|
+
end: string;
|
|
2684
|
+
start: string;
|
|
2685
|
+
}[];
|
|
2686
|
+
enable: boolean;
|
|
2687
|
+
};
|
|
2688
|
+
4: {
|
|
2689
|
+
hours: {
|
|
2690
|
+
end: string;
|
|
2691
|
+
start: string;
|
|
2692
|
+
}[];
|
|
2693
|
+
enable: boolean;
|
|
2694
|
+
};
|
|
2695
|
+
5: {
|
|
2696
|
+
hours: {
|
|
2697
|
+
end: string;
|
|
2698
|
+
start: string;
|
|
2699
|
+
}[];
|
|
2700
|
+
enable: boolean;
|
|
2701
|
+
};
|
|
2702
|
+
6: {
|
|
2703
|
+
hours: {
|
|
2704
|
+
end: string;
|
|
2705
|
+
start: string;
|
|
2706
|
+
}[];
|
|
2707
|
+
enable: boolean;
|
|
2708
|
+
};
|
|
2709
|
+
} | null | undefined;
|
|
2710
|
+
tags?: string[] | null | undefined;
|
|
2711
|
+
url?: string | null | undefined;
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
}[] | null | undefined;
|
|
2715
|
+
_id: string;
|
|
2716
|
+
name: string;
|
|
2717
|
+
purchaseOrder: {
|
|
2718
|
+
remark?: string | null | undefined;
|
|
2719
|
+
ref?: string | null | undefined;
|
|
4137
2720
|
items: {
|
|
4138
2721
|
measurement?: {
|
|
4139
2722
|
id: string;
|
|
@@ -4231,6 +2814,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
|
|
|
4231
2814
|
precision: number;
|
|
4232
2815
|
};
|
|
4233
2816
|
}[];
|
|
2817
|
+
supplier: {
|
|
2818
|
+
phoneNumber?: string | null | undefined;
|
|
2819
|
+
email?: string | null | undefined;
|
|
2820
|
+
_rev?: string | null | undefined;
|
|
2821
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2822
|
+
contactName?: string | null | undefined;
|
|
2823
|
+
registrationNumber?: string | undefined;
|
|
2824
|
+
supplyItems?: {
|
|
2825
|
+
defaultCost: {
|
|
2826
|
+
measurement?: {
|
|
2827
|
+
id: string;
|
|
2828
|
+
name: string;
|
|
2829
|
+
abbrev: string;
|
|
2830
|
+
conversion: {
|
|
2831
|
+
amount: number;
|
|
2832
|
+
precision: number;
|
|
2833
|
+
};
|
|
2834
|
+
} | null | undefined;
|
|
2835
|
+
costPerUnit: {
|
|
2836
|
+
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";
|
|
2837
|
+
amount: number;
|
|
2838
|
+
precision: number;
|
|
2839
|
+
};
|
|
2840
|
+
};
|
|
2841
|
+
skuId: string;
|
|
2842
|
+
}[] | null | undefined;
|
|
2843
|
+
_id: string;
|
|
2844
|
+
name: string;
|
|
2845
|
+
address: {
|
|
2846
|
+
line2?: string | null | undefined;
|
|
2847
|
+
line1: string;
|
|
2848
|
+
state: string;
|
|
2849
|
+
city: string;
|
|
2850
|
+
postcode: string;
|
|
2851
|
+
country: string;
|
|
2852
|
+
};
|
|
2853
|
+
};
|
|
4234
2854
|
};
|
|
4235
2855
|
} | undefined;
|
|
4236
2856
|
show?: boolean | undefined;
|