@feedmepos/mf-payment 1.3.19 → 1.3.21
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/{OnboardForm-DPP9sDQZ.js → OnboardForm-UC7FlAKc.js} +133 -128
- package/dist/OnboardForm-ZIeFW3ZH.js +774 -0
- package/dist/{OnboardSubmission-DXUcu1dt.js → OnboardSubmission-CGI_T8K6.js} +2 -2
- package/dist/{OnboardSubmission-BAl9Ow45.js → OnboardSubmission-CUqrOqBi.js} +5 -5
- package/dist/{PayoutAccount-CXDYrAd3.js → PayoutAccount-D2eUU8Qa.js} +5 -5
- package/dist/{PayoutAccount-NSgjtEeb.js → PayoutAccount-pxoe0HM6.js} +5 -5
- package/dist/{PayoutAccountSetting-BbMJO09b.js → PayoutAccountSetting-yH2ZRT-A.js} +378 -296
- package/dist/{Restaurant-CwdFy65Q.js → Restaurant-CeH2FJRT.js} +4 -4
- package/dist/{RestaurantSetting-BZ_wJvh-.js → RestaurantSetting-BV1XLh-9.js} +292 -212
- package/dist/{Settlement-PxISyjHU.js → Settlement-DzYUTaVE.js} +3 -3
- package/dist/{Settlement-ByfwQDjy.js → Settlement-L8ukHWPs.js} +3 -3
- package/dist/{SettlementTransactions-DidiqbXG.js → SettlementTransactions-C8o5Atmc.js} +3 -3
- package/dist/{SettlementTransactions-D5yeeyDP.js → SettlementTransactions-DG9nJuLQ.js} +3 -3
- package/dist/{Status.vue_vue_type_script_setup_true_lang-kehDoQ6j.js → Status.vue_vue_type_script_setup_true_lang-B7a304Y6.js} +1 -1
- package/dist/{Terminal-C--amJVv.js → Terminal-DA_mJQMD.js} +5 -5
- package/dist/{TerminalSetting-CmpDYU7f.js → TerminalSetting-GFMILaSV.js} +93 -93
- package/dist/{Transaction-Bd_4iMOT.js → Transaction-CfC0yN9P.js} +5 -5
- package/dist/{Transaction-BMc3gQy1.js → Transaction-fhDUanwr.js} +6 -6
- package/dist/{TransactionOld-8-sEspIt.js → TransactionOld-CObh3uJa.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BayIh55f.js → TransactionTable.vue_vue_type_script_setup_true_lang-DPRIp0wx.js} +3 -3
- package/dist/{app-BNDwaB8P.js → app-U8rab4vJ.js} +23 -23
- package/dist/app.js +1 -1
- package/dist/{assets-CTH4trdc.js → assets-D4ayW3GC.js} +1 -1
- package/dist/components/ImagePreview.vue.d.ts +13 -0
- package/dist/{grafana-bPLmWYzm.js → grafana-BrdrOUM4.js} +1 -1
- package/dist/{index-DZYRliw9.js → index-BWjmOoX3.js} +1 -1
- package/dist/{index-CJPiBIRm.js → index-C4FfKmPS.js} +5303 -5231
- package/dist/{index-B5zEwG__.js → index-C8G7ruiF.js} +1 -1
- package/dist/{index-D1aKlCrl.js → index-DJJFmavW.js} +2 -2
- package/dist/{index-cU53UWIn.js → index-DJrcobek.js} +1 -1
- package/dist/{index-98tll3Hu.js → index-ILoz50zh.js} +1 -1
- package/dist/{index-DPY6iypt.js → index-j0nww2Hf.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CaVufHjO.js → index.vue_vue_type_script_setup_true_lang-v7o6C5Pg.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-B5NqmtVV.js → payout-account-OFsbgQTk.js} +3 -3
- package/dist/{plugins-P9PV_l1I.js → plugins-C0WdSJxl.js} +1 -1
- package/dist/stores/payoutAccount.d.ts +34 -18
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +34 -18
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +38 -22
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +38 -22
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +34 -18
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +34 -18
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +38 -22
- package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +45 -0
- 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/MacauPassGateway.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +50 -0
- package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +8 -8
- package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +8 -8
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +20 -20
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +20 -20
- package/dist/views/onboard-submission/cell/UploadButton.vue.d.ts +9 -2
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +68 -36
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +32 -32
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +16 -16
- package/package.json +2 -2
- package/dist/OnboardForm-Dwj9j1vz.js +0 -673
@@ -1,15 +1,15 @@
|
|
1
|
-
import { defineComponent as $, ref as P, computed as O, resolveComponent as f, openBlock as y, createElementBlock as q, createElementVNode as
|
2
|
-
import { o as T } from "./index-
|
3
|
-
import { u as M } from "./index-
|
1
|
+
import { defineComponent as $, ref as P, computed as O, resolveComponent as f, openBlock as y, createElementBlock as q, createElementVNode as s, toDisplayString as I, Fragment as z, createBlock as j, withCtx as c, createVNode as o, createCommentVNode as B, unref as e, createTextVNode as D, onMounted as X, resolveDynamicComponent as Z } from "vue";
|
2
|
+
import { o as T } from "./index-DJJFmavW.js";
|
3
|
+
import { u as M } from "./index-C4FfKmPS.js";
|
4
4
|
import { useRouter as h } from "vue-router";
|
5
5
|
import { z as u, a as d } from "./validator-D5jtpt9A.js";
|
6
|
-
import { P as ee } from "./payout-account-
|
6
|
+
import { P as ee } from "./payout-account-OFsbgQTk.js";
|
7
7
|
import { P as le } from "./PDFViewer-DlSCBBxr.js";
|
8
8
|
import { s as te } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
9
|
-
import { _ as ae } from "./Status.vue_vue_type_script_setup_true_lang-
|
9
|
+
import { _ as ae } from "./Status.vue_vue_type_script_setup_true_lang-B7a304Y6.js";
|
10
10
|
import { useSnackbar as J } from "@feedmepos/ui-library";
|
11
|
-
import { u as
|
12
|
-
const oe = ["src"],
|
11
|
+
import { u as _ } from "./error-K1CakhA9.js";
|
12
|
+
const oe = ["src"], E = /* @__PURE__ */ $({
|
13
13
|
__name: "UploadButton",
|
14
14
|
props: {
|
15
15
|
modelValue: {},
|
@@ -34,7 +34,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
34
34
|
return (a, r) => {
|
35
35
|
const C = f("FmButton"), i = f("FmDialog"), g = f("FmDropField");
|
36
36
|
return y(), q("div", null, [
|
37
|
-
|
37
|
+
s("p", null, I(a.label), 1),
|
38
38
|
b.value ? (y(), q(z, { key: 0 }, [
|
39
39
|
a.type === "pdf" ? (y(), j(i, {
|
40
40
|
key: 0,
|
@@ -42,23 +42,23 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
42
42
|
"max-height": 800
|
43
43
|
}, {
|
44
44
|
"dialog-button": c(() => [
|
45
|
-
|
45
|
+
o(C, {
|
46
46
|
class: "mt-4",
|
47
47
|
"prepend-icon": "preview",
|
48
48
|
label: "Preview"
|
49
49
|
})
|
50
50
|
]),
|
51
51
|
"dialog-header": c(() => r[0] || (r[0] = [
|
52
|
-
|
52
|
+
s("div", null, "Document Preview", -1)
|
53
53
|
])),
|
54
54
|
default: c(() => [
|
55
|
-
|
55
|
+
o(le, {
|
56
56
|
height: 800,
|
57
57
|
pdf: b.value,
|
58
58
|
"disable-text-layer": !0,
|
59
59
|
"disable-annotation-layer": !0
|
60
60
|
}, null, 8, ["pdf"]),
|
61
|
-
|
61
|
+
o(C, {
|
62
62
|
class: "w-full my-6",
|
63
63
|
"prepend-icon": "download",
|
64
64
|
label: "Download",
|
@@ -66,11 +66,11 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
66
66
|
})
|
67
67
|
]),
|
68
68
|
_: 1
|
69
|
-
})) :
|
69
|
+
})) : B("", !0),
|
70
70
|
a.type === "image" ? (y(), q("img", {
|
71
71
|
key: 1,
|
72
72
|
src: b.value
|
73
|
-
}, null, 8, oe)) :
|
73
|
+
}, null, 8, oe)) : B("", !0)
|
74
74
|
], 64)) : (y(), j(g, {
|
75
75
|
key: 1,
|
76
76
|
accept: F.value,
|
@@ -92,8 +92,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
92
92
|
setup(R, { emit: x }) {
|
93
93
|
const V = R, b = x, k = P(V.modelValue), S = P(!1), m = P(), F = P(!1);
|
94
94
|
function a(C, i) {
|
95
|
-
var
|
96
|
-
const g = C.split(","), w = ((
|
95
|
+
var A;
|
96
|
+
const g = C.split(","), w = ((A = g[0].match(/:(.*?);/)) == null ? void 0 : A[1]) || "", v = atob(g[1]);
|
97
97
|
let n = v.length;
|
98
98
|
const U = new Uint8Array(n);
|
99
99
|
for (; n--; )
|
@@ -114,39 +114,39 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
114
114
|
src: k.value,
|
115
115
|
alt: "Signature Preview",
|
116
116
|
class: "w-full h-auto"
|
117
|
-
}, null, 8, se)) :
|
118
|
-
k.value ?
|
117
|
+
}, null, 8, se)) : B("", !0),
|
118
|
+
k.value ? B("", !0) : (y(), j(w, {
|
119
119
|
key: 1,
|
120
120
|
modelValue: F.value,
|
121
121
|
"onUpdate:modelValue": i[1] || (i[1] = (v) => F.value = v)
|
122
122
|
}, {
|
123
123
|
"dialog-button": c(() => [
|
124
|
-
|
124
|
+
o(g, {
|
125
125
|
"prepend-icon": "signature",
|
126
126
|
class: "w-full",
|
127
127
|
label: "Signature"
|
128
128
|
})
|
129
129
|
]),
|
130
130
|
"dialog-header": c(() => i[2] || (i[2] = [
|
131
|
-
|
131
|
+
s("div", null, "Signature Board", -1)
|
132
132
|
])),
|
133
133
|
default: c(() => [
|
134
|
-
|
134
|
+
o(e(te), {
|
135
135
|
ref_key: "signaturePad",
|
136
136
|
ref: m,
|
137
137
|
height: "300px",
|
138
138
|
customStyle: { border: "2px solid #ccc", borderRadius: "3px" },
|
139
139
|
options: { penColor: "#000000" }
|
140
140
|
}, null, 512),
|
141
|
-
S.value ? (y(), q("p", ne, " Please sign your signature before saving. ")) :
|
142
|
-
|
143
|
-
|
141
|
+
S.value ? (y(), q("p", ne, " Please sign your signature before saving. ")) : B("", !0),
|
142
|
+
s("div", re, [
|
143
|
+
o(g, {
|
144
144
|
variant: "destructive",
|
145
145
|
label: "Clear",
|
146
146
|
"prepend-icon": "delete",
|
147
147
|
onClick: i[0] || (i[0] = (v) => m.value.clearSignature())
|
148
148
|
}),
|
149
|
-
|
149
|
+
o(g, {
|
150
150
|
label: "Save",
|
151
151
|
"prepend-icon": "save",
|
152
152
|
onClick: r
|
@@ -178,7 +178,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
178
178
|
jcbPlatinum: "2.2"
|
179
179
|
}), U = O(
|
180
180
|
() => Object.values(n.value).every((N) => parseFloat(N) > 0)
|
181
|
-
),
|
181
|
+
), A = () => F(async () => {
|
182
182
|
try {
|
183
183
|
const N = await T.reviewById(V.submission._id, {
|
184
184
|
rates: {
|
@@ -200,7 +200,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
200
200
|
k.open({
|
201
201
|
type: "error",
|
202
202
|
title: "Error occurs when updating submission",
|
203
|
-
message:
|
203
|
+
message: _(N)
|
204
204
|
});
|
205
205
|
}
|
206
206
|
}), G = () => F(async () => {
|
@@ -217,44 +217,44 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
217
217
|
k.open({
|
218
218
|
type: "error",
|
219
219
|
title: "Error occurs when updating submission",
|
220
|
-
message:
|
220
|
+
message: _(N)
|
221
221
|
});
|
222
222
|
}
|
223
223
|
});
|
224
224
|
return (N, l) => {
|
225
225
|
const p = f("FmTextField"), L = f("FmButton"), K = f("FmTextarea"), Q = f("FmDialog"), Y = f("FmPhoneNumber"), H = f("FmSelect"), W = f("FmForm");
|
226
226
|
return y(), q(z, null, [
|
227
|
-
|
228
|
-
|
229
|
-
l[
|
230
|
-
|
227
|
+
s("div", ue, [
|
228
|
+
s("div", null, [
|
229
|
+
l[33] || (l[33] = s("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
|
230
|
+
s("span", de, I(e(C)), 1)
|
231
231
|
]),
|
232
|
-
|
233
|
-
l[
|
234
|
-
|
232
|
+
s("div", null, [
|
233
|
+
l[34] || (l[34] = s("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
|
234
|
+
s("span", me, I(e(i).name) + " ( " + I(e(i).legalName) + " )", 1)
|
235
235
|
]),
|
236
|
-
|
237
|
-
l[
|
238
|
-
|
236
|
+
s("div", null, [
|
237
|
+
l[35] || (l[35] = s("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
|
238
|
+
s("span", pe, I(e(i).email), 1)
|
239
239
|
]),
|
240
|
-
|
241
|
-
l[
|
242
|
-
|
240
|
+
s("div", null, [
|
241
|
+
l[36] || (l[36] = s("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
|
242
|
+
s("span", be, I(e(i).phoneNo), 1)
|
243
243
|
]),
|
244
|
-
|
245
|
-
l[
|
246
|
-
|
247
|
-
|
244
|
+
s("div", null, [
|
245
|
+
l[37] || (l[37] = s("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
|
246
|
+
s("span", ce, [
|
247
|
+
o(ae, { data: e(g) }, null, 8, ["data"])
|
248
248
|
])
|
249
249
|
]),
|
250
|
-
|
251
|
-
l[
|
252
|
-
|
250
|
+
s("div", null, [
|
251
|
+
l[38] || (l[38] = s("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
|
252
|
+
s("span", ge, I(e(w)), 1)
|
253
253
|
])
|
254
254
|
]),
|
255
|
-
l[
|
256
|
-
|
257
|
-
|
255
|
+
l[50] || (l[50] = s("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Rate Settings ", -1)),
|
256
|
+
s("div", ve, [
|
257
|
+
o(p, {
|
258
258
|
modelValue: n.value.duitNow,
|
259
259
|
"onUpdate:modelValue": l[0] || (l[0] = (t) => n.value.duitNow = t),
|
260
260
|
label: "DuitNow QR",
|
@@ -266,12 +266,12 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
266
266
|
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
267
267
|
)
|
268
268
|
}, {
|
269
|
-
append: c(() => l[
|
269
|
+
append: c(() => l[39] || (l[39] = [
|
270
270
|
D("%")
|
271
271
|
])),
|
272
272
|
_: 1
|
273
273
|
}, 8, ["modelValue", "rules"]),
|
274
|
-
|
274
|
+
o(p, {
|
275
275
|
modelValue: n.value.mydebitCard,
|
276
276
|
"onUpdate:modelValue": l[1] || (l[1] = (t) => n.value.mydebitCard = t),
|
277
277
|
label: "myDebit Card",
|
@@ -283,12 +283,12 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
283
283
|
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
284
284
|
)
|
285
285
|
}, {
|
286
|
-
append: c(() => l[
|
286
|
+
append: c(() => l[40] || (l[40] = [
|
287
287
|
D("%")
|
288
288
|
])),
|
289
289
|
_: 1
|
290
290
|
}, 8, ["modelValue", "rules"]),
|
291
|
-
|
291
|
+
o(p, {
|
292
292
|
modelValue: n.value.localDebit,
|
293
293
|
"onUpdate:modelValue": l[2] || (l[2] = (t) => n.value.localDebit = t),
|
294
294
|
label: "Local Debit Card",
|
@@ -300,12 +300,12 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
300
300
|
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
301
301
|
)
|
302
302
|
}, {
|
303
|
-
append: c(() => l[
|
303
|
+
append: c(() => l[41] || (l[41] = [
|
304
304
|
D("%")
|
305
305
|
])),
|
306
306
|
_: 1
|
307
307
|
}, 8, ["modelValue", "rules"]),
|
308
|
-
|
308
|
+
o(p, {
|
309
309
|
modelValue: n.value.localCredit,
|
310
310
|
"onUpdate:modelValue": l[3] || (l[3] = (t) => n.value.localCredit = t),
|
311
311
|
label: "Local Credit Card",
|
@@ -317,12 +317,12 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
317
317
|
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
318
318
|
)
|
319
319
|
}, {
|
320
|
-
append: c(() => l[
|
320
|
+
append: c(() => l[42] || (l[42] = [
|
321
321
|
D("%")
|
322
322
|
])),
|
323
323
|
_: 1
|
324
324
|
}, 8, ["modelValue", "rules"]),
|
325
|
-
|
325
|
+
o(p, {
|
326
326
|
modelValue: n.value.foreignCard,
|
327
327
|
"onUpdate:modelValue": l[4] || (l[4] = (t) => n.value.foreignCard = t),
|
328
328
|
label: "Foreign Card",
|
@@ -334,12 +334,12 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
334
334
|
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
335
335
|
)
|
336
336
|
}, {
|
337
|
-
append: c(() => l[
|
337
|
+
append: c(() => l[43] || (l[43] = [
|
338
338
|
D("%")
|
339
339
|
])),
|
340
340
|
_: 1
|
341
341
|
}, 8, ["modelValue", "rules"]),
|
342
|
-
|
342
|
+
o(p, {
|
343
343
|
modelValue: n.value.jcbStandard,
|
344
344
|
"onUpdate:modelValue": l[5] || (l[5] = (t) => n.value.jcbStandard = t),
|
345
345
|
label: "JCB Standard",
|
@@ -351,12 +351,12 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
351
351
|
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
352
352
|
)
|
353
353
|
}, {
|
354
|
-
append: c(() => l[
|
354
|
+
append: c(() => l[44] || (l[44] = [
|
355
355
|
D("%")
|
356
356
|
])),
|
357
357
|
_: 1
|
358
358
|
}, 8, ["modelValue", "rules"]),
|
359
|
-
|
359
|
+
o(p, {
|
360
360
|
modelValue: n.value.jcbPlatinum,
|
361
361
|
"onUpdate:modelValue": l[6] || (l[6] = (t) => n.value.jcbPlatinum = t),
|
362
362
|
label: "JCB Platinum",
|
@@ -368,19 +368,19 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
368
368
|
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
369
369
|
)
|
370
370
|
}, {
|
371
|
-
append: c(() => l[
|
371
|
+
append: c(() => l[45] || (l[45] = [
|
372
372
|
D("%")
|
373
373
|
])),
|
374
374
|
_: 1
|
375
375
|
}, 8, ["modelValue", "rules"])
|
376
376
|
]),
|
377
|
-
|
378
|
-
|
377
|
+
s("div", ye, [
|
378
|
+
o(Q, {
|
379
379
|
modelValue: S.value,
|
380
380
|
"onUpdate:modelValue": l[8] || (l[8] = (t) => S.value = t)
|
381
381
|
}, {
|
382
382
|
"dialog-button": c(() => [
|
383
|
-
|
383
|
+
o(L, {
|
384
384
|
class: "mr-6",
|
385
385
|
type: "button",
|
386
386
|
variant: "destructive",
|
@@ -389,18 +389,18 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
389
389
|
label: "Reject Submission"
|
390
390
|
}, null, 8, ["loading"])
|
391
391
|
]),
|
392
|
-
"dialog-header": c(() => l[
|
393
|
-
|
392
|
+
"dialog-header": c(() => l[46] || (l[46] = [
|
393
|
+
s("div", null, "Rejecting Submission", -1)
|
394
394
|
])),
|
395
395
|
default: c(() => [
|
396
|
-
|
396
|
+
o(K, {
|
397
397
|
modelValue: v.value,
|
398
398
|
"onUpdate:modelValue": l[7] || (l[7] = (t) => v.value = t),
|
399
399
|
label: "Reason for Rejection",
|
400
400
|
"label-mark": "optional",
|
401
401
|
"helper-text": "Please provide a reason for rejection."
|
402
402
|
}, null, 8, ["modelValue"]),
|
403
|
-
|
403
|
+
o(L, {
|
404
404
|
class: "mb-2 mt-6 w-full",
|
405
405
|
label: "Submit",
|
406
406
|
"prepend-icon": "save",
|
@@ -410,22 +410,22 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
410
410
|
]),
|
411
411
|
_: 1
|
412
412
|
}, 8, ["modelValue"]),
|
413
|
-
|
413
|
+
o(L, {
|
414
414
|
type: "button",
|
415
415
|
variant: "primary",
|
416
416
|
"prepend-icon": "approval",
|
417
417
|
disabled: !U.value,
|
418
418
|
label: "Approve Submission with Rates",
|
419
|
-
onClick:
|
419
|
+
onClick: A,
|
420
420
|
loading: e(m)
|
421
421
|
}, null, 8, ["disabled", "loading"])
|
422
422
|
]),
|
423
|
-
|
423
|
+
o(W, { disabled: !0 }, {
|
424
424
|
default: c(() => [
|
425
|
-
l[
|
426
|
-
|
427
|
-
|
428
|
-
|
425
|
+
l[47] || (l[47] = s("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Outlet Information ", -1)),
|
426
|
+
s("div", fe, [
|
427
|
+
s("div", Ve, [
|
428
|
+
o(p, {
|
429
429
|
modelValue: e(a).picName,
|
430
430
|
"onUpdate:modelValue": l[9] || (l[9] = (t) => e(a).picName = t),
|
431
431
|
label: "PIC Name",
|
@@ -434,8 +434,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
434
434
|
rules: e(u)(e(d).string().min(1, "PIC Name is required"))
|
435
435
|
}, null, 8, ["modelValue", "rules"])
|
436
436
|
]),
|
437
|
-
|
438
|
-
|
437
|
+
s("div", ke, [
|
438
|
+
o(p, {
|
439
439
|
modelValue: e(a).picRole,
|
440
440
|
"onUpdate:modelValue": l[10] || (l[10] = (t) => e(a).picRole = t),
|
441
441
|
label: "PIC Role",
|
@@ -444,8 +444,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
444
444
|
rules: e(u)(e(d).string().min(1, "PIC Role is required"))
|
445
445
|
}, null, 8, ["modelValue", "rules"])
|
446
446
|
]),
|
447
|
-
|
448
|
-
|
447
|
+
s("div", Ce, [
|
448
|
+
o(p, {
|
449
449
|
modelValue: e(a).picEmail,
|
450
450
|
"onUpdate:modelValue": l[11] || (l[11] = (t) => e(a).picEmail = t),
|
451
451
|
label: "PIC Email",
|
@@ -455,8 +455,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
455
455
|
rules: e(u)(e(d).string().min(1, "PIC Email is required"))
|
456
456
|
}, null, 8, ["modelValue", "rules"])
|
457
457
|
]),
|
458
|
-
|
459
|
-
|
458
|
+
s("div", Ne, [
|
459
|
+
o(Y, {
|
460
460
|
"model-value": e(a).picContact,
|
461
461
|
"onUpdate:modelValue": l[12] || (l[12] = (t) => e(a).picContact = t),
|
462
462
|
"default-country": "MY",
|
@@ -465,8 +465,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
465
465
|
rules: e(u)(e(d).string().min(1, "PIC Contact is required"))
|
466
466
|
}, null, 8, ["model-value", "rules"])
|
467
467
|
]),
|
468
|
-
|
469
|
-
|
468
|
+
s("div", Se, [
|
469
|
+
o(p, {
|
470
470
|
modelValue: e(a).outletName,
|
471
471
|
"onUpdate:modelValue": l[13] || (l[13] = (t) => e(a).outletName = t),
|
472
472
|
label: "Outlet Name",
|
@@ -475,8 +475,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
475
475
|
rules: e(u)(e(d).string().min(1, "Outlet Name is required"))
|
476
476
|
}, null, 8, ["modelValue", "rules"])
|
477
477
|
]),
|
478
|
-
|
479
|
-
|
478
|
+
s("div", Fe, [
|
479
|
+
o(p, {
|
480
480
|
modelValue: e(a).outletAddress,
|
481
481
|
"onUpdate:modelValue": l[14] || (l[14] = (t) => e(a).outletAddress = t),
|
482
482
|
label: "Outlet Address",
|
@@ -485,7 +485,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
485
485
|
rules: e(u)(e(d).string().min(1, "Address is required"))
|
486
486
|
}, null, 8, ["modelValue", "rules"])
|
487
487
|
]),
|
488
|
-
|
488
|
+
o(p, {
|
489
489
|
modelValue: e(a).outletPostCode,
|
490
490
|
"onUpdate:modelValue": l[15] || (l[15] = (t) => e(a).outletPostCode = t),
|
491
491
|
label: "Postal Code",
|
@@ -493,7 +493,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
493
493
|
"label-mark": "required",
|
494
494
|
rules: e(u)(e(d).string().min(1, "Postal Code is required"))
|
495
495
|
}, null, 8, ["modelValue", "rules"]),
|
496
|
-
|
496
|
+
o(p, {
|
497
497
|
modelValue: e(a).outletState,
|
498
498
|
"onUpdate:modelValue": l[16] || (l[16] = (t) => e(a).outletState = t),
|
499
499
|
label: "State",
|
@@ -501,7 +501,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
501
501
|
"label-mark": "required",
|
502
502
|
rules: e(u)(e(d).string().min(1, "State is required"))
|
503
503
|
}, null, 8, ["modelValue", "rules"]),
|
504
|
-
|
504
|
+
o(p, {
|
505
505
|
modelValue: e(a).outletCity,
|
506
506
|
"onUpdate:modelValue": l[17] || (l[17] = (t) => e(a).outletCity = t),
|
507
507
|
label: "City",
|
@@ -509,8 +509,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
509
509
|
"label-mark": "required",
|
510
510
|
rules: e(u)(e(d).string().min(1, "City is required"))
|
511
511
|
}, null, 8, ["modelValue", "rules"]),
|
512
|
-
|
513
|
-
|
512
|
+
s("div", we, [
|
513
|
+
o(H, {
|
514
514
|
modelValue: e(a).businessType,
|
515
515
|
"onUpdate:modelValue": l[18] || (l[18] = (t) => e(a).businessType = t),
|
516
516
|
label: "Type",
|
@@ -525,8 +525,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
525
525
|
]
|
526
526
|
}, null, 8, ["modelValue", "rules"])
|
527
527
|
]),
|
528
|
-
|
529
|
-
|
528
|
+
s("div", Pe, [
|
529
|
+
o(p, {
|
530
530
|
modelValue: e(a).businessRegNo,
|
531
531
|
"onUpdate:modelValue": l[19] || (l[19] = (t) => e(a).businessRegNo = t),
|
532
532
|
label: "Registration No",
|
@@ -535,8 +535,8 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
535
535
|
rules: e(u)(e(d).string().min(1, "Reg No is required"))
|
536
536
|
}, null, 8, ["modelValue", "rules"])
|
537
537
|
]),
|
538
|
-
|
539
|
-
|
538
|
+
s("div", qe, [
|
539
|
+
o(p, {
|
540
540
|
modelValue: e(a).tinNo,
|
541
541
|
"onUpdate:modelValue": l[20] || (l[20] = (t) => e(a).tinNo = t),
|
542
542
|
label: "Tax Identification No (TIN)",
|
@@ -545,20 +545,19 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
545
545
|
rules: e(u)(e(d).string().min(1, "TIN is required"))
|
546
546
|
}, null, 8, ["modelValue", "rules"])
|
547
547
|
]),
|
548
|
-
|
549
|
-
|
548
|
+
s("div", Re, [
|
549
|
+
o(p, {
|
550
550
|
modelValue: e(a).sstNo,
|
551
551
|
"onUpdate:modelValue": l[21] || (l[21] = (t) => e(a).sstNo = t),
|
552
552
|
label: "SST Registration No (SST)",
|
553
553
|
placeholder: "Enter your SST number",
|
554
|
-
"label-mark": "
|
555
|
-
|
556
|
-
}, null, 8, ["modelValue", "rules"])
|
554
|
+
"label-mark": "optional"
|
555
|
+
}, null, 8, ["modelValue"])
|
557
556
|
])
|
558
557
|
]),
|
559
|
-
l[
|
560
|
-
|
561
|
-
|
558
|
+
l[48] || (l[48] = s("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Payout Information & Documents ", -1)),
|
559
|
+
s("div", xe, [
|
560
|
+
o(H, {
|
562
561
|
modelValue: e(a).bankName,
|
563
562
|
"onUpdate:modelValue": l[22] || (l[22] = (t) => e(a).bankName = t),
|
564
563
|
label: "Bank",
|
@@ -567,7 +566,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
567
566
|
rules: e(u)(e(d).string().min(1, "Bank Type is required")),
|
568
567
|
items: e(ee).bankNameOptions()
|
569
568
|
}, null, 8, ["modelValue", "rules", "items"]),
|
570
|
-
|
569
|
+
o(p, {
|
571
570
|
modelValue: e(a).bankHolderName,
|
572
571
|
"onUpdate:modelValue": l[23] || (l[23] = (t) => e(a).bankHolderName = t),
|
573
572
|
label: "Beneficiary Name",
|
@@ -575,7 +574,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
575
574
|
"label-mark": "required",
|
576
575
|
rules: e(u)(e(d).string().min(1, "Beneficiary Name is required"))
|
577
576
|
}, null, 8, ["modelValue", "rules"]),
|
578
|
-
|
577
|
+
o(p, {
|
579
578
|
modelValue: e(a).bankAccountNo,
|
580
579
|
"onUpdate:modelValue": l[24] || (l[24] = (t) => e(a).bankAccountNo = t),
|
581
580
|
label: "Account Number",
|
@@ -583,51 +582,57 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
583
582
|
"label-mark": "required",
|
584
583
|
rules: e(u)(e(d).string().min(1, "Account Number is required"))
|
585
584
|
}, null, 8, ["modelValue", "rules"]),
|
586
|
-
|
585
|
+
o(E, {
|
587
586
|
label: "Authorized Person ID",
|
588
587
|
modelValue: e(r).authorizedPersonID,
|
589
588
|
"onUpdate:modelValue": l[25] || (l[25] = (t) => e(r).authorizedPersonID = t),
|
590
589
|
type: "image"
|
591
590
|
}, null, 8, ["modelValue"]),
|
592
|
-
|
591
|
+
o(E, {
|
593
592
|
label: "Outlet Photo",
|
594
593
|
modelValue: e(r).outletPhoto,
|
595
594
|
"onUpdate:modelValue": l[26] || (l[26] = (t) => e(r).outletPhoto = t),
|
596
595
|
type: "image"
|
597
596
|
}, null, 8, ["modelValue"]),
|
598
|
-
|
597
|
+
o(E, {
|
598
|
+
label: "Interior Photo",
|
599
|
+
modelValue: e(r).interiorPhoto,
|
600
|
+
"onUpdate:modelValue": l[27] || (l[27] = (t) => e(r).interiorPhoto = t),
|
601
|
+
type: "image"
|
602
|
+
}, null, 8, ["modelValue"]),
|
603
|
+
o(E, {
|
599
604
|
label: "Latest Bank Statement",
|
600
605
|
modelValue: e(r).bankStatement,
|
601
|
-
"onUpdate:modelValue": l[
|
606
|
+
"onUpdate:modelValue": l[28] || (l[28] = (t) => e(r).bankStatement = t),
|
602
607
|
type: "pdf"
|
603
608
|
}, null, 8, ["modelValue"]),
|
604
|
-
e(a).businessType === "private_limited" || e(a).businessType === "public_limited" ? (y(), j(
|
609
|
+
e(a).businessType === "private_limited" || e(a).businessType === "public_limited" ? (y(), j(E, {
|
605
610
|
key: 0,
|
606
611
|
label: "Superform",
|
607
612
|
type: "pdf",
|
608
613
|
modelValue: e(r).certificate,
|
609
|
-
"onUpdate:modelValue": l[
|
610
|
-
}, null, 8, ["modelValue"])) :
|
611
|
-
e(a).businessType === "sole_proprietorship" || e(a).businessType === "partnership" ? (y(), j(
|
614
|
+
"onUpdate:modelValue": l[29] || (l[29] = (t) => e(r).certificate = t)
|
615
|
+
}, null, 8, ["modelValue"])) : B("", !0),
|
616
|
+
e(a).businessType === "sole_proprietorship" || e(a).businessType === "partnership" ? (y(), j(E, {
|
612
617
|
key: 1,
|
613
618
|
label: "SSM Certificate & Info",
|
614
619
|
type: "pdf",
|
615
620
|
modelValue: e(r).certificate,
|
616
|
-
"onUpdate:modelValue": l[
|
617
|
-
}, null, 8, ["modelValue"])) :
|
621
|
+
"onUpdate:modelValue": l[30] || (l[30] = (t) => e(r).certificate = t)
|
622
|
+
}, null, 8, ["modelValue"])) : B("", !0)
|
618
623
|
]),
|
619
|
-
l[
|
620
|
-
|
621
|
-
|
624
|
+
l[49] || (l[49] = s("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Declaration Information ", -1)),
|
625
|
+
s("div", Ue, [
|
626
|
+
o(ie, {
|
622
627
|
modelValue: e(r).signature,
|
623
|
-
"onUpdate:modelValue": l[
|
628
|
+
"onUpdate:modelValue": l[31] || (l[31] = (t) => e(r).signature = t),
|
624
629
|
label: "Signature"
|
625
630
|
}, null, 8, ["modelValue"]),
|
626
|
-
|
631
|
+
o(E, {
|
627
632
|
label: "Company Stamp",
|
628
633
|
type: "image",
|
629
634
|
modelValue: e(r).companyStamp,
|
630
|
-
"onUpdate:modelValue": l[
|
635
|
+
"onUpdate:modelValue": l[32] || (l[32] = (t) => e(r).companyStamp = t)
|
631
636
|
}, null, 8, ["modelValue"])
|
632
637
|
])
|
633
638
|
]),
|
@@ -683,7 +688,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
683
688
|
b.open({
|
684
689
|
type: "error",
|
685
690
|
title: "Error occurs when generating submission document",
|
686
|
-
message:
|
691
|
+
message: _(n)
|
687
692
|
});
|
688
693
|
} finally {
|
689
694
|
v && b.close(v);
|
@@ -704,7 +709,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
704
709
|
b.open({
|
705
710
|
type: "error",
|
706
711
|
title: "Error occurs when sending document",
|
707
|
-
message:
|
712
|
+
message: _(n)
|
708
713
|
});
|
709
714
|
}
|
710
715
|
break;
|
@@ -714,9 +719,9 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
714
719
|
var n, U;
|
715
720
|
const w = f("FmCircularProgress"), v = f("FmPageHead");
|
716
721
|
return e(V) ? (y(), q("div", Ee, [
|
717
|
-
|
722
|
+
o(w, { size: "xxl" })
|
718
723
|
])) : (y(), q(z, { key: 1 }, [
|
719
|
-
|
724
|
+
o(v, {
|
720
725
|
title: `Submission - ${(n = m.value) == null ? void 0 : n.type}`,
|
721
726
|
description: `ID - ${(U = m.value) == null ? void 0 : U._id}`,
|
722
727
|
"back-button": !0,
|
@@ -736,7 +741,7 @@ const oe = ["src"], B = /* @__PURE__ */ $({
|
|
736
741
|
}
|
737
742
|
]
|
738
743
|
}, null, 8, ["title", "description"]),
|
739
|
-
|
744
|
+
s("div", Ie, [
|
740
745
|
(y(), j(Z(F.value), {
|
741
746
|
key: a.value,
|
742
747
|
submission: m.value,
|