@feedmepos/mf-payment 1.6.8-dev → 1.6.10-dev
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/{Actions.vue_vue_type_script_setup_true_lang-s13fThdT.js → Actions.vue_vue_type_script_setup_true_lang-C7gFGQdP.js} +1 -1
- package/dist/{Chargeback-s2B12pqw.js → Chargeback-CPI5oUVB.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-Brxq1bVN.js → DocumentViewer.vue_vue_type_script_setup_true_lang-CJXV3Ewk.js} +1 -1
- package/dist/{OnboardForm-DaXEZGLC.js → OnboardForm-Bhe__gxG.js} +5 -5
- package/dist/{OnboardForm-B9377J98.js → OnboardForm-H0RzgwBy.js} +217 -205
- package/dist/{OnboardSubmission-C5DIpJQh.js → OnboardSubmission-CxczmI1m.js} +5 -5
- package/dist/{OnboardSubmission-DarWs48V.js → OnboardSubmission-OlSuAcVD.js} +2 -2
- package/dist/{PayoutAccount-snvpiq4o.js → PayoutAccount-CpGJ5UaY.js} +5 -5
- package/dist/{PayoutAccount-B0KjMo02.js → PayoutAccount-OMrqMmso.js} +5 -5
- package/dist/{PayoutAccountSetting-BawYjWT-.js → PayoutAccountSetting-BU8-p1qa.js} +6 -6
- package/dist/{Restaurant-g3JcN1LJ.js → Restaurant-9-Yu13Qc.js} +4 -4
- package/dist/{RestaurantSetting-Dv4MsRdG.js → RestaurantSetting-CRh-Q8YG.js} +3 -3
- package/dist/{Settlement-Btpp6NBv.js → Settlement-B6MYFmyp.js} +3 -3
- package/dist/{Settlement-CQtWESZI.js → Settlement-BtGiko2N.js} +4 -4
- package/dist/{SettlementTransactions-F3S1hPBT.js → SettlementTransactions-C7xQeZc4.js} +4 -4
- package/dist/{SettlementTransactions-CJW2xyxt.js → SettlementTransactions-CiH05kpT.js} +4 -4
- package/dist/{Status.vue_vue_type_script_setup_true_lang-DdVVwOEA.js → Status.vue_vue_type_script_setup_true_lang-pNlg5cV9.js} +1 -1
- package/dist/{Terminal-BxmSQ1b7.js → Terminal-CFiYruE2.js} +5 -5
- package/dist/{TerminalSetting-BJt1UNaS.js → TerminalSetting-BSFv3TMk.js} +4 -4
- package/dist/{Transaction-DOy8dy0S.js → Transaction-PwJ59Ky5.js} +7 -7
- package/dist/{Transaction-CetADC7q.js → Transaction-skOwrFET.js} +11 -11
- package/dist/{TransactionOld-Fnu59RaV.js → TransactionOld-DJEwXYhA.js} +7 -7
- package/dist/{app-DJT6o3lt.js → app-DE8hHyLN.js} +23 -23
- package/dist/app.js +1 -1
- package/dist/{assets-DsTR88pc.js → assets-BM3FgUkE.js} +2 -1
- package/dist/{grafana-BfHxa0Kx.js → grafana-DdK4arLU.js} +1 -1
- package/dist/{index-DybR8SB-.js → index-B1GnLzyY.js} +1 -1
- package/dist/{index-DzYqhrGz.js → index-BD1toUOz.js} +1 -1
- package/dist/{index-D-f4jEHN.js → index-BlpfRc5j.js} +1 -1
- package/dist/{index-6HIcStUJ.js → index-BthGQPkW.js} +2 -2
- package/dist/{index-BP7LcvTR.js → index-CBp9LUQ5.js} +1 -1
- package/dist/{index-dmdTuMhH.js → index-CbBwZdwo.js} +1 -1
- package/dist/{index-BKZQoRfc.js → index-DTjDU22_.js} +1 -1
- package/dist/{index-2E-xTwnR.js → index-KADrCozl.js} +1 -1
- package/dist/{index-BHRzCu06.js → index-SVZTBWJa.js} +10748 -9743
- package/dist/{index-FbkInaFL.js → index-n58-Qewm.js} +13 -13
- package/dist/{index.vue_vue_type_script_setup_true_lang-Cpf2rL39.js → index.vue_vue_type_script_setup_true_lang-3OAcibDB.js} +1 -1
- package/dist/model/transaction.d.ts +1 -0
- package/dist/package.json +3 -3
- package/dist/{payout-account-BAvaRWsn.js → payout-account-DZIYINds.js} +3 -3
- package/dist/stores/payoutAccount.d.ts +26 -26
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +26 -26
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +30 -30
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +30 -30
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +26 -26
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +26 -26
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +30 -30
- package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/DigioGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/TyroGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +2 -2
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +12 -12
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +12 -12
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +52 -52
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +4 -4
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as Pn, ref as D, computed as rn, resolveComponent as H, openBlock as b, createElementBlock as x, createElementVNode as i, toDisplayString as _, renderSlot as Bn, createCommentVNode as c, Fragment as $, createBlock as M, withCtx as X, createVNode as
|
|
1
|
+
import { defineComponent as Pn, ref as D, computed as rn, resolveComponent as H, openBlock as b, createElementBlock as x, createElementVNode as i, toDisplayString as _, renderSlot as Bn, createCommentVNode as c, Fragment as $, createBlock as M, withCtx as X, createVNode as d, unref as t, onMounted as Rn, renderList as Fn, createTextVNode as Xn, watch as kn, nextTick as Jn, h as hn, resolveDynamicComponent as qn } from "vue";
|
|
2
2
|
import { z as w, a as j } from "./validator-CTlVogBQ.js";
|
|
3
|
-
import { _ as
|
|
3
|
+
import { _ as Dn } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-CJXV3Ewk.js";
|
|
4
4
|
import { P as Wn, _ as Kn } from "./PDFViewer-CIPPbzWD.js";
|
|
5
5
|
import { useCoreStore as Cn, useI18n as Yn } from "@feedmepos/mf-common";
|
|
6
|
-
import { o as tn } from "./index-
|
|
7
|
-
import { p as En } from "./index-
|
|
6
|
+
import { o as tn } from "./index-BthGQPkW.js";
|
|
7
|
+
import { p as En } from "./index-KADrCozl.js";
|
|
8
8
|
import { useSnackbar as Vn, useFormChild as Qn, useDialog as Un } from "@feedmepos/ui-library";
|
|
9
|
-
import { u as
|
|
9
|
+
import { u as gn } from "./index-SVZTBWJa.js";
|
|
10
10
|
import { s as Sn } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
11
|
-
import { P as _n } from "./payout-account-
|
|
11
|
+
import { P as _n } from "./payout-account-DZIYINds.js";
|
|
12
12
|
import { useRouter as In } from "vue-router";
|
|
13
13
|
const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold" }, tt = ["src"], et = ["src"], C = /* @__PURE__ */ Pn({
|
|
14
14
|
__name: "UploadButton",
|
|
@@ -43,7 +43,7 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
43
43
|
S.value ? (b(), x($, { key: 1 }, [
|
|
44
44
|
u.type === "pdf" ? (b(), M(y, { key: 0 }, {
|
|
45
45
|
"dialog-button": X(() => [
|
|
46
|
-
|
|
46
|
+
d(B, {
|
|
47
47
|
class: "mt-4",
|
|
48
48
|
"prepend-icon": "preview",
|
|
49
49
|
label: "Preview"
|
|
@@ -53,7 +53,7 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
53
53
|
i("div", null, "Document Preview", -1)
|
|
54
54
|
])]),
|
|
55
55
|
default: X(() => [
|
|
56
|
-
|
|
56
|
+
d(Wn, {
|
|
57
57
|
height: 450,
|
|
58
58
|
pdf: T.value,
|
|
59
59
|
"disable-text-layer": !0,
|
|
@@ -66,7 +66,7 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
66
66
|
key: 1,
|
|
67
67
|
src: T.value
|
|
68
68
|
}, null, 8, et)) : c("", !0)
|
|
69
|
-
], 64)) : (b(), M(
|
|
69
|
+
], 64)) : (b(), M(Dn, {
|
|
70
70
|
key: 0,
|
|
71
71
|
document: T.value,
|
|
72
72
|
"restaurant-id": u.restaurantId
|
|
@@ -145,7 +145,7 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
145
145
|
src: J.value,
|
|
146
146
|
alt: "Signature Preview",
|
|
147
147
|
class: "w-full h-auto"
|
|
148
|
-
}, null, 8, dt)) : (b(), M(
|
|
148
|
+
}, null, 8, dt)) : (b(), M(Dn, {
|
|
149
149
|
key: 0,
|
|
150
150
|
document: J.value,
|
|
151
151
|
"restaurant-id": u.restaurantId
|
|
@@ -176,7 +176,7 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
176
176
|
"onUpdate:modelValue": y[2] || (y[2] = (O) => Y.value = O)
|
|
177
177
|
}, {
|
|
178
178
|
"dialog-button": X(() => [
|
|
179
|
-
|
|
179
|
+
d(z, {
|
|
180
180
|
"prepend-icon": "signature",
|
|
181
181
|
class: "w-full",
|
|
182
182
|
label: "Signature"
|
|
@@ -186,7 +186,7 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
186
186
|
i("div", null, "Signature Board", -1)
|
|
187
187
|
])]),
|
|
188
188
|
default: X(() => [
|
|
189
|
-
|
|
189
|
+
d(t(Sn), {
|
|
190
190
|
ref_key: "signaturePad",
|
|
191
191
|
ref: k,
|
|
192
192
|
height: "300px",
|
|
@@ -195,13 +195,13 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
195
195
|
}, null, 512),
|
|
196
196
|
L.value ? (b(), x("p", vt, " Please sign your signature before saving. ")) : c("", !0),
|
|
197
197
|
i("div", rt, [
|
|
198
|
-
|
|
198
|
+
d(z, {
|
|
199
199
|
variant: "destructive",
|
|
200
200
|
label: "Clear",
|
|
201
201
|
"prepend-icon": "delete",
|
|
202
202
|
onClick: y[1] || (y[1] = (O) => k.value.clearSignature())
|
|
203
203
|
}),
|
|
204
|
-
|
|
204
|
+
d(z, {
|
|
205
205
|
label: "Save",
|
|
206
206
|
"prepend-icon": "save",
|
|
207
207
|
onClick: m
|
|
@@ -256,11 +256,11 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
256
256
|
submission: {}
|
|
257
257
|
},
|
|
258
258
|
setup(u) {
|
|
259
|
-
var
|
|
260
|
-
const { currentRestaurant: o, sessionUser: R, pushDataLayer: T } = Cn(), J = Vn(), L = u, k = In(), { isLoading: Y, startAsyncCall: S } =
|
|
261
|
-
bankName: ((
|
|
262
|
-
bankAccountNo: ((
|
|
263
|
-
bankHolderName: ((
|
|
259
|
+
var on, zn, F, pn, an, wn;
|
|
260
|
+
const { currentRestaurant: o, sessionUser: R, pushDataLayer: T } = Cn(), J = Vn(), L = u, k = In(), { isLoading: Y, startAsyncCall: S } = gn(!1), { isLoading: n, startAsyncCall: m } = gn(!1), B = D(null), y = D(null), z = o.value, g = R.value, O = D(), s = D(1), h = D(!1), P = D({
|
|
261
|
+
bankName: ((zn = (on = y.value) == null ? void 0 : on.store.bank) == null ? void 0 : zn.name) || "",
|
|
262
|
+
bankAccountNo: ((pn = (F = y.value) == null ? void 0 : F.store.bank) == null ? void 0 : pn.accountNumber) || "",
|
|
263
|
+
bankHolderName: ((wn = (an = y.value) == null ? void 0 : an.store.bank) == null ? void 0 : wn.holderName) || "",
|
|
264
264
|
picName: (g == null ? void 0 : g.displayName) || "",
|
|
265
265
|
picRole: (g == null ? void 0 : g._role) || "",
|
|
266
266
|
picEmail: (g == null ? void 0 : g.email) || "",
|
|
@@ -277,6 +277,7 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
277
277
|
}), a = D({
|
|
278
278
|
authorizedPersonID: null,
|
|
279
279
|
outletPhoto: null,
|
|
280
|
+
interiorPhoto: null,
|
|
280
281
|
onsitePhoto1: null,
|
|
281
282
|
onsitePhoto2: null,
|
|
282
283
|
onsitePhoto3: null,
|
|
@@ -292,22 +293,23 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
292
293
|
signature: null,
|
|
293
294
|
bankStatement: null,
|
|
294
295
|
outletPhoto: null,
|
|
296
|
+
interiorPhoto: null,
|
|
295
297
|
onsitePhoto1: null,
|
|
296
298
|
onsitePhoto2: null,
|
|
297
299
|
onsitePhoto3: null,
|
|
298
300
|
onsitePhoto4: null,
|
|
299
301
|
onsitePhoto5: null,
|
|
300
302
|
companyStamp: null
|
|
301
|
-
}),
|
|
303
|
+
}), On = () => L.submission ? "edit" : "new", en = (Z) => {
|
|
302
304
|
var W;
|
|
303
|
-
const
|
|
305
|
+
const f = {
|
|
304
306
|
event: Z,
|
|
305
307
|
gateway: "softspace",
|
|
306
308
|
onboarding_flow: "softspace",
|
|
307
|
-
onboarding_mode:
|
|
309
|
+
onboarding_mode: On(),
|
|
308
310
|
onboarding_country: "MY"
|
|
309
311
|
};
|
|
310
|
-
(W = o.value) != null && W._id && (
|
|
312
|
+
(W = o.value) != null && W._id && (f.restaurant_id = o.value._id), L.submission && (f.submission_id = L.submission), P.value.businessType && (f.onboarding_business_type = P.value.businessType), T(f);
|
|
311
313
|
}, p = () => {
|
|
312
314
|
en("payment_onboarding_submitted");
|
|
313
315
|
}, ln = (Z) => {
|
|
@@ -320,7 +322,7 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
320
322
|
};
|
|
321
323
|
Rn(() => {
|
|
322
324
|
S(async () => {
|
|
323
|
-
var Z,
|
|
325
|
+
var Z, f, W;
|
|
324
326
|
if (!o.value) {
|
|
325
327
|
J.open({
|
|
326
328
|
message: "Please select a restaurant before proceeding.",
|
|
@@ -333,28 +335,28 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
333
335
|
o.value._id
|
|
334
336
|
), P.value = B.value.fields, a.value = B.value.documents), y.value = await En.readByRestaurantId(
|
|
335
337
|
o.value._id
|
|
336
|
-
), P.value.bankName = ((Z = y.value.store.bank) == null ? void 0 : Z.name) || "", P.value.bankAccountNo = ((
|
|
338
|
+
), P.value.bankName = ((Z = y.value.store.bank) == null ? void 0 : Z.name) || "", P.value.bankAccountNo = ((f = y.value.store.bank) == null ? void 0 : f.accountNumber) || "", P.value.bankHolderName = ((W = y.value.store.bank) == null ? void 0 : W.holderName) || "";
|
|
337
339
|
});
|
|
338
340
|
});
|
|
339
|
-
const
|
|
340
|
-
if (l.value[Z] =
|
|
341
|
+
const I = (Z, f) => {
|
|
342
|
+
if (l.value[Z] = f, f) {
|
|
341
343
|
const W = new FileReader();
|
|
342
344
|
W.onload = (fn) => {
|
|
343
345
|
var q;
|
|
344
346
|
a.value[Z] = (q = fn.target) == null ? void 0 : q.result;
|
|
345
|
-
}, W.readAsDataURL(
|
|
347
|
+
}, W.readAsDataURL(f);
|
|
346
348
|
} else
|
|
347
349
|
a.value[Z] = null;
|
|
348
|
-
},
|
|
350
|
+
}, bn = rn(() => s.value === 4 ? h.value && a.value.signature && a.value.companyStamp : s.value === 3 ? a.value.authorizedPersonID && a.value.outletPhoto && a.value.onsitePhoto1 && a.value.bankStatement && a.value.certificate : s.value < 4), un = () => {
|
|
349
351
|
if (s.value === 4)
|
|
350
352
|
return m(async () => {
|
|
351
353
|
try {
|
|
352
354
|
for (const Z of Object.keys(l.value)) {
|
|
353
|
-
const
|
|
354
|
-
|
|
355
|
+
const f = l.value[Z];
|
|
356
|
+
f && (a.value[Z] = await tn.uploadDocument(
|
|
355
357
|
o.value._id,
|
|
356
358
|
Z,
|
|
357
|
-
|
|
359
|
+
f
|
|
358
360
|
));
|
|
359
361
|
}
|
|
360
362
|
await tn.updateSubmission({
|
|
@@ -377,10 +379,10 @@ const $n = { class: "flex" }, nt = { class: "justify-self-center font-semibold"
|
|
|
377
379
|
});
|
|
378
380
|
ln(s.value), s.value++;
|
|
379
381
|
};
|
|
380
|
-
return (Z,
|
|
381
|
-
const W = H("FmPageHead"), fn = H("FmCircularProgress"), q = H("FmStep"),
|
|
382
|
+
return (Z, f) => {
|
|
383
|
+
const W = H("FmPageHead"), fn = H("FmCircularProgress"), q = H("FmStep"), jn = H("FmStepper"), A = H("FmTextField"), e = H("FmPhoneNumber"), G = H("FmSelect"), E = H("FmIcon"), V = H("FmCheckbox"), K = H("FmButton"), N = H("FmForm");
|
|
382
384
|
return b(), x($, null, [
|
|
383
|
-
|
|
385
|
+
d(W, {
|
|
384
386
|
title: "FASSPAY MERCHANT APPLICATION FORM",
|
|
385
387
|
description: `The Merchant Acquiring Services Agreement (together with this Fasspay Merchant Application Form, Letter of Offer and all the Schedules including
|
|
386
388
|
its Appendices) (“Agreement”), is entered into by and between Fass Payment Solutions Sdn. Bhd. (“Fasspay”) with its principal place of business at
|
|
@@ -394,35 +396,35 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
394
396
|
color: "primary"
|
|
395
397
|
})) : c("", !0),
|
|
396
398
|
t(Y) ? c("", !0) : (b(), x($, { key: 1 }, [
|
|
397
|
-
|
|
399
|
+
d(jn, {
|
|
398
400
|
modelValue: s.value,
|
|
399
|
-
"onUpdate:modelValue":
|
|
401
|
+
"onUpdate:modelValue": f[0] || (f[0] = (Q) => s.value = Q),
|
|
400
402
|
class: "px-16 pb-16",
|
|
401
403
|
orientation: "horizontal"
|
|
402
404
|
}, {
|
|
403
405
|
default: X(() => [
|
|
404
|
-
|
|
406
|
+
d(q, {
|
|
405
407
|
title: "Outlet Information",
|
|
406
408
|
description: "Enter your outlet details.",
|
|
407
409
|
value: 1,
|
|
408
410
|
complete: () => s.value > 1,
|
|
409
411
|
disabled: () => s.value < 1
|
|
410
412
|
}, null, 8, ["complete", "disabled"]),
|
|
411
|
-
|
|
413
|
+
d(q, {
|
|
412
414
|
title: "Payout Information",
|
|
413
415
|
description: "Enter your payout details.",
|
|
414
416
|
value: 2,
|
|
415
417
|
complete: () => s.value > 2,
|
|
416
418
|
disabled: () => s.value < 2
|
|
417
419
|
}, null, 8, ["complete", "disabled"]),
|
|
418
|
-
|
|
420
|
+
d(q, {
|
|
419
421
|
title: "Legal Documents",
|
|
420
422
|
description: "Upload your legal documents.",
|
|
421
423
|
value: 3,
|
|
422
424
|
complete: () => s.value > 3,
|
|
423
425
|
disabled: () => s.value < 3
|
|
424
426
|
}, null, 8, ["complete", "disabled"]),
|
|
425
|
-
|
|
427
|
+
d(q, {
|
|
426
428
|
title: "Declaration",
|
|
427
429
|
description: "Accept Terms & Conditions.",
|
|
428
430
|
value: 4,
|
|
@@ -432,21 +434,21 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
432
434
|
]),
|
|
433
435
|
_: 1
|
|
434
436
|
}, 8, ["modelValue"]),
|
|
435
|
-
|
|
437
|
+
d(N, {
|
|
436
438
|
ref_key: "form",
|
|
437
439
|
ref: O,
|
|
438
440
|
"blame-form-child-on-validation-failed": !0,
|
|
439
|
-
onValidationSuccess:
|
|
441
|
+
onValidationSuccess: un,
|
|
440
442
|
class: "px-24 pb-24"
|
|
441
443
|
}, {
|
|
442
444
|
default: X(() => {
|
|
443
|
-
var Q, U,
|
|
445
|
+
var Q, U, cn, Hn, xn, yn, nn, An;
|
|
444
446
|
return [
|
|
445
447
|
s.value === 1 ? (b(), x("div", zt, [
|
|
446
448
|
i("div", pt, [
|
|
447
|
-
|
|
449
|
+
d(A, {
|
|
448
450
|
modelValue: P.value.picName,
|
|
449
|
-
"onUpdate:modelValue":
|
|
451
|
+
"onUpdate:modelValue": f[1] || (f[1] = (r) => P.value.picName = r),
|
|
450
452
|
label: "PIC Name",
|
|
451
453
|
placeholder: "Enter your name",
|
|
452
454
|
"label-mark": "required",
|
|
@@ -454,9 +456,9 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
454
456
|
}, null, 8, ["modelValue", "rules"])
|
|
455
457
|
]),
|
|
456
458
|
i("div", at, [
|
|
457
|
-
|
|
459
|
+
d(A, {
|
|
458
460
|
modelValue: P.value.picRole,
|
|
459
|
-
"onUpdate:modelValue":
|
|
461
|
+
"onUpdate:modelValue": f[2] || (f[2] = (r) => P.value.picRole = r),
|
|
460
462
|
label: "PIC Role",
|
|
461
463
|
placeholder: "Enter your role",
|
|
462
464
|
"label-mark": "required",
|
|
@@ -464,9 +466,9 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
464
466
|
}, null, 8, ["modelValue", "rules"])
|
|
465
467
|
]),
|
|
466
468
|
i("div", wt, [
|
|
467
|
-
|
|
469
|
+
d(A, {
|
|
468
470
|
modelValue: P.value.picEmail,
|
|
469
|
-
"onUpdate:modelValue":
|
|
471
|
+
"onUpdate:modelValue": f[3] || (f[3] = (r) => P.value.picEmail = r),
|
|
470
472
|
label: "PIC Email",
|
|
471
473
|
type: "email",
|
|
472
474
|
placeholder: "Enter your email address",
|
|
@@ -475,9 +477,9 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
475
477
|
}, null, 8, ["modelValue", "rules"])
|
|
476
478
|
]),
|
|
477
479
|
i("div", jt, [
|
|
478
|
-
|
|
480
|
+
d(e, {
|
|
479
481
|
"model-value": P.value.picContact,
|
|
480
|
-
"onUpdate:modelValue":
|
|
482
|
+
"onUpdate:modelValue": f[4] || (f[4] = (r) => P.value.picContact = r),
|
|
481
483
|
"default-country": "MY",
|
|
482
484
|
label: "PIC Contact",
|
|
483
485
|
"label-mark": "required",
|
|
@@ -485,9 +487,9 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
485
487
|
}, null, 8, ["model-value", "rules"])
|
|
486
488
|
]),
|
|
487
489
|
i("div", ct, [
|
|
488
|
-
|
|
490
|
+
d(A, {
|
|
489
491
|
modelValue: P.value.outletName,
|
|
490
|
-
"onUpdate:modelValue":
|
|
492
|
+
"onUpdate:modelValue": f[5] || (f[5] = (r) => P.value.outletName = r),
|
|
491
493
|
label: "Outlet Name",
|
|
492
494
|
placeholder: "Enter outlet name",
|
|
493
495
|
"label-mark": "required",
|
|
@@ -495,43 +497,43 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
495
497
|
}, null, 8, ["modelValue", "rules"])
|
|
496
498
|
]),
|
|
497
499
|
i("div", Ht, [
|
|
498
|
-
|
|
500
|
+
d(A, {
|
|
499
501
|
modelValue: P.value.outletAddress,
|
|
500
|
-
"onUpdate:modelValue":
|
|
502
|
+
"onUpdate:modelValue": f[6] || (f[6] = (r) => P.value.outletAddress = r),
|
|
501
503
|
label: "Outlet Address",
|
|
502
504
|
placeholder: "Enter outlet address",
|
|
503
505
|
"label-mark": "required",
|
|
504
506
|
rules: t(w)(t(j).string().min(1, "Address is required"))
|
|
505
507
|
}, null, 8, ["modelValue", "rules"])
|
|
506
508
|
]),
|
|
507
|
-
|
|
509
|
+
d(A, {
|
|
508
510
|
modelValue: P.value.outletPostCode,
|
|
509
|
-
"onUpdate:modelValue":
|
|
511
|
+
"onUpdate:modelValue": f[7] || (f[7] = (r) => P.value.outletPostCode = r),
|
|
510
512
|
label: "Postal Code",
|
|
511
513
|
placeholder: "Enter postal code",
|
|
512
514
|
"label-mark": "required",
|
|
513
515
|
rules: t(w)(t(j).string().min(1, "Postal Code is required"))
|
|
514
516
|
}, null, 8, ["modelValue", "rules"]),
|
|
515
|
-
|
|
517
|
+
d(A, {
|
|
516
518
|
modelValue: P.value.outletState,
|
|
517
|
-
"onUpdate:modelValue":
|
|
519
|
+
"onUpdate:modelValue": f[8] || (f[8] = (r) => P.value.outletState = r),
|
|
518
520
|
label: "State",
|
|
519
521
|
placeholder: "Enter state",
|
|
520
522
|
"label-mark": "required",
|
|
521
523
|
rules: t(w)(t(j).string().min(1, "State is required"))
|
|
522
524
|
}, null, 8, ["modelValue", "rules"]),
|
|
523
|
-
|
|
525
|
+
d(A, {
|
|
524
526
|
modelValue: P.value.outletCity,
|
|
525
|
-
"onUpdate:modelValue":
|
|
527
|
+
"onUpdate:modelValue": f[9] || (f[9] = (r) => P.value.outletCity = r),
|
|
526
528
|
label: "City",
|
|
527
529
|
placeholder: "Enter city",
|
|
528
530
|
"label-mark": "required",
|
|
529
531
|
rules: t(w)(t(j).string().min(1, "City is required"))
|
|
530
532
|
}, null, 8, ["modelValue", "rules"]),
|
|
531
533
|
i("div", xt, [
|
|
532
|
-
|
|
534
|
+
d(G, {
|
|
533
535
|
modelValue: P.value.businessType,
|
|
534
|
-
"onUpdate:modelValue":
|
|
536
|
+
"onUpdate:modelValue": f[10] || (f[10] = (r) => P.value.businessType = r),
|
|
535
537
|
label: "Type",
|
|
536
538
|
placeholder: "Select business type",
|
|
537
539
|
"label-mark": "required",
|
|
@@ -551,9 +553,9 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
551
553
|
}, null, 8, ["modelValue", "rules"])
|
|
552
554
|
]),
|
|
553
555
|
i("div", yt, [
|
|
554
|
-
|
|
556
|
+
d(A, {
|
|
555
557
|
modelValue: P.value.businessRegNo,
|
|
556
|
-
"onUpdate:modelValue":
|
|
558
|
+
"onUpdate:modelValue": f[11] || (f[11] = (r) => P.value.businessRegNo = r),
|
|
557
559
|
label: "Registration No",
|
|
558
560
|
placeholder: "Enter registration number",
|
|
559
561
|
"label-mark": "required",
|
|
@@ -561,9 +563,9 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
561
563
|
}, null, 8, ["modelValue", "rules"])
|
|
562
564
|
]),
|
|
563
565
|
i("div", Xt, [
|
|
564
|
-
|
|
566
|
+
d(A, {
|
|
565
567
|
modelValue: P.value.tinNo,
|
|
566
|
-
"onUpdate:modelValue":
|
|
568
|
+
"onUpdate:modelValue": f[12] || (f[12] = (r) => P.value.tinNo = r),
|
|
567
569
|
label: "Tax Identification No (TIN)",
|
|
568
570
|
placeholder: "Enter your TIN number",
|
|
569
571
|
"label-mark": "required",
|
|
@@ -571,9 +573,9 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
571
573
|
}, null, 8, ["modelValue", "rules"])
|
|
572
574
|
]),
|
|
573
575
|
i("div", gt, [
|
|
574
|
-
|
|
576
|
+
d(A, {
|
|
575
577
|
modelValue: P.value.sstNo,
|
|
576
|
-
"onUpdate:modelValue":
|
|
578
|
+
"onUpdate:modelValue": f[13] || (f[13] = (r) => P.value.sstNo = r),
|
|
577
579
|
label: "SST Registration No (SST)",
|
|
578
580
|
placeholder: "Enter your SST number",
|
|
579
581
|
"label-mark": "optional"
|
|
@@ -581,26 +583,26 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
581
583
|
])
|
|
582
584
|
])) : c("", !0),
|
|
583
585
|
s.value === 2 ? (b(), x("div", Ot, [
|
|
584
|
-
|
|
586
|
+
d(G, {
|
|
585
587
|
modelValue: P.value.bankName,
|
|
586
|
-
"onUpdate:modelValue":
|
|
588
|
+
"onUpdate:modelValue": f[14] || (f[14] = (r) => P.value.bankName = r),
|
|
587
589
|
label: "Bank",
|
|
588
590
|
placeholder: "Select bank type",
|
|
589
591
|
"label-mark": "required",
|
|
590
592
|
rules: t(w)(t(j).string().min(1, "Bank Type is required")),
|
|
591
593
|
items: t(_n).bankNameOptions()
|
|
592
594
|
}, null, 8, ["modelValue", "rules", "items"]),
|
|
593
|
-
|
|
595
|
+
d(A, {
|
|
594
596
|
modelValue: P.value.bankHolderName,
|
|
595
|
-
"onUpdate:modelValue":
|
|
597
|
+
"onUpdate:modelValue": f[15] || (f[15] = (r) => P.value.bankHolderName = r),
|
|
596
598
|
label: "Beneficiary Name",
|
|
597
599
|
placeholder: "Enter Beneficiary Name",
|
|
598
600
|
"label-mark": "required",
|
|
599
601
|
rules: t(w)(t(j).string().min(1, "Beneficiary Name is required"))
|
|
600
602
|
}, null, 8, ["modelValue", "rules"]),
|
|
601
|
-
|
|
603
|
+
d(A, {
|
|
602
604
|
modelValue: P.value.bankAccountNo,
|
|
603
|
-
"onUpdate:modelValue":
|
|
605
|
+
"onUpdate:modelValue": f[16] || (f[16] = (r) => P.value.bankAccountNo = r),
|
|
604
606
|
label: "Account Number",
|
|
605
607
|
placeholder: "Enter Account Number",
|
|
606
608
|
"label-mark": "required",
|
|
@@ -608,24 +610,24 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
608
610
|
}, null, 8, ["modelValue", "rules"])
|
|
609
611
|
])) : c("", !0),
|
|
610
612
|
s.value === 3 ? (b(), x("div", ut, [
|
|
611
|
-
|
|
613
|
+
d(C, {
|
|
612
614
|
label: "Authorized Person ID",
|
|
613
615
|
modelValue: a.value.authorizedPersonID,
|
|
614
616
|
"onUpdate:modelValue": [
|
|
615
|
-
|
|
616
|
-
|
|
617
|
+
f[17] || (f[17] = (r) => a.value.authorizedPersonID = r),
|
|
618
|
+
f[18] || (f[18] = (r) => I("authorizedPersonID", r))
|
|
617
619
|
],
|
|
618
620
|
type: "image",
|
|
619
621
|
"restaurant-id": (Q = t(o)) == null ? void 0 : Q._id
|
|
620
622
|
}, {
|
|
621
623
|
info: X(() => [
|
|
622
|
-
|
|
624
|
+
d(vn, {
|
|
623
625
|
title: "Sample IC",
|
|
624
626
|
image: t(ot),
|
|
625
627
|
description: "Accepted IC image can be with strike-off 'ACSM used only' or without strike-off. Ensure details are clear and readable."
|
|
626
628
|
}, {
|
|
627
629
|
default: X(() => [
|
|
628
|
-
|
|
630
|
+
d(E, {
|
|
629
631
|
class: "ml-4",
|
|
630
632
|
name: "info"
|
|
631
633
|
})
|
|
@@ -635,24 +637,24 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
635
637
|
]),
|
|
636
638
|
_: 1
|
|
637
639
|
}, 8, ["modelValue", "restaurant-id"]),
|
|
638
|
-
|
|
639
|
-
label: "
|
|
640
|
+
d(C, {
|
|
641
|
+
label: "Signboard Photo / Tenancy Agreement",
|
|
640
642
|
modelValue: a.value.outletPhoto,
|
|
641
643
|
"onUpdate:modelValue": [
|
|
642
|
-
|
|
643
|
-
|
|
644
|
+
f[19] || (f[19] = (r) => a.value.outletPhoto = r),
|
|
645
|
+
f[20] || (f[20] = (r) => I("outletPhoto", r))
|
|
644
646
|
],
|
|
645
647
|
type: "image",
|
|
646
648
|
"restaurant-id": (U = t(o)) == null ? void 0 : U._id
|
|
647
649
|
}, {
|
|
648
650
|
info: X(() => [
|
|
649
|
-
|
|
651
|
+
d(vn, {
|
|
650
652
|
title: "Sample Exterior Photo",
|
|
651
653
|
image: t(bt),
|
|
652
654
|
description: "Upload a clear outlet frontage photo with visible signboard. If not available, submit tenancy agreement instead."
|
|
653
655
|
}, {
|
|
654
656
|
default: X(() => [
|
|
655
|
-
|
|
657
|
+
d(E, {
|
|
656
658
|
class: "ml-4",
|
|
657
659
|
name: "info"
|
|
658
660
|
})
|
|
@@ -662,8 +664,18 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
662
664
|
]),
|
|
663
665
|
_: 1
|
|
664
666
|
}, 8, ["modelValue", "restaurant-id"]),
|
|
667
|
+
d(C, {
|
|
668
|
+
label: "Interior Photo",
|
|
669
|
+
modelValue: a.value.interiorPhoto,
|
|
670
|
+
"onUpdate:modelValue": [
|
|
671
|
+
f[21] || (f[21] = (r) => a.value.interiorPhoto = r),
|
|
672
|
+
f[22] || (f[22] = (r) => I("interiorPhoto", r))
|
|
673
|
+
],
|
|
674
|
+
type: "image",
|
|
675
|
+
"restaurant-id": (cn = t(o)) == null ? void 0 : cn._id
|
|
676
|
+
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
665
677
|
(b(), x($, null, Fn(5, (r) => {
|
|
666
|
-
var
|
|
678
|
+
var sn;
|
|
667
679
|
return b(), x($, { key: r }, [
|
|
668
680
|
r === 1 || a.value[`onsitePhoto${r - 1}`] ? (b(), M(C, {
|
|
669
681
|
key: 0,
|
|
@@ -671,22 +683,22 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
671
683
|
modelValue: a.value[`onsitePhoto${r}`],
|
|
672
684
|
"onUpdate:modelValue": [
|
|
673
685
|
(dn) => a.value[`onsitePhoto${r}`] = dn,
|
|
674
|
-
(dn) =>
|
|
686
|
+
(dn) => I(`onsitePhoto${r}`, dn)
|
|
675
687
|
],
|
|
676
688
|
type: "image",
|
|
677
|
-
"restaurant-id": (
|
|
689
|
+
"restaurant-id": (sn = t(o)) == null ? void 0 : sn._id
|
|
678
690
|
}, null, 8, ["label", "modelValue", "onUpdate:modelValue", "restaurant-id"])) : c("", !0)
|
|
679
691
|
], 64);
|
|
680
692
|
}), 64)),
|
|
681
|
-
|
|
693
|
+
d(C, {
|
|
682
694
|
label: "Latest Bank Statement",
|
|
683
695
|
modelValue: a.value.bankStatement,
|
|
684
696
|
"onUpdate:modelValue": [
|
|
685
|
-
|
|
686
|
-
|
|
697
|
+
f[23] || (f[23] = (r) => a.value.bankStatement = r),
|
|
698
|
+
f[24] || (f[24] = (r) => I("bankStatement", r))
|
|
687
699
|
],
|
|
688
700
|
type: "pdf",
|
|
689
|
-
"restaurant-id": (
|
|
701
|
+
"restaurant-id": (Hn = t(o)) == null ? void 0 : Hn._id
|
|
690
702
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
691
703
|
P.value.businessType === "private_limited" || P.value.businessType === "public_limited" ? (b(), M(C, {
|
|
692
704
|
key: 0,
|
|
@@ -694,18 +706,18 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
694
706
|
type: "pdf",
|
|
695
707
|
modelValue: a.value.certificate,
|
|
696
708
|
"onUpdate:modelValue": [
|
|
697
|
-
|
|
698
|
-
|
|
709
|
+
f[25] || (f[25] = (r) => a.value.certificate = r),
|
|
710
|
+
f[26] || (f[26] = (r) => I("certificate", r))
|
|
699
711
|
],
|
|
700
|
-
"restaurant-id": (
|
|
712
|
+
"restaurant-id": (xn = t(o)) == null ? void 0 : xn._id
|
|
701
713
|
}, {
|
|
702
714
|
info: X(() => [
|
|
703
|
-
|
|
715
|
+
d(vn, {
|
|
704
716
|
title: "Sample Document",
|
|
705
717
|
image: t(st)
|
|
706
718
|
}, {
|
|
707
719
|
default: X(() => [
|
|
708
|
-
|
|
720
|
+
d(E, {
|
|
709
721
|
class: "ml-4",
|
|
710
722
|
name: "info"
|
|
711
723
|
})
|
|
@@ -721,18 +733,18 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
721
733
|
type: "pdf",
|
|
722
734
|
modelValue: a.value.certificate,
|
|
723
735
|
"onUpdate:modelValue": [
|
|
724
|
-
|
|
725
|
-
|
|
736
|
+
f[27] || (f[27] = (r) => a.value.certificate = r),
|
|
737
|
+
f[28] || (f[28] = (r) => I("certificate", r))
|
|
726
738
|
],
|
|
727
|
-
"restaurant-id": (
|
|
739
|
+
"restaurant-id": (yn = t(o)) == null ? void 0 : yn._id
|
|
728
740
|
}, {
|
|
729
741
|
info: X(() => [
|
|
730
|
-
|
|
742
|
+
d(vn, {
|
|
731
743
|
title: "Sample Document",
|
|
732
744
|
image: t(it)
|
|
733
745
|
}, {
|
|
734
746
|
default: X(() => [
|
|
735
|
-
|
|
747
|
+
d(E, {
|
|
736
748
|
class: "ml-4",
|
|
737
749
|
name: "info"
|
|
738
750
|
})
|
|
@@ -744,10 +756,10 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
|
744
756
|
}, 8, ["modelValue", "restaurant-id"])) : c("", !0)
|
|
745
757
|
])) : c("", !0),
|
|
746
758
|
s.value === 4 ? (b(), x("div", ht, [
|
|
747
|
-
|
|
748
|
-
|
|
759
|
+
f[34] || (f[34] = i("pre", { class: "w-full h-full p-4 overflow-y-auto whitespace-pre-wrap" }, [
|
|
760
|
+
Xn(""),
|
|
749
761
|
i("b", null, "Fasspay Merchant Services Application T&C"),
|
|
750
|
-
|
|
762
|
+
Xn(`
|
|
751
763
|
|
|
752
764
|
I/We confirm and certify that all information contained in this Fasspay Merchant Services Application Form and other documentation, submitted in support of this
|
|
753
765
|
application are complete, true and correct.
|
|
@@ -778,7 +790,7 @@ such rejection or to respond any request for information.
|
|
|
778
790
|
|
|
779
791
|
`),
|
|
780
792
|
i("b", null, "Fasspay e-Wallet Merchant Services Application T&C"),
|
|
781
|
-
|
|
793
|
+
Xn(`
|
|
782
794
|
|
|
783
795
|
Fass Payment Solutions Sdn Bhd (“Fasspay”) is an approved issuer by Bank Negara Malaysia to issue electronic money (e-money) via its mobile application, pursuant
|
|
784
796
|
to Section 11 of the Financial Services Act 2013.
|
|
@@ -807,39 +819,39 @@ notice.
|
|
|
807
819
|
], -1)),
|
|
808
820
|
i("div", Dt, [
|
|
809
821
|
i("div", Tt, [
|
|
810
|
-
|
|
822
|
+
d(V, {
|
|
811
823
|
modelValue: h.value,
|
|
812
|
-
"onUpdate:modelValue":
|
|
824
|
+
"onUpdate:modelValue": f[29] || (f[29] = (r) => h.value = r),
|
|
813
825
|
label: "I/We have read and agree to the Terms & Conditions",
|
|
814
826
|
value: "1"
|
|
815
827
|
}, null, 8, ["modelValue"])
|
|
816
828
|
]),
|
|
817
829
|
i("div", mt, [
|
|
818
|
-
|
|
830
|
+
d(Pt, {
|
|
819
831
|
modelValue: a.value.signature,
|
|
820
832
|
"onUpdate:modelValue": [
|
|
821
|
-
|
|
822
|
-
|
|
833
|
+
f[30] || (f[30] = (r) => a.value.signature = r),
|
|
834
|
+
f[31] || (f[31] = (r) => I("signature", r))
|
|
823
835
|
],
|
|
824
836
|
class: "w-[256px] h-[128px]",
|
|
825
837
|
label: "Signature",
|
|
826
|
-
"restaurant-id": (
|
|
838
|
+
"restaurant-id": (nn = t(o)) == null ? void 0 : nn._id
|
|
827
839
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
828
|
-
|
|
840
|
+
d(C, {
|
|
829
841
|
label: "Company Stamp",
|
|
830
842
|
type: "image",
|
|
831
843
|
class: "w-[256px]",
|
|
832
844
|
modelValue: a.value.companyStamp,
|
|
833
845
|
"onUpdate:modelValue": [
|
|
834
|
-
|
|
835
|
-
|
|
846
|
+
f[32] || (f[32] = (r) => a.value.companyStamp = r),
|
|
847
|
+
f[33] || (f[33] = (r) => I("companyStamp", r))
|
|
836
848
|
],
|
|
837
|
-
"restaurant-id": (
|
|
849
|
+
"restaurant-id": (An = t(o)) == null ? void 0 : An._id
|
|
838
850
|
}, null, 8, ["modelValue", "restaurant-id"])
|
|
839
851
|
])
|
|
840
852
|
])
|
|
841
853
|
])) : c("", !0),
|
|
842
|
-
|
|
854
|
+
bn.value ? (b(), M(K, {
|
|
843
855
|
key: 4,
|
|
844
856
|
variant: "primary",
|
|
845
857
|
type: "submit",
|
|
@@ -917,7 +929,7 @@ notice.
|
|
|
917
929
|
const h = H("FmButton"), P = H("FmIcon"), a = H("FmDialog");
|
|
918
930
|
return b(), x("div", Mt, [
|
|
919
931
|
u.label ? (b(), x("div", Zt, [
|
|
920
|
-
|
|
932
|
+
Xn(_(u.label) + " ", 1),
|
|
921
933
|
T.labelMark === "required" ? (b(), x("span", Jt, " * ")) : c("", !0)
|
|
922
934
|
])) : c("", !0),
|
|
923
935
|
B.value ? (b(), x("div", Gt, [
|
|
@@ -927,13 +939,13 @@ notice.
|
|
|
927
939
|
alt: "Signature Preview",
|
|
928
940
|
class: "max-h-full max-w-full object-contain"
|
|
929
941
|
}, null, 8, Bt)
|
|
930
|
-
])) : (b(), M(
|
|
942
|
+
])) : (b(), M(Dn, {
|
|
931
943
|
key: 0,
|
|
932
944
|
document: m.value ?? "",
|
|
933
945
|
"restaurant-id": u.restaurantId
|
|
934
946
|
}, null, 8, ["document", "restaurant-id"])),
|
|
935
947
|
i("div", Rt, [
|
|
936
|
-
|
|
948
|
+
d(h, {
|
|
937
949
|
"prepend-icon": "ink_eraser",
|
|
938
950
|
variant: "destructive",
|
|
939
951
|
onClick: g
|
|
@@ -946,7 +958,7 @@ notice.
|
|
|
946
958
|
}, {
|
|
947
959
|
"dialog-button": X(() => [
|
|
948
960
|
i("div", kt, [
|
|
949
|
-
|
|
961
|
+
d(P, {
|
|
950
962
|
name: "signature",
|
|
951
963
|
class: "text-4xl text-fm-color-neutral-gray-400 mb-2"
|
|
952
964
|
}),
|
|
@@ -957,7 +969,7 @@ notice.
|
|
|
957
969
|
i("div", null, _(t(R)("financing.signature.dialogTitle")), 1)
|
|
958
970
|
]),
|
|
959
971
|
default: X(() => [
|
|
960
|
-
|
|
972
|
+
d(t(Sn), {
|
|
961
973
|
ref_key: "signaturePad",
|
|
962
974
|
ref: S,
|
|
963
975
|
height: "250px",
|
|
@@ -970,13 +982,13 @@ notice.
|
|
|
970
982
|
}, null, 512),
|
|
971
983
|
Y.value ? (b(), x("p", Ct, _(t(R)("financing.signature.saveBefore")), 1)) : c("", !0),
|
|
972
984
|
i("div", Yt, [
|
|
973
|
-
|
|
985
|
+
d(h, {
|
|
974
986
|
variant: "secondary",
|
|
975
987
|
label: t(R)("financing.signature.clear"),
|
|
976
988
|
"prepend-icon": "refresh",
|
|
977
989
|
onClick: s[0] || (s[0] = (l) => S.value.clearSignature())
|
|
978
990
|
}, null, 8, ["label"]),
|
|
979
|
-
|
|
991
|
+
d(h, {
|
|
980
992
|
variant: "primary",
|
|
981
993
|
label: t(R)("financing.signature.saveSignature"),
|
|
982
994
|
"prepend-icon": "check",
|
|
@@ -21557,8 +21569,8 @@ notice.
|
|
|
21557
21569
|
submission: {}
|
|
21558
21570
|
},
|
|
21559
21571
|
setup(u) {
|
|
21560
|
-
var Z,
|
|
21561
|
-
const { currentRestaurant: o, sessionUser: R, pushDataLayer: T } = Cn(), J = Un(), L = Vn(), k = u, Y = In(), { t: S } = Yn(), n = (A) => S(`payment.onboard-submission.ntt.form.${A}`), { isLoading: m, startAsyncCall: B } =
|
|
21572
|
+
var Z, f, W, fn, q, jn;
|
|
21573
|
+
const { currentRestaurant: o, sessionUser: R, pushDataLayer: T } = Cn(), J = Un(), L = Vn(), k = u, Y = In(), { t: S } = Yn(), n = (A) => S(`payment.onboard-submission.ntt.form.${A}`), { isLoading: m, startAsyncCall: B } = gn(!1), { isLoading: y, startAsyncCall: z } = gn(!1), g = D(null), O = D(null), s = o.value, h = R.value, P = D(1), a = D(!1), l = D({
|
|
21562
21574
|
companyName: (s == null ? void 0 : s.profile.legalName) ?? "",
|
|
21563
21575
|
outletName: "",
|
|
21564
21576
|
outletNameEnglish: (s == null ? void 0 : s.profile.name) ?? "",
|
|
@@ -21568,9 +21580,9 @@ notice.
|
|
|
21568
21580
|
outletPostCode: (s == null ? void 0 : s.profile.address.postcode) ?? "",
|
|
21569
21581
|
businessType: "",
|
|
21570
21582
|
numberOfDevices: "1",
|
|
21571
|
-
bankName: ((
|
|
21583
|
+
bankName: ((f = (Z = O.value) == null ? void 0 : Z.store.bank) == null ? void 0 : f.name) ?? "",
|
|
21572
21584
|
bankAccountNo: ((fn = (W = O.value) == null ? void 0 : W.store.bank) == null ? void 0 : fn.accountNumber) ?? "",
|
|
21573
|
-
bankHolderName: ((
|
|
21585
|
+
bankHolderName: ((jn = (q = O.value) == null ? void 0 : q.store.bank) == null ? void 0 : jn.holderName) ?? "",
|
|
21574
21586
|
bankBranch: "",
|
|
21575
21587
|
bankBranchCode: "",
|
|
21576
21588
|
picName: (h == null ? void 0 : h.displayName) || "",
|
|
@@ -21579,7 +21591,7 @@ notice.
|
|
|
21579
21591
|
picContact: (h == null ? void 0 : h.phoneNumber) || "",
|
|
21580
21592
|
witnessName: "",
|
|
21581
21593
|
witnessRole: ""
|
|
21582
|
-
}),
|
|
21594
|
+
}), On = [
|
|
21583
21595
|
{
|
|
21584
21596
|
label: n("bankOption.bangkokBank"),
|
|
21585
21597
|
value: "BANGKOK_BANK"
|
|
@@ -21665,25 +21677,25 @@ notice.
|
|
|
21665
21677
|
"companyStamp"
|
|
21666
21678
|
], p = D(
|
|
21667
21679
|
Object.fromEntries(en.map((A) => [A, ""]))
|
|
21668
|
-
), ln = D({}),
|
|
21680
|
+
), ln = D({}), I = () => k.submission ? "edit" : "new", bn = (A) => {
|
|
21669
21681
|
var G;
|
|
21670
21682
|
const e = {
|
|
21671
21683
|
event: A,
|
|
21672
21684
|
gateway: "ntt",
|
|
21673
21685
|
onboarding_flow: "ntt",
|
|
21674
|
-
onboarding_mode:
|
|
21686
|
+
onboarding_mode: I(),
|
|
21675
21687
|
onboarding_country: "TH"
|
|
21676
21688
|
};
|
|
21677
21689
|
(G = o.value) != null && G._id && (e.restaurant_id = o.value._id), k.submission && (e.submission_id = k.submission), l.value.businessType && (e.onboarding_business_type = l.value.businessType), T(e);
|
|
21678
|
-
},
|
|
21679
|
-
|
|
21680
|
-
},
|
|
21690
|
+
}, un = () => {
|
|
21691
|
+
bn("payment_onboarding_submitted");
|
|
21692
|
+
}, on = (A) => {
|
|
21681
21693
|
const G = {
|
|
21682
21694
|
1: "payment_onboarding_outlet_completed",
|
|
21683
21695
|
2: "payment_onboarding_payout_completed",
|
|
21684
21696
|
3: "payment_onboarding_legal_documents_completed"
|
|
21685
21697
|
}[A];
|
|
21686
|
-
G &&
|
|
21698
|
+
G && bn(G);
|
|
21687
21699
|
};
|
|
21688
21700
|
Rn(() => {
|
|
21689
21701
|
B(async () => {
|
|
@@ -21715,9 +21727,9 @@ notice.
|
|
|
21715
21727
|
title: n("wht.title"),
|
|
21716
21728
|
primaryActions: { text: n("wht.download"), close: !0 },
|
|
21717
21729
|
secondaryActions: { text: n("wht.close"), close: !0 },
|
|
21718
|
-
contentComponent:
|
|
21719
|
-
|
|
21720
|
-
|
|
21730
|
+
contentComponent: hn("div", { class: "flex flex-col items-center" }, [
|
|
21731
|
+
hn("p", { class: "text-md" }, n("wht.description")),
|
|
21732
|
+
hn(Wn, {
|
|
21721
21733
|
class: "w-[50%]",
|
|
21722
21734
|
height: 300,
|
|
21723
21735
|
pdf: Ln,
|
|
@@ -21726,14 +21738,14 @@ notice.
|
|
|
21726
21738
|
})
|
|
21727
21739
|
])
|
|
21728
21740
|
}).onPrimary(() => {
|
|
21729
|
-
|
|
21741
|
+
zn();
|
|
21730
21742
|
});
|
|
21731
21743
|
}
|
|
21732
21744
|
);
|
|
21733
|
-
const
|
|
21745
|
+
const zn = () => {
|
|
21734
21746
|
const A = document.createElement("a");
|
|
21735
21747
|
A.href = Ln, A.download = "ntt_wht_form.pdf", A.rel = "noopener", A.target = "_blank", A.click();
|
|
21736
|
-
},
|
|
21748
|
+
}, F = (A, e) => {
|
|
21737
21749
|
if (e) {
|
|
21738
21750
|
if (A === "signature" || A === "witnessSignature") {
|
|
21739
21751
|
p.value[A] = e;
|
|
@@ -21748,7 +21760,7 @@ notice.
|
|
|
21748
21760
|
}, E.readAsDataURL(G);
|
|
21749
21761
|
} else
|
|
21750
21762
|
delete ln.value[A], p.value[A] = "";
|
|
21751
|
-
},
|
|
21763
|
+
}, pn = rn(() => {
|
|
21752
21764
|
if (P.value === 4)
|
|
21753
21765
|
return a.value && !!p.value.companyStamp;
|
|
21754
21766
|
if (P.value === 3) {
|
|
@@ -21756,14 +21768,14 @@ notice.
|
|
|
21756
21768
|
return l.value.businessType ? l.value.businessType === "juristic" ? A && !!p.value.companyCertificate && !!p.value.vatCertificate : l.value.businessType === "individual" ? A && !!p.value.commercialCertificate : !1 : !1;
|
|
21757
21769
|
}
|
|
21758
21770
|
return P.value < 4;
|
|
21759
|
-
}),
|
|
21771
|
+
}), an = () => {
|
|
21760
21772
|
if (P.value === 4)
|
|
21761
21773
|
return z(async () => {
|
|
21762
21774
|
try {
|
|
21763
21775
|
for (const A of ["signature", "witnessSignature"]) {
|
|
21764
21776
|
const e = p.value[A];
|
|
21765
21777
|
if (e != null && e.startsWith("data:")) {
|
|
21766
|
-
const G =
|
|
21778
|
+
const G = wn(e, `${A}.png`);
|
|
21767
21779
|
p.value[A] = await tn.uploadDocument(
|
|
21768
21780
|
o.value._id,
|
|
21769
21781
|
A,
|
|
@@ -21786,7 +21798,7 @@ notice.
|
|
|
21786
21798
|
documents: Object.fromEntries(
|
|
21787
21799
|
Object.entries(p.value).filter(([, A]) => !!A)
|
|
21788
21800
|
)
|
|
21789
|
-
}),
|
|
21801
|
+
}), un(), Y.back(), L.open({
|
|
21790
21802
|
message: n("toast.updateSuccess"),
|
|
21791
21803
|
type: "success"
|
|
21792
21804
|
});
|
|
@@ -21797,8 +21809,8 @@ notice.
|
|
|
21797
21809
|
});
|
|
21798
21810
|
}
|
|
21799
21811
|
});
|
|
21800
|
-
|
|
21801
|
-
},
|
|
21812
|
+
on(P.value), P.value++;
|
|
21813
|
+
}, wn = (A, e) => {
|
|
21802
21814
|
var Q;
|
|
21803
21815
|
const [G, E] = A.split(","), V = ((Q = G.match(/:(.*?);/)) == null ? void 0 : Q[1]) || "image/png", K = atob(E), N = new Uint8Array(K.length);
|
|
21804
21816
|
for (let U = 0; U < K.length; U++)
|
|
@@ -21806,9 +21818,9 @@ notice.
|
|
|
21806
21818
|
return new File([N], e, { type: V });
|
|
21807
21819
|
};
|
|
21808
21820
|
return (A, e) => {
|
|
21809
|
-
const G = H("FmPageHead"), E = H("FmCircularProgress"), V = H("FmStep"), K = H("FmStepper"), N = H("FmTextField"), Q = H("FmSelect"), U = H("FmIcon"),
|
|
21821
|
+
const G = H("FmPageHead"), E = H("FmCircularProgress"), V = H("FmStep"), K = H("FmStepper"), N = H("FmTextField"), Q = H("FmSelect"), U = H("FmIcon"), cn = H("FmCheckbox"), Hn = H("FmPhoneNumber"), xn = H("FmButton"), yn = H("FmForm");
|
|
21810
21822
|
return b(), x($, null, [
|
|
21811
|
-
|
|
21823
|
+
d(G, {
|
|
21812
21824
|
title: n("title"),
|
|
21813
21825
|
description: n("description")
|
|
21814
21826
|
}, null, 8, ["title", "description"]),
|
|
@@ -21819,35 +21831,35 @@ notice.
|
|
|
21819
21831
|
color: "primary"
|
|
21820
21832
|
})) : c("", !0),
|
|
21821
21833
|
t(m) ? c("", !0) : (b(), x($, { key: 1 }, [
|
|
21822
|
-
|
|
21834
|
+
d(K, {
|
|
21823
21835
|
modelValue: P.value,
|
|
21824
21836
|
"onUpdate:modelValue": e[0] || (e[0] = (nn) => P.value = nn),
|
|
21825
21837
|
class: "px-16 pb-16",
|
|
21826
21838
|
orientation: "horizontal"
|
|
21827
21839
|
}, {
|
|
21828
21840
|
default: X(() => [
|
|
21829
|
-
|
|
21841
|
+
d(V, {
|
|
21830
21842
|
title: n("step.outlet.title"),
|
|
21831
21843
|
description: n("step.outlet.description"),
|
|
21832
21844
|
value: 1,
|
|
21833
21845
|
complete: () => P.value > 1,
|
|
21834
21846
|
disabled: () => P.value < 1
|
|
21835
21847
|
}, null, 8, ["title", "description", "complete", "disabled"]),
|
|
21836
|
-
|
|
21848
|
+
d(V, {
|
|
21837
21849
|
title: n("step.payout.title"),
|
|
21838
21850
|
description: n("step.payout.description"),
|
|
21839
21851
|
value: 2,
|
|
21840
21852
|
complete: () => P.value > 2,
|
|
21841
21853
|
disabled: () => P.value < 2
|
|
21842
21854
|
}, null, 8, ["title", "description", "complete", "disabled"]),
|
|
21843
|
-
|
|
21855
|
+
d(V, {
|
|
21844
21856
|
title: n("step.document.title"),
|
|
21845
21857
|
description: n("step.document.description"),
|
|
21846
21858
|
value: 3,
|
|
21847
21859
|
complete: () => P.value > 3,
|
|
21848
21860
|
disabled: () => P.value < 3
|
|
21849
21861
|
}, null, 8, ["title", "description", "complete", "disabled"]),
|
|
21850
|
-
|
|
21862
|
+
d(V, {
|
|
21851
21863
|
title: n("step.declaration.title"),
|
|
21852
21864
|
description: n("step.declaration.description"),
|
|
21853
21865
|
value: 4,
|
|
@@ -21857,18 +21869,18 @@ notice.
|
|
|
21857
21869
|
]),
|
|
21858
21870
|
_: 1
|
|
21859
21871
|
}, 8, ["modelValue"]),
|
|
21860
|
-
|
|
21872
|
+
d(yn, {
|
|
21861
21873
|
ref: "form",
|
|
21862
21874
|
"blame-form-child-on-validation-failed": !0,
|
|
21863
|
-
onValidationSuccess:
|
|
21875
|
+
onValidationSuccess: an,
|
|
21864
21876
|
class: "px-24 pb-24"
|
|
21865
21877
|
}, {
|
|
21866
21878
|
default: X(() => {
|
|
21867
|
-
var nn, r,
|
|
21879
|
+
var nn, An, r, sn, dn, Tn, mn, Nn, Mn, Zn;
|
|
21868
21880
|
return [
|
|
21869
21881
|
P.value === 1 ? (b(), x("div", Ft, [
|
|
21870
21882
|
i("div", qt, [
|
|
21871
|
-
|
|
21883
|
+
d(N, {
|
|
21872
21884
|
modelValue: l.value.companyName,
|
|
21873
21885
|
"onUpdate:modelValue": e[1] || (e[1] = (v) => l.value.companyName = v),
|
|
21874
21886
|
label: n("field.companyName.label"),
|
|
@@ -21880,7 +21892,7 @@ notice.
|
|
|
21880
21892
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
21881
21893
|
]),
|
|
21882
21894
|
i("div", Kt, [
|
|
21883
|
-
|
|
21895
|
+
d(N, {
|
|
21884
21896
|
modelValue: l.value.outletName,
|
|
21885
21897
|
"onUpdate:modelValue": e[2] || (e[2] = (v) => l.value.outletName = v),
|
|
21886
21898
|
label: n("field.outletName.label"),
|
|
@@ -21890,7 +21902,7 @@ notice.
|
|
|
21890
21902
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
21891
21903
|
]),
|
|
21892
21904
|
i("div", Qt, [
|
|
21893
|
-
|
|
21905
|
+
d(N, {
|
|
21894
21906
|
modelValue: l.value.outletNameEnglish,
|
|
21895
21907
|
"onUpdate:modelValue": e[3] || (e[3] = (v) => l.value.outletNameEnglish = v),
|
|
21896
21908
|
label: n("field.outletNameEnglish.label"),
|
|
@@ -21902,7 +21914,7 @@ notice.
|
|
|
21902
21914
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
21903
21915
|
]),
|
|
21904
21916
|
i("div", Ut, [
|
|
21905
|
-
|
|
21917
|
+
d(N, {
|
|
21906
21918
|
modelValue: l.value.outletAddress,
|
|
21907
21919
|
"onUpdate:modelValue": e[4] || (e[4] = (v) => l.value.outletAddress = v),
|
|
21908
21920
|
label: n("field.outletAddress.label"),
|
|
@@ -21913,7 +21925,7 @@ notice.
|
|
|
21913
21925
|
)
|
|
21914
21926
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
21915
21927
|
]),
|
|
21916
|
-
|
|
21928
|
+
d(N, {
|
|
21917
21929
|
modelValue: l.value.outletPostCode,
|
|
21918
21930
|
"onUpdate:modelValue": e[5] || (e[5] = (v) => l.value.outletPostCode = v),
|
|
21919
21931
|
label: n("field.outletPostCode.label"),
|
|
@@ -21923,7 +21935,7 @@ notice.
|
|
|
21923
21935
|
t(j).string().min(1, n("validation.outletPostCodeRequired"))
|
|
21924
21936
|
)
|
|
21925
21937
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"]),
|
|
21926
|
-
|
|
21938
|
+
d(N, {
|
|
21927
21939
|
modelValue: l.value.outletState,
|
|
21928
21940
|
"onUpdate:modelValue": e[6] || (e[6] = (v) => l.value.outletState = v),
|
|
21929
21941
|
label: n("field.outletState.label"),
|
|
@@ -21931,7 +21943,7 @@ notice.
|
|
|
21931
21943
|
"label-mark": "required",
|
|
21932
21944
|
rules: t(w)(t(j).string().min(1, n("validation.outletStateRequired")))
|
|
21933
21945
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"]),
|
|
21934
|
-
|
|
21946
|
+
d(N, {
|
|
21935
21947
|
modelValue: l.value.outletCity,
|
|
21936
21948
|
"onUpdate:modelValue": e[7] || (e[7] = (v) => l.value.outletCity = v),
|
|
21937
21949
|
label: n("field.outletCity.label"),
|
|
@@ -21940,7 +21952,7 @@ notice.
|
|
|
21940
21952
|
rules: t(w)(t(j).string().min(1, n("validation.outletCityRequired")))
|
|
21941
21953
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"]),
|
|
21942
21954
|
i("div", _t, [
|
|
21943
|
-
|
|
21955
|
+
d(Q, {
|
|
21944
21956
|
modelValue: l.value.businessType,
|
|
21945
21957
|
"onUpdate:modelValue": e[8] || (e[8] = (v) => l.value.businessType = v),
|
|
21946
21958
|
label: n("field.businessType.label"),
|
|
@@ -21962,7 +21974,7 @@ notice.
|
|
|
21962
21974
|
}, null, 8, ["modelValue", "label", "placeholder", "rules", "items"])
|
|
21963
21975
|
]),
|
|
21964
21976
|
i("div", $t, [
|
|
21965
|
-
|
|
21977
|
+
d(N, {
|
|
21966
21978
|
modelValue: l.value.numberOfDevices,
|
|
21967
21979
|
"onUpdate:modelValue": e[9] || (e[9] = (v) => l.value.numberOfDevices = v),
|
|
21968
21980
|
type: "number",
|
|
@@ -21976,16 +21988,16 @@ notice.
|
|
|
21976
21988
|
])
|
|
21977
21989
|
])) : c("", !0),
|
|
21978
21990
|
P.value === 2 ? (b(), x("div", ne, [
|
|
21979
|
-
|
|
21991
|
+
d(Q, {
|
|
21980
21992
|
modelValue: l.value.bankName,
|
|
21981
21993
|
"onUpdate:modelValue": e[10] || (e[10] = (v) => l.value.bankName = v),
|
|
21982
21994
|
label: n("field.bankName.label"),
|
|
21983
21995
|
placeholder: n("field.bankName.placeholder"),
|
|
21984
21996
|
"label-mark": "required",
|
|
21985
21997
|
rules: t(w)(t(j).string().min(1, n("validation.bankNameRequired"))),
|
|
21986
|
-
items:
|
|
21998
|
+
items: On
|
|
21987
21999
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"]),
|
|
21988
|
-
|
|
22000
|
+
d(N, {
|
|
21989
22001
|
modelValue: l.value.bankHolderName,
|
|
21990
22002
|
"onUpdate:modelValue": e[11] || (e[11] = (v) => l.value.bankHolderName = v),
|
|
21991
22003
|
label: n("field.bankHolderName.label"),
|
|
@@ -21995,7 +22007,7 @@ notice.
|
|
|
21995
22007
|
t(j).string().min(1, n("validation.bankHolderNameRequired"))
|
|
21996
22008
|
)
|
|
21997
22009
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"]),
|
|
21998
|
-
|
|
22010
|
+
d(N, {
|
|
21999
22011
|
modelValue: l.value.bankAccountNo,
|
|
22000
22012
|
"onUpdate:modelValue": e[12] || (e[12] = (v) => l.value.bankAccountNo = v),
|
|
22001
22013
|
label: n("field.bankAccountNo.label"),
|
|
@@ -22006,7 +22018,7 @@ notice.
|
|
|
22006
22018
|
)
|
|
22007
22019
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"]),
|
|
22008
22020
|
i("div", te, [
|
|
22009
|
-
|
|
22021
|
+
d(N, {
|
|
22010
22022
|
modelValue: l.value.bankBranch,
|
|
22011
22023
|
"onUpdate:modelValue": e[13] || (e[13] = (v) => l.value.bankBranch = v),
|
|
22012
22024
|
label: n("field.bankBranch.label"),
|
|
@@ -22016,7 +22028,7 @@ notice.
|
|
|
22016
22028
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
22017
22029
|
]),
|
|
22018
22030
|
i("div", ee, [
|
|
22019
|
-
|
|
22031
|
+
d(N, {
|
|
22020
22032
|
modelValue: l.value.bankBranchCode,
|
|
22021
22033
|
"onUpdate:modelValue": e[14] || (e[14] = (v) => l.value.bankBranchCode = v),
|
|
22022
22034
|
label: n("field.bankBranchCode.label"),
|
|
@@ -22029,23 +22041,23 @@ notice.
|
|
|
22029
22041
|
])
|
|
22030
22042
|
])) : c("", !0),
|
|
22031
22043
|
P.value === 3 ? (b(), x("div", fe, [
|
|
22032
|
-
|
|
22044
|
+
d(C, {
|
|
22033
22045
|
label: n("document.authorizedPersonID"),
|
|
22034
22046
|
modelValue: p.value.authorizedPersonID,
|
|
22035
22047
|
"onUpdate:modelValue": [
|
|
22036
22048
|
e[15] || (e[15] = (v) => p.value.authorizedPersonID = v),
|
|
22037
|
-
e[16] || (e[16] = (v) =>
|
|
22049
|
+
e[16] || (e[16] = (v) => F("authorizedPersonID", v))
|
|
22038
22050
|
],
|
|
22039
22051
|
type: "image",
|
|
22040
22052
|
"restaurant-id": (nn = t(o)) == null ? void 0 : nn._id
|
|
22041
22053
|
}, {
|
|
22042
22054
|
info: X(() => [
|
|
22043
|
-
|
|
22055
|
+
d(vn, {
|
|
22044
22056
|
title: n("sample.id"),
|
|
22045
22057
|
image: t(St)
|
|
22046
22058
|
}, {
|
|
22047
22059
|
default: X(() => [
|
|
22048
|
-
|
|
22060
|
+
d(U, {
|
|
22049
22061
|
class: "ml-4",
|
|
22050
22062
|
name: "info"
|
|
22051
22063
|
})
|
|
@@ -22055,23 +22067,23 @@ notice.
|
|
|
22055
22067
|
]),
|
|
22056
22068
|
_: 1
|
|
22057
22069
|
}, 8, ["label", "modelValue", "restaurant-id"]),
|
|
22058
|
-
|
|
22070
|
+
d(C, {
|
|
22059
22071
|
label: n("document.outletPhoto"),
|
|
22060
22072
|
modelValue: p.value.outletPhoto,
|
|
22061
22073
|
"onUpdate:modelValue": [
|
|
22062
22074
|
e[17] || (e[17] = (v) => p.value.outletPhoto = v),
|
|
22063
|
-
e[18] || (e[18] = (v) =>
|
|
22075
|
+
e[18] || (e[18] = (v) => F("outletPhoto", v))
|
|
22064
22076
|
],
|
|
22065
22077
|
type: "image",
|
|
22066
|
-
"restaurant-id": (
|
|
22078
|
+
"restaurant-id": (An = t(o)) == null ? void 0 : An._id
|
|
22067
22079
|
}, {
|
|
22068
22080
|
info: X(() => [
|
|
22069
|
-
|
|
22081
|
+
d(vn, {
|
|
22070
22082
|
title: n("sample.exterior"),
|
|
22071
22083
|
image: t(Vt)
|
|
22072
22084
|
}, {
|
|
22073
22085
|
default: X(() => [
|
|
22074
|
-
|
|
22086
|
+
d(U, {
|
|
22075
22087
|
class: "ml-4",
|
|
22076
22088
|
name: "info"
|
|
22077
22089
|
})
|
|
@@ -22081,25 +22093,25 @@ notice.
|
|
|
22081
22093
|
]),
|
|
22082
22094
|
_: 1
|
|
22083
22095
|
}, 8, ["label", "modelValue", "restaurant-id"]),
|
|
22084
|
-
|
|
22096
|
+
d(C, {
|
|
22085
22097
|
label: n("document.interiorPhoto"),
|
|
22086
22098
|
modelValue: p.value.interiorPhoto,
|
|
22087
22099
|
"onUpdate:modelValue": [
|
|
22088
22100
|
e[19] || (e[19] = (v) => p.value.interiorPhoto = v),
|
|
22089
|
-
e[20] || (e[20] = (v) =>
|
|
22101
|
+
e[20] || (e[20] = (v) => F("interiorPhoto", v))
|
|
22090
22102
|
],
|
|
22091
22103
|
type: "image",
|
|
22092
|
-
"restaurant-id": (
|
|
22104
|
+
"restaurant-id": (r = t(o)) == null ? void 0 : r._id
|
|
22093
22105
|
}, null, 8, ["label", "modelValue", "restaurant-id"]),
|
|
22094
|
-
|
|
22106
|
+
d(C, {
|
|
22095
22107
|
label: n("document.bankStatement"),
|
|
22096
22108
|
modelValue: p.value.bankStatement,
|
|
22097
22109
|
"onUpdate:modelValue": [
|
|
22098
22110
|
e[21] || (e[21] = (v) => p.value.bankStatement = v),
|
|
22099
|
-
e[22] || (e[22] = (v) =>
|
|
22111
|
+
e[22] || (e[22] = (v) => F("bankStatement", v))
|
|
22100
22112
|
],
|
|
22101
22113
|
type: "pdf",
|
|
22102
|
-
"restaurant-id": (
|
|
22114
|
+
"restaurant-id": (sn = t(o)) == null ? void 0 : sn._id
|
|
22103
22115
|
}, null, 8, ["label", "modelValue", "restaurant-id"]),
|
|
22104
22116
|
l.value.businessType === "juristic" ? (b(), M(C, {
|
|
22105
22117
|
key: 0,
|
|
@@ -22108,9 +22120,9 @@ notice.
|
|
|
22108
22120
|
modelValue: p.value.companyCertificate,
|
|
22109
22121
|
"onUpdate:modelValue": [
|
|
22110
22122
|
e[23] || (e[23] = (v) => p.value.companyCertificate = v),
|
|
22111
|
-
e[24] || (e[24] = (v) =>
|
|
22123
|
+
e[24] || (e[24] = (v) => F("companyCertificate", v))
|
|
22112
22124
|
],
|
|
22113
|
-
"restaurant-id": (
|
|
22125
|
+
"restaurant-id": (dn = t(o)) == null ? void 0 : dn._id
|
|
22114
22126
|
}, null, 8, ["label", "modelValue", "restaurant-id"])) : c("", !0),
|
|
22115
22127
|
l.value.businessType === "juristic" ? (b(), M(C, {
|
|
22116
22128
|
key: 1,
|
|
@@ -22119,7 +22131,7 @@ notice.
|
|
|
22119
22131
|
modelValue: p.value.vatCertificate,
|
|
22120
22132
|
"onUpdate:modelValue": [
|
|
22121
22133
|
e[25] || (e[25] = (v) => p.value.vatCertificate = v),
|
|
22122
|
-
e[26] || (e[26] = (v) =>
|
|
22134
|
+
e[26] || (e[26] = (v) => F("vatCertificate", v))
|
|
22123
22135
|
],
|
|
22124
22136
|
"restaurant-id": (Tn = t(o)) == null ? void 0 : Tn._id
|
|
22125
22137
|
}, null, 8, ["label", "modelValue", "restaurant-id"])) : c("", !0),
|
|
@@ -22130,7 +22142,7 @@ notice.
|
|
|
22130
22142
|
modelValue: p.value.commercialCertificate,
|
|
22131
22143
|
"onUpdate:modelValue": [
|
|
22132
22144
|
e[27] || (e[27] = (v) => p.value.commercialCertificate = v),
|
|
22133
|
-
e[28] || (e[28] = (v) =>
|
|
22145
|
+
e[28] || (e[28] = (v) => F("commercialCertificate", v))
|
|
22134
22146
|
],
|
|
22135
22147
|
"restaurant-id": (mn = t(o)) == null ? void 0 : mn._id
|
|
22136
22148
|
}, null, 8, ["label", "modelValue", "restaurant-id"])) : c("", !0)
|
|
@@ -22144,7 +22156,7 @@ notice.
|
|
|
22144
22156
|
}, null, 8, re)
|
|
22145
22157
|
]),
|
|
22146
22158
|
i("div", Pe, [
|
|
22147
|
-
|
|
22159
|
+
d(cn, {
|
|
22148
22160
|
modelValue: a.value,
|
|
22149
22161
|
"onUpdate:modelValue": e[29] || (e[29] = (v) => a.value = v),
|
|
22150
22162
|
label: n("terms.agree"),
|
|
@@ -22153,7 +22165,7 @@ notice.
|
|
|
22153
22165
|
]),
|
|
22154
22166
|
i("div", le, [
|
|
22155
22167
|
i("div", Ae, [
|
|
22156
|
-
|
|
22168
|
+
d(N, {
|
|
22157
22169
|
modelValue: l.value.picName,
|
|
22158
22170
|
"onUpdate:modelValue": e[30] || (e[30] = (v) => l.value.picName = v),
|
|
22159
22171
|
label: n("field.picName.label"),
|
|
@@ -22163,7 +22175,7 @@ notice.
|
|
|
22163
22175
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
22164
22176
|
]),
|
|
22165
22177
|
i("div", se, [
|
|
22166
|
-
|
|
22178
|
+
d(N, {
|
|
22167
22179
|
modelValue: l.value.picRole,
|
|
22168
22180
|
"onUpdate:modelValue": e[31] || (e[31] = (v) => l.value.picRole = v),
|
|
22169
22181
|
label: n("field.picRole.label"),
|
|
@@ -22173,7 +22185,7 @@ notice.
|
|
|
22173
22185
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
22174
22186
|
]),
|
|
22175
22187
|
i("div", ie, [
|
|
22176
|
-
|
|
22188
|
+
d(N, {
|
|
22177
22189
|
modelValue: l.value.picEmail,
|
|
22178
22190
|
"onUpdate:modelValue": e[32] || (e[32] = (v) => l.value.picEmail = v),
|
|
22179
22191
|
label: n("field.picEmail.label"),
|
|
@@ -22186,7 +22198,7 @@ notice.
|
|
|
22186
22198
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
22187
22199
|
]),
|
|
22188
22200
|
i("div", be, [
|
|
22189
|
-
|
|
22201
|
+
d(Hn, {
|
|
22190
22202
|
modelValue: l.value.picContact,
|
|
22191
22203
|
"onUpdate:modelValue": e[33] || (e[33] = (v) => l.value.picContact = v),
|
|
22192
22204
|
"default-country": "TH",
|
|
@@ -22200,7 +22212,7 @@ notice.
|
|
|
22200
22212
|
])
|
|
22201
22213
|
]),
|
|
22202
22214
|
i("div", oe, [
|
|
22203
|
-
|
|
22215
|
+
d(Gn, {
|
|
22204
22216
|
modelValue: p.value.signature,
|
|
22205
22217
|
"onUpdate:modelValue": e[34] || (e[34] = (v) => p.value.signature = v),
|
|
22206
22218
|
class: "w-[256px]",
|
|
@@ -22211,21 +22223,21 @@ notice.
|
|
|
22211
22223
|
(v) => !!v || n("validation.signatureRequired")
|
|
22212
22224
|
]
|
|
22213
22225
|
}, null, 8, ["modelValue", "label", "restaurant-id", "rules"]),
|
|
22214
|
-
|
|
22226
|
+
d(C, {
|
|
22215
22227
|
label: n("document.companyStamp"),
|
|
22216
22228
|
type: "image",
|
|
22217
22229
|
class: "w-[256px]",
|
|
22218
22230
|
modelValue: p.value.companyStamp,
|
|
22219
22231
|
"onUpdate:modelValue": [
|
|
22220
22232
|
e[35] || (e[35] = (v) => p.value.companyStamp = v),
|
|
22221
|
-
e[36] || (e[36] = (v) =>
|
|
22233
|
+
e[36] || (e[36] = (v) => F("companyStamp", v))
|
|
22222
22234
|
],
|
|
22223
22235
|
"restaurant-id": (Mn = t(o)) == null ? void 0 : Mn._id
|
|
22224
22236
|
}, null, 8, ["label", "modelValue", "restaurant-id"])
|
|
22225
22237
|
]),
|
|
22226
22238
|
i("div", ze, [
|
|
22227
22239
|
i("div", pe, [
|
|
22228
|
-
|
|
22240
|
+
d(N, {
|
|
22229
22241
|
modelValue: l.value.witnessName,
|
|
22230
22242
|
"onUpdate:modelValue": e[37] || (e[37] = (v) => l.value.witnessName = v),
|
|
22231
22243
|
label: n("field.witnessName.label"),
|
|
@@ -22237,7 +22249,7 @@ notice.
|
|
|
22237
22249
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
22238
22250
|
]),
|
|
22239
22251
|
i("div", ae, [
|
|
22240
|
-
|
|
22252
|
+
d(N, {
|
|
22241
22253
|
modelValue: l.value.witnessRole,
|
|
22242
22254
|
"onUpdate:modelValue": e[38] || (e[38] = (v) => l.value.witnessRole = v),
|
|
22243
22255
|
label: n("field.witnessRole.label"),
|
|
@@ -22249,7 +22261,7 @@ notice.
|
|
|
22249
22261
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"])
|
|
22250
22262
|
]),
|
|
22251
22263
|
i("div", we, [
|
|
22252
|
-
|
|
22264
|
+
d(Gn, {
|
|
22253
22265
|
modelValue: p.value.witnessSignature,
|
|
22254
22266
|
"onUpdate:modelValue": e[39] || (e[39] = (v) => p.value.witnessSignature = v),
|
|
22255
22267
|
class: "w-[256px]",
|
|
@@ -22264,7 +22276,7 @@ notice.
|
|
|
22264
22276
|
])
|
|
22265
22277
|
])) : c("", !0),
|
|
22266
22278
|
e[40] || (e[40] = i("div", { class: "my-20" }, null, -1)),
|
|
22267
|
-
|
|
22279
|
+
pn.value ? (b(), M(xn, {
|
|
22268
22280
|
key: 4,
|
|
22269
22281
|
variant: "primary",
|
|
22270
22282
|
type: "submit",
|