@feedmepos/mf-payment 1.4.25 → 1.4.27
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-C3FaA4nS.js → Actions.vue_vue_type_script_setup_true_lang-zAszH-r3.js} +2 -2
- package/dist/{Chargeback-BoY4sNPQ.js → Chargeback-JEmRZ6hx.js} +5 -5
- package/dist/{OnboardForm-D6X8LFLw.js → OnboardForm-D1Qw74UP.js} +202 -196
- package/dist/{OnboardForm-9Rb5b4mY.js → OnboardForm-DuxgDu-0.js} +4 -4
- package/dist/{OnboardSubmission-Bnuo32bn.js → OnboardSubmission-BBELFk7w.js} +5 -5
- package/dist/{OnboardSubmission-DaKfRQTC.js → OnboardSubmission-s5vKvUwj.js} +2 -2
- package/dist/{PayoutAccount-UP0shZMn.js → PayoutAccount-C2Im-5FU.js} +5 -5
- package/dist/{PayoutAccount-BwqjoKCd.js → PayoutAccount-CjL1qAks.js} +5 -5
- package/dist/{PayoutAccountSetting-BIIeO_h-.js → PayoutAccountSetting-BpmU8FGs.js} +3 -3
- package/dist/{Restaurant-DcSXFIRF.js → Restaurant-D9M7PHlA.js} +4 -4
- package/dist/{RestaurantSetting-C3yTbo5H.js → RestaurantSetting-CKb_KF5v.js} +3 -3
- package/dist/{Settlement-CyQTaeVj.js → Settlement-CvD9Q522.js} +3 -3
- package/dist/{Settlement-r4llJs77.js → Settlement-DD50OmCm.js} +3 -3
- package/dist/{SettlementTransactions-Cri5jcFr.js → SettlementTransactions-Bdm6r2gK.js} +4 -4
- package/dist/{SettlementTransactions-WlD-PeWg.js → SettlementTransactions-IGbYWQQS.js} +4 -4
- package/dist/{Status.vue_vue_type_script_setup_true_lang-CzsRrsWJ.js → Status.vue_vue_type_script_setup_true_lang-BR--E-L0.js} +1 -1
- package/dist/{Terminal-CAfjZl5r.js → Terminal-Dh7-SYOx.js} +5 -5
- package/dist/{TerminalSetting-CV6uai7K.js → TerminalSetting-ODh-KnL9.js} +3 -3
- package/dist/{Transaction-BG-3FqP7.js → Transaction-B3dYL69B.js} +146 -130
- package/dist/{Transaction-BpjeM2Kl.js → Transaction-a3yfy8Zj.js} +139 -119
- package/dist/{TransactionOld-DXE1fL9I.js → TransactionOld-D1ciU1RQ.js} +6 -6
- package/dist/api/index.d.ts +2 -2
- package/dist/{app-D9VW-nZZ.js → app-DIbDbLeP.js} +23 -23
- package/dist/app.js +1 -1
- package/dist/{assets-BB1p-gT5.js → assets-BVxfu_q2.js} +1 -1
- package/dist/{grafana-Dgr59sIY.js → grafana-DDvZIL19.js} +1 -1
- package/dist/{index-BU2M6dJ6.js → index-BV3uerRE.js} +1 -1
- package/dist/{index-CrUS7DCJ.js → index-BnoTSbLe.js} +1 -1
- package/dist/{index-BGtZVNWb.js → index-CG_mkFJ1.js} +9121 -9318
- package/dist/{index-CAV8HKHv.js → index-CeGG2hCY.js} +1 -1
- package/dist/{index-BFD_JkFY.js → index-Cpy4IBFc.js} +2 -2
- package/dist/{index-Qv0p1ng_.js → index-D-8D8G8R.js} +1 -1
- package/dist/{index-UNw836Co.js → index-D-D10LpW.js} +5 -4
- package/dist/{index-5qlpodLM.js → index-Dy6ZENAg.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-5lM9sOEW.js → index.vue_vue_type_script_setup_true_lang-69bFWx5Y.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-Ax8tPOZ7.js → payout-account-B_Go7Y66.js} +3 -3
- package/dist/{plugins-CdWbUilR.js → plugins-Bxz6OiqC.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +4 -4
- package/dist/views/admin/transaction/cell/BillSeqNumber.vue.d.ts +7 -0
- package/dist/views/transaction/cell/BillSeqNumber.vue.d.ts +7 -0
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as $, ref as P, computed as O, resolveComponent as f, openBlock as y, createElementBlock as
|
|
2
|
-
import { o as
|
|
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 R, createElementVNode as n, toDisplayString as B, Fragment as z, createBlock as T, withCtx as c, createVNode as o, createCommentVNode as j, unref as e, createTextVNode as E, onMounted as X, resolveDynamicComponent as Z } from "vue";
|
|
2
|
+
import { o as _ } from "./index-Cpy4IBFc.js";
|
|
3
|
+
import { u as M } from "./index-CG_mkFJ1.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-B_Go7Y66.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-BR--E-L0.js";
|
|
10
10
|
import { useSnackbar as J } from "@feedmepos/ui-library";
|
|
11
|
-
import { u as
|
|
12
|
-
const oe = ["src"],
|
|
11
|
+
import { u as A } from "./error-K1CakhA9.js";
|
|
12
|
+
const oe = ["src"], I = /* @__PURE__ */ $({
|
|
13
13
|
__name: "UploadButton",
|
|
14
14
|
props: {
|
|
15
15
|
modelValue: {},
|
|
@@ -17,26 +17,26 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
17
17
|
type: {}
|
|
18
18
|
},
|
|
19
19
|
emits: ["update:modelValue"],
|
|
20
|
-
setup(
|
|
21
|
-
const V =
|
|
22
|
-
const
|
|
23
|
-
|
|
20
|
+
setup(x, { emit: U }) {
|
|
21
|
+
const V = x, b = P(V.modelValue), k = U, N = (a) => {
|
|
22
|
+
const s = new FileReader();
|
|
23
|
+
s.onload = (C) => {
|
|
24
24
|
var i;
|
|
25
25
|
b.value = (i = C.target) == null ? void 0 : i.result, k("update:modelValue", a);
|
|
26
|
-
},
|
|
26
|
+
}, s.readAsDataURL(a);
|
|
27
27
|
}, m = () => {
|
|
28
28
|
var a;
|
|
29
29
|
if (b.value) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const s = document.createElement("a");
|
|
31
|
+
s.href = b.value, s.download = `${(a = V.label) == null ? void 0 : a.toLowerCase().replaceAll(" ", "_")}.pdf`, document.body.appendChild(s), s.click(), document.body.removeChild(s);
|
|
32
32
|
}
|
|
33
33
|
}, F = O(() => V.type === "image" ? ".png, .jpg, .jpeg" : ".pdf");
|
|
34
|
-
return (a,
|
|
34
|
+
return (a, s) => {
|
|
35
35
|
const C = f("FmButton"), i = f("FmDialog"), g = f("FmDropField");
|
|
36
|
-
return y(),
|
|
37
|
-
|
|
38
|
-
b.value ? (y(),
|
|
39
|
-
a.type === "pdf" ? (y(),
|
|
36
|
+
return y(), R("div", null, [
|
|
37
|
+
n("p", null, B(a.label), 1),
|
|
38
|
+
b.value ? (y(), R(z, { key: 0 }, [
|
|
39
|
+
a.type === "pdf" ? (y(), T(i, {
|
|
40
40
|
key: 0,
|
|
41
41
|
"max-width": 800,
|
|
42
42
|
"max-height": 800
|
|
@@ -48,8 +48,8 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
48
48
|
label: "Preview"
|
|
49
49
|
})
|
|
50
50
|
]),
|
|
51
|
-
"dialog-header": c(() =>
|
|
52
|
-
|
|
51
|
+
"dialog-header": c(() => s[0] || (s[0] = [
|
|
52
|
+
n("div", null, "Document Preview", -1)
|
|
53
53
|
])),
|
|
54
54
|
default: c(() => [
|
|
55
55
|
o(le, {
|
|
@@ -66,20 +66,20 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
66
66
|
})
|
|
67
67
|
]),
|
|
68
68
|
_: 1
|
|
69
|
-
})) :
|
|
70
|
-
a.type === "image" ? (y(),
|
|
69
|
+
})) : j("", !0),
|
|
70
|
+
a.type === "image" ? (y(), R("img", {
|
|
71
71
|
key: 1,
|
|
72
72
|
src: b.value
|
|
73
|
-
}, null, 8, oe)) :
|
|
74
|
-
], 64)) : (y(),
|
|
73
|
+
}, null, 8, oe)) : j("", !0)
|
|
74
|
+
], 64)) : (y(), T(g, {
|
|
75
75
|
key: 1,
|
|
76
76
|
accept: F.value,
|
|
77
|
-
onFileUpload:
|
|
77
|
+
onFileUpload: N
|
|
78
78
|
}, null, 8, ["accept"]))
|
|
79
79
|
]);
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
}),
|
|
82
|
+
}), ne = ["src"], se = {
|
|
83
83
|
key: 0,
|
|
84
84
|
class: "text-center text-red-700 py-4"
|
|
85
85
|
}, re = { class: "flex justify-evenly py-3" }, ie = /* @__PURE__ */ $({
|
|
@@ -89,33 +89,33 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
89
89
|
label: {}
|
|
90
90
|
},
|
|
91
91
|
emits: ["update:modelValue"],
|
|
92
|
-
setup(
|
|
93
|
-
const V =
|
|
92
|
+
setup(x, { emit: U }) {
|
|
93
|
+
const V = x, b = U, k = P(V.modelValue), N = P(!1), m = P(), F = P(!1);
|
|
94
94
|
function a(C, i) {
|
|
95
|
-
var
|
|
96
|
-
const g = C.split(","),
|
|
97
|
-
let
|
|
98
|
-
const
|
|
99
|
-
for (;
|
|
100
|
-
|
|
101
|
-
return new File([
|
|
95
|
+
var D;
|
|
96
|
+
const g = C.split(","), q = ((D = g[0].match(/:(.*?);/)) == null ? void 0 : D[1]) || "", v = atob(g[1]);
|
|
97
|
+
let r = v.length;
|
|
98
|
+
const w = new Uint8Array(r);
|
|
99
|
+
for (; r--; )
|
|
100
|
+
w[r] = v.charCodeAt(r);
|
|
101
|
+
return new File([w], i, { type: q });
|
|
102
102
|
}
|
|
103
|
-
const
|
|
103
|
+
const s = function() {
|
|
104
104
|
const { isEmpty: C, data: i } = m.value.saveSignature();
|
|
105
105
|
if (C)
|
|
106
|
-
return
|
|
106
|
+
return N.value = !0;
|
|
107
107
|
k.value = i, F.value = !1, b("update:modelValue", a(i, "signature.png"));
|
|
108
108
|
};
|
|
109
109
|
return (C, i) => {
|
|
110
|
-
const g = f("FmButton"),
|
|
111
|
-
return y(),
|
|
112
|
-
k.value ? (y(),
|
|
110
|
+
const g = f("FmButton"), q = f("FmDialog");
|
|
111
|
+
return y(), R("div", null, [
|
|
112
|
+
k.value ? (y(), R("img", {
|
|
113
113
|
key: 0,
|
|
114
114
|
src: k.value,
|
|
115
115
|
alt: "Signature Preview",
|
|
116
116
|
class: "w-full h-auto"
|
|
117
|
-
}, null, 8,
|
|
118
|
-
k.value ?
|
|
117
|
+
}, null, 8, ne)) : j("", !0),
|
|
118
|
+
k.value ? j("", !0) : (y(), T(q, {
|
|
119
119
|
key: 1,
|
|
120
120
|
modelValue: F.value,
|
|
121
121
|
"onUpdate:modelValue": i[1] || (i[1] = (v) => F.value = v)
|
|
@@ -128,7 +128,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
128
128
|
})
|
|
129
129
|
]),
|
|
130
130
|
"dialog-header": c(() => i[2] || (i[2] = [
|
|
131
|
-
|
|
131
|
+
n("div", null, "Signature Board", -1)
|
|
132
132
|
])),
|
|
133
133
|
default: c(() => [
|
|
134
134
|
o(e(te), {
|
|
@@ -138,8 +138,8 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
138
138
|
customStyle: { border: "2px solid #ccc", borderRadius: "3px" },
|
|
139
139
|
options: { penColor: "#000000" }
|
|
140
140
|
}, null, 512),
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
N.value ? (y(), R("p", se, " Please sign your signature before saving. ")) : j("", !0),
|
|
142
|
+
n("div", re, [
|
|
143
143
|
o(g, {
|
|
144
144
|
variant: "destructive",
|
|
145
145
|
label: "Clear",
|
|
@@ -149,7 +149,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
149
149
|
o(g, {
|
|
150
150
|
label: "Save",
|
|
151
151
|
"prepend-icon": "save",
|
|
152
|
-
onClick:
|
|
152
|
+
onClick: s
|
|
153
153
|
})
|
|
154
154
|
])
|
|
155
155
|
]),
|
|
@@ -158,7 +158,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
158
158
|
]);
|
|
159
159
|
};
|
|
160
160
|
}
|
|
161
|
-
}), ue = { class: "space-y-2" }, de = { class: "text-gray-900" }, me = { class: "text-gray-900" }, pe = { class: "text-gray-900" }, be = { class: "text-gray-900" }, ce = { class: "text-gray-900" }, ge = { class: "text-gray-900" },
|
|
161
|
+
}), ue = { class: "space-y-2" }, de = { class: "text-gray-900" }, me = { class: "text-gray-900" }, pe = { class: "text-gray-900" }, be = { class: "text-gray-900" }, ce = { class: "text-gray-900" }, ge = { class: "text-gray-900" }, ye = { class: "mt-6 grid grid-cols-4 gap-24" }, ve = { class: "w-full flex justify-end mt-6" }, fe = { class: "mt-6 grid grid-cols-4 gap-24" }, Ve = { class: "col-span-2" }, ke = { class: "col-span-2" }, Ce = { class: "col-span-2" }, Ne = { class: "col-span-2" }, Se = { class: "col-span-2" }, we = { class: "col-span-2" }, Fe = { class: "col-start-1 col-span-2" }, Pe = { class: "col-span-2" }, qe = { class: "col-span-2" }, Re = { class: "col-span-2" }, xe = { class: "mt-6 grid grid-cols-4 gap-24" }, Ue = { class: "mt-6 grid grid-cols-2 gap-24" }, De = /* @__PURE__ */ $({
|
|
162
162
|
__name: "SoftspaceSubmission",
|
|
163
163
|
props: {
|
|
164
164
|
submission: {
|
|
@@ -167,8 +167,8 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
emits: ["update:submission"],
|
|
170
|
-
setup(
|
|
171
|
-
const V =
|
|
170
|
+
setup(x, { emit: U }) {
|
|
171
|
+
const V = x, b = U, k = J(), N = P(!1), { isLoading: m, startAsyncCall: F } = M(), { fields: a, documents: s, restaurantId: C, profile: i, status: g, statusReason: q } = V.submission, v = P(""), r = P(V.submission.rates ? Object.fromEntries(Object.entries(V.submission.rates).map(([S, l]) => [S, `${l}`])) : {
|
|
172
172
|
duitNow: "0.8",
|
|
173
173
|
mydebitCard: "0.5",
|
|
174
174
|
localDebit: "0.5",
|
|
@@ -176,87 +176,87 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
176
176
|
foreignCard: "3.2",
|
|
177
177
|
jcbStandard: "2.2",
|
|
178
178
|
jcbPlatinum: "2.2"
|
|
179
|
-
}),
|
|
180
|
-
() => Object.values(
|
|
181
|
-
),
|
|
179
|
+
}), w = O(
|
|
180
|
+
() => Object.values(r.value).every((S) => parseFloat(S) > 0)
|
|
181
|
+
), D = () => F(async () => {
|
|
182
182
|
try {
|
|
183
|
-
const
|
|
183
|
+
const S = await _.reviewById(V.submission._id, {
|
|
184
184
|
rates: {
|
|
185
|
-
duitNow: parseFloat(
|
|
186
|
-
mydebitCard: parseFloat(
|
|
187
|
-
localDebit: parseFloat(
|
|
188
|
-
localCredit: parseFloat(
|
|
189
|
-
foreignCard: parseFloat(
|
|
190
|
-
jcbStandard: parseFloat(
|
|
191
|
-
jcbPlatinum: parseFloat(
|
|
185
|
+
duitNow: parseFloat(r.value.duitNow),
|
|
186
|
+
mydebitCard: parseFloat(r.value.mydebitCard),
|
|
187
|
+
localDebit: parseFloat(r.value.localDebit),
|
|
188
|
+
localCredit: parseFloat(r.value.localCredit),
|
|
189
|
+
foreignCard: parseFloat(r.value.foreignCard),
|
|
190
|
+
jcbStandard: parseFloat(r.value.jcbStandard),
|
|
191
|
+
jcbPlatinum: parseFloat(r.value.jcbPlatinum)
|
|
192
192
|
},
|
|
193
193
|
status: "approved"
|
|
194
194
|
});
|
|
195
|
-
b("update:submission",
|
|
195
|
+
b("update:submission", S), N.value = !1, k.open({
|
|
196
196
|
type: "success",
|
|
197
197
|
title: "Submission updated successfully"
|
|
198
198
|
});
|
|
199
|
-
} catch (
|
|
199
|
+
} catch (S) {
|
|
200
200
|
k.open({
|
|
201
201
|
type: "error",
|
|
202
202
|
title: "Error occurs when updating submission",
|
|
203
|
-
message:
|
|
203
|
+
message: A(S)
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
206
|
}), G = () => F(async () => {
|
|
207
207
|
try {
|
|
208
|
-
const
|
|
208
|
+
const S = await _.reviewById(V.submission._id, {
|
|
209
209
|
status: "rejected",
|
|
210
210
|
statusReason: v.value
|
|
211
211
|
});
|
|
212
|
-
b("update:submission",
|
|
212
|
+
b("update:submission", S), N.value = !1, k.open({
|
|
213
213
|
type: "success",
|
|
214
214
|
title: "Submission updated successfully"
|
|
215
215
|
});
|
|
216
|
-
} catch (
|
|
216
|
+
} catch (S) {
|
|
217
217
|
k.open({
|
|
218
218
|
type: "error",
|
|
219
219
|
title: "Error occurs when updating submission",
|
|
220
|
-
message:
|
|
220
|
+
message: A(S)
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
|
-
return (
|
|
224
|
+
return (S, 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
|
-
return y(),
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
l[33] || (l[33] =
|
|
230
|
-
|
|
226
|
+
return y(), R(z, null, [
|
|
227
|
+
n("div", ue, [
|
|
228
|
+
n("div", null, [
|
|
229
|
+
l[33] || (l[33] = n("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
|
|
230
|
+
n("span", de, B(e(C)), 1)
|
|
231
231
|
]),
|
|
232
|
-
|
|
233
|
-
l[34] || (l[34] =
|
|
234
|
-
|
|
232
|
+
n("div", null, [
|
|
233
|
+
l[34] || (l[34] = n("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
|
|
234
|
+
n("span", me, B(e(i).name) + " ( " + B(e(i).legalName) + " )", 1)
|
|
235
235
|
]),
|
|
236
|
-
|
|
237
|
-
l[35] || (l[35] =
|
|
238
|
-
|
|
236
|
+
n("div", null, [
|
|
237
|
+
l[35] || (l[35] = n("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
|
|
238
|
+
n("span", pe, B(e(i).email), 1)
|
|
239
239
|
]),
|
|
240
|
-
|
|
241
|
-
l[36] || (l[36] =
|
|
242
|
-
|
|
240
|
+
n("div", null, [
|
|
241
|
+
l[36] || (l[36] = n("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
|
|
242
|
+
n("span", be, B(e(i).phoneNo), 1)
|
|
243
243
|
]),
|
|
244
|
-
|
|
245
|
-
l[37] || (l[37] =
|
|
246
|
-
|
|
244
|
+
n("div", null, [
|
|
245
|
+
l[37] || (l[37] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
|
|
246
|
+
n("span", ce, [
|
|
247
247
|
o(ae, { data: e(g) }, null, 8, ["data"])
|
|
248
248
|
])
|
|
249
249
|
]),
|
|
250
|
-
|
|
251
|
-
l[38] || (l[38] =
|
|
252
|
-
|
|
250
|
+
n("div", null, [
|
|
251
|
+
l[38] || (l[38] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
|
|
252
|
+
n("span", ge, B(e(q)), 1)
|
|
253
253
|
])
|
|
254
254
|
]),
|
|
255
|
-
l[50] || (l[50] =
|
|
256
|
-
|
|
255
|
+
l[50] || (l[50] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Rate Settings ", -1)),
|
|
256
|
+
n("div", ye, [
|
|
257
257
|
o(p, {
|
|
258
|
-
modelValue:
|
|
259
|
-
"onUpdate:modelValue": l[0] || (l[0] = (t) =>
|
|
258
|
+
modelValue: r.value.duitNow,
|
|
259
|
+
"onUpdate:modelValue": l[0] || (l[0] = (t) => r.value.duitNow = t),
|
|
260
260
|
label: "DuitNow QR",
|
|
261
261
|
"label-mark": "required",
|
|
262
262
|
type: "number",
|
|
@@ -267,13 +267,13 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
267
267
|
)
|
|
268
268
|
}, {
|
|
269
269
|
append: c(() => l[39] || (l[39] = [
|
|
270
|
-
|
|
270
|
+
E("%")
|
|
271
271
|
])),
|
|
272
272
|
_: 1
|
|
273
273
|
}, 8, ["modelValue", "rules"]),
|
|
274
274
|
o(p, {
|
|
275
|
-
modelValue:
|
|
276
|
-
"onUpdate:modelValue": l[1] || (l[1] = (t) =>
|
|
275
|
+
modelValue: r.value.mydebitCard,
|
|
276
|
+
"onUpdate:modelValue": l[1] || (l[1] = (t) => r.value.mydebitCard = t),
|
|
277
277
|
label: "myDebit Card",
|
|
278
278
|
"label-mark": "required",
|
|
279
279
|
type: "number",
|
|
@@ -284,13 +284,13 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
284
284
|
)
|
|
285
285
|
}, {
|
|
286
286
|
append: c(() => l[40] || (l[40] = [
|
|
287
|
-
|
|
287
|
+
E("%")
|
|
288
288
|
])),
|
|
289
289
|
_: 1
|
|
290
290
|
}, 8, ["modelValue", "rules"]),
|
|
291
291
|
o(p, {
|
|
292
|
-
modelValue:
|
|
293
|
-
"onUpdate:modelValue": l[2] || (l[2] = (t) =>
|
|
292
|
+
modelValue: r.value.localDebit,
|
|
293
|
+
"onUpdate:modelValue": l[2] || (l[2] = (t) => r.value.localDebit = t),
|
|
294
294
|
label: "Local Debit Card",
|
|
295
295
|
"label-mark": "required",
|
|
296
296
|
type: "number",
|
|
@@ -301,13 +301,13 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
301
301
|
)
|
|
302
302
|
}, {
|
|
303
303
|
append: c(() => l[41] || (l[41] = [
|
|
304
|
-
|
|
304
|
+
E("%")
|
|
305
305
|
])),
|
|
306
306
|
_: 1
|
|
307
307
|
}, 8, ["modelValue", "rules"]),
|
|
308
308
|
o(p, {
|
|
309
|
-
modelValue:
|
|
310
|
-
"onUpdate:modelValue": l[3] || (l[3] = (t) =>
|
|
309
|
+
modelValue: r.value.localCredit,
|
|
310
|
+
"onUpdate:modelValue": l[3] || (l[3] = (t) => r.value.localCredit = t),
|
|
311
311
|
label: "Local Credit Card",
|
|
312
312
|
"label-mark": "required",
|
|
313
313
|
type: "number",
|
|
@@ -318,13 +318,13 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
318
318
|
)
|
|
319
319
|
}, {
|
|
320
320
|
append: c(() => l[42] || (l[42] = [
|
|
321
|
-
|
|
321
|
+
E("%")
|
|
322
322
|
])),
|
|
323
323
|
_: 1
|
|
324
324
|
}, 8, ["modelValue", "rules"]),
|
|
325
325
|
o(p, {
|
|
326
|
-
modelValue:
|
|
327
|
-
"onUpdate:modelValue": l[4] || (l[4] = (t) =>
|
|
326
|
+
modelValue: r.value.foreignCard,
|
|
327
|
+
"onUpdate:modelValue": l[4] || (l[4] = (t) => r.value.foreignCard = t),
|
|
328
328
|
label: "Foreign Card",
|
|
329
329
|
"label-mark": "required",
|
|
330
330
|
type: "number",
|
|
@@ -335,13 +335,13 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
335
335
|
)
|
|
336
336
|
}, {
|
|
337
337
|
append: c(() => l[43] || (l[43] = [
|
|
338
|
-
|
|
338
|
+
E("%")
|
|
339
339
|
])),
|
|
340
340
|
_: 1
|
|
341
341
|
}, 8, ["modelValue", "rules"]),
|
|
342
342
|
o(p, {
|
|
343
|
-
modelValue:
|
|
344
|
-
"onUpdate:modelValue": l[5] || (l[5] = (t) =>
|
|
343
|
+
modelValue: r.value.jcbStandard,
|
|
344
|
+
"onUpdate:modelValue": l[5] || (l[5] = (t) => r.value.jcbStandard = t),
|
|
345
345
|
label: "JCB Standard",
|
|
346
346
|
"label-mark": "required",
|
|
347
347
|
type: "number",
|
|
@@ -352,13 +352,13 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
352
352
|
)
|
|
353
353
|
}, {
|
|
354
354
|
append: c(() => l[44] || (l[44] = [
|
|
355
|
-
|
|
355
|
+
E("%")
|
|
356
356
|
])),
|
|
357
357
|
_: 1
|
|
358
358
|
}, 8, ["modelValue", "rules"]),
|
|
359
359
|
o(p, {
|
|
360
|
-
modelValue:
|
|
361
|
-
"onUpdate:modelValue": l[6] || (l[6] = (t) =>
|
|
360
|
+
modelValue: r.value.jcbPlatinum,
|
|
361
|
+
"onUpdate:modelValue": l[6] || (l[6] = (t) => r.value.jcbPlatinum = t),
|
|
362
362
|
label: "JCB Platinum",
|
|
363
363
|
"label-mark": "required",
|
|
364
364
|
type: "number",
|
|
@@ -369,15 +369,15 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
369
369
|
)
|
|
370
370
|
}, {
|
|
371
371
|
append: c(() => l[45] || (l[45] = [
|
|
372
|
-
|
|
372
|
+
E("%")
|
|
373
373
|
])),
|
|
374
374
|
_: 1
|
|
375
375
|
}, 8, ["modelValue", "rules"])
|
|
376
376
|
]),
|
|
377
|
-
|
|
377
|
+
n("div", ve, [
|
|
378
378
|
o(Q, {
|
|
379
|
-
modelValue:
|
|
380
|
-
"onUpdate:modelValue": l[8] || (l[8] = (t) =>
|
|
379
|
+
modelValue: N.value,
|
|
380
|
+
"onUpdate:modelValue": l[8] || (l[8] = (t) => N.value = t)
|
|
381
381
|
}, {
|
|
382
382
|
"dialog-button": c(() => [
|
|
383
383
|
o(L, {
|
|
@@ -390,7 +390,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
390
390
|
}, null, 8, ["loading"])
|
|
391
391
|
]),
|
|
392
392
|
"dialog-header": c(() => l[46] || (l[46] = [
|
|
393
|
-
|
|
393
|
+
n("div", null, "Rejecting Submission", -1)
|
|
394
394
|
])),
|
|
395
395
|
default: c(() => [
|
|
396
396
|
o(K, {
|
|
@@ -414,17 +414,17 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
414
414
|
type: "button",
|
|
415
415
|
variant: "primary",
|
|
416
416
|
"prepend-icon": "approval",
|
|
417
|
-
disabled: !
|
|
417
|
+
disabled: !w.value,
|
|
418
418
|
label: "Approve Submission with Rates",
|
|
419
|
-
onClick:
|
|
419
|
+
onClick: D,
|
|
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[47] || (l[47] =
|
|
426
|
-
|
|
427
|
-
|
|
425
|
+
l[47] || (l[47] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Outlet Information ", -1)),
|
|
426
|
+
n("div", fe, [
|
|
427
|
+
n("div", Ve, [
|
|
428
428
|
o(p, {
|
|
429
429
|
modelValue: e(a).picName,
|
|
430
430
|
"onUpdate:modelValue": l[9] || (l[9] = (t) => e(a).picName = t),
|
|
@@ -434,7 +434,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
434
434
|
rules: e(u)(e(d).string().min(1, "PIC Name is required"))
|
|
435
435
|
}, null, 8, ["modelValue", "rules"])
|
|
436
436
|
]),
|
|
437
|
-
|
|
437
|
+
n("div", ke, [
|
|
438
438
|
o(p, {
|
|
439
439
|
modelValue: e(a).picRole,
|
|
440
440
|
"onUpdate:modelValue": l[10] || (l[10] = (t) => e(a).picRole = t),
|
|
@@ -444,7 +444,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
444
444
|
rules: e(u)(e(d).string().min(1, "PIC Role is required"))
|
|
445
445
|
}, null, 8, ["modelValue", "rules"])
|
|
446
446
|
]),
|
|
447
|
-
|
|
447
|
+
n("div", Ce, [
|
|
448
448
|
o(p, {
|
|
449
449
|
modelValue: e(a).picEmail,
|
|
450
450
|
"onUpdate:modelValue": l[11] || (l[11] = (t) => e(a).picEmail = t),
|
|
@@ -455,7 +455,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
455
455
|
rules: e(u)(e(d).string().min(1, "PIC Email is required"))
|
|
456
456
|
}, null, 8, ["modelValue", "rules"])
|
|
457
457
|
]),
|
|
458
|
-
|
|
458
|
+
n("div", Ne, [
|
|
459
459
|
o(Y, {
|
|
460
460
|
"model-value": e(a).picContact,
|
|
461
461
|
"onUpdate:modelValue": l[12] || (l[12] = (t) => e(a).picContact = t),
|
|
@@ -465,7 +465,7 @@ const oe = ["src"], E = /* @__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
|
-
|
|
468
|
+
n("div", Se, [
|
|
469
469
|
o(p, {
|
|
470
470
|
modelValue: e(a).outletName,
|
|
471
471
|
"onUpdate:modelValue": l[13] || (l[13] = (t) => e(a).outletName = t),
|
|
@@ -475,7 +475,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
475
475
|
rules: e(u)(e(d).string().min(1, "Outlet Name is required"))
|
|
476
476
|
}, null, 8, ["modelValue", "rules"])
|
|
477
477
|
]),
|
|
478
|
-
|
|
478
|
+
n("div", we, [
|
|
479
479
|
o(p, {
|
|
480
480
|
modelValue: e(a).outletAddress,
|
|
481
481
|
"onUpdate:modelValue": l[14] || (l[14] = (t) => e(a).outletAddress = t),
|
|
@@ -509,7 +509,7 @@ const oe = ["src"], E = /* @__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
|
-
|
|
512
|
+
n("div", Fe, [
|
|
513
513
|
o(H, {
|
|
514
514
|
modelValue: e(a).businessType,
|
|
515
515
|
"onUpdate:modelValue": l[18] || (l[18] = (t) => e(a).businessType = t),
|
|
@@ -525,7 +525,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
525
525
|
]
|
|
526
526
|
}, null, 8, ["modelValue", "rules"])
|
|
527
527
|
]),
|
|
528
|
-
|
|
528
|
+
n("div", Pe, [
|
|
529
529
|
o(p, {
|
|
530
530
|
modelValue: e(a).businessRegNo,
|
|
531
531
|
"onUpdate:modelValue": l[19] || (l[19] = (t) => e(a).businessRegNo = t),
|
|
@@ -535,7 +535,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
535
535
|
rules: e(u)(e(d).string().min(1, "Reg No is required"))
|
|
536
536
|
}, null, 8, ["modelValue", "rules"])
|
|
537
537
|
]),
|
|
538
|
-
|
|
538
|
+
n("div", qe, [
|
|
539
539
|
o(p, {
|
|
540
540
|
modelValue: e(a).tinNo,
|
|
541
541
|
"onUpdate:modelValue": l[20] || (l[20] = (t) => e(a).tinNo = t),
|
|
@@ -545,7 +545,7 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
545
545
|
rules: e(u)(e(d).string().min(1, "TIN is required"))
|
|
546
546
|
}, null, 8, ["modelValue", "rules"])
|
|
547
547
|
]),
|
|
548
|
-
|
|
548
|
+
n("div", Re, [
|
|
549
549
|
o(p, {
|
|
550
550
|
modelValue: e(a).sstNo,
|
|
551
551
|
"onUpdate:modelValue": l[21] || (l[21] = (t) => e(a).sstNo = t),
|
|
@@ -555,8 +555,8 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
555
555
|
}, null, 8, ["modelValue"])
|
|
556
556
|
])
|
|
557
557
|
]),
|
|
558
|
-
l[48] || (l[48] =
|
|
559
|
-
|
|
558
|
+
l[48] || (l[48] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Payout Information & Documents ", -1)),
|
|
559
|
+
n("div", xe, [
|
|
560
560
|
o(H, {
|
|
561
561
|
modelValue: e(a).bankName,
|
|
562
562
|
"onUpdate:modelValue": l[22] || (l[22] = (t) => e(a).bankName = t),
|
|
@@ -582,57 +582,57 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
582
582
|
"label-mark": "required",
|
|
583
583
|
rules: e(u)(e(d).string().min(1, "Account Number is required"))
|
|
584
584
|
}, null, 8, ["modelValue", "rules"]),
|
|
585
|
-
o(
|
|
585
|
+
o(I, {
|
|
586
586
|
label: "Authorized Person ID",
|
|
587
|
-
modelValue: e(
|
|
588
|
-
"onUpdate:modelValue": l[25] || (l[25] = (t) => e(
|
|
587
|
+
modelValue: e(s).authorizedPersonID,
|
|
588
|
+
"onUpdate:modelValue": l[25] || (l[25] = (t) => e(s).authorizedPersonID = t),
|
|
589
589
|
type: "image"
|
|
590
590
|
}, null, 8, ["modelValue"]),
|
|
591
|
-
o(
|
|
591
|
+
o(I, {
|
|
592
592
|
label: "Outlet Photo",
|
|
593
|
-
modelValue: e(
|
|
594
|
-
"onUpdate:modelValue": l[26] || (l[26] = (t) => e(
|
|
593
|
+
modelValue: e(s).outletPhoto,
|
|
594
|
+
"onUpdate:modelValue": l[26] || (l[26] = (t) => e(s).outletPhoto = t),
|
|
595
595
|
type: "image"
|
|
596
596
|
}, null, 8, ["modelValue"]),
|
|
597
|
-
o(
|
|
597
|
+
o(I, {
|
|
598
598
|
label: "Interior Photo",
|
|
599
|
-
modelValue: e(
|
|
600
|
-
"onUpdate:modelValue": l[27] || (l[27] = (t) => e(
|
|
599
|
+
modelValue: e(s).interiorPhoto,
|
|
600
|
+
"onUpdate:modelValue": l[27] || (l[27] = (t) => e(s).interiorPhoto = t),
|
|
601
601
|
type: "image"
|
|
602
602
|
}, null, 8, ["modelValue"]),
|
|
603
|
-
o(
|
|
603
|
+
o(I, {
|
|
604
604
|
label: "Latest Bank Statement",
|
|
605
|
-
modelValue: e(
|
|
606
|
-
"onUpdate:modelValue": l[28] || (l[28] = (t) => e(
|
|
605
|
+
modelValue: e(s).bankStatement,
|
|
606
|
+
"onUpdate:modelValue": l[28] || (l[28] = (t) => e(s).bankStatement = t),
|
|
607
607
|
type: "pdf"
|
|
608
608
|
}, null, 8, ["modelValue"]),
|
|
609
|
-
e(a).businessType === "private_limited" || e(a).businessType === "public_limited" ? (y(),
|
|
609
|
+
e(a).businessType === "private_limited" || e(a).businessType === "public_limited" ? (y(), T(I, {
|
|
610
610
|
key: 0,
|
|
611
611
|
label: "Superform",
|
|
612
612
|
type: "pdf",
|
|
613
|
-
modelValue: e(
|
|
614
|
-
"onUpdate:modelValue": l[29] || (l[29] = (t) => e(
|
|
615
|
-
}, null, 8, ["modelValue"])) :
|
|
616
|
-
e(a).businessType === "sole_proprietorship" || e(a).businessType === "partnership" ? (y(),
|
|
613
|
+
modelValue: e(s).certificate,
|
|
614
|
+
"onUpdate:modelValue": l[29] || (l[29] = (t) => e(s).certificate = t)
|
|
615
|
+
}, null, 8, ["modelValue"])) : j("", !0),
|
|
616
|
+
e(a).businessType === "sole_proprietorship" || e(a).businessType === "partnership" ? (y(), T(I, {
|
|
617
617
|
key: 1,
|
|
618
618
|
label: "SSM Certificate & Info",
|
|
619
619
|
type: "pdf",
|
|
620
|
-
modelValue: e(
|
|
621
|
-
"onUpdate:modelValue": l[30] || (l[30] = (t) => e(
|
|
622
|
-
}, null, 8, ["modelValue"])) :
|
|
620
|
+
modelValue: e(s).certificate,
|
|
621
|
+
"onUpdate:modelValue": l[30] || (l[30] = (t) => e(s).certificate = t)
|
|
622
|
+
}, null, 8, ["modelValue"])) : j("", !0)
|
|
623
623
|
]),
|
|
624
|
-
l[49] || (l[49] =
|
|
625
|
-
|
|
624
|
+
l[49] || (l[49] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Declaration Information ", -1)),
|
|
625
|
+
n("div", Ue, [
|
|
626
626
|
o(ie, {
|
|
627
|
-
modelValue: e(
|
|
628
|
-
"onUpdate:modelValue": l[31] || (l[31] = (t) => e(
|
|
627
|
+
modelValue: e(s).signature,
|
|
628
|
+
"onUpdate:modelValue": l[31] || (l[31] = (t) => e(s).signature = t),
|
|
629
629
|
label: "Signature"
|
|
630
630
|
}, null, 8, ["modelValue"]),
|
|
631
|
-
o(
|
|
631
|
+
o(I, {
|
|
632
632
|
label: "Company Stamp",
|
|
633
633
|
type: "image",
|
|
634
|
-
modelValue: e(
|
|
635
|
-
"onUpdate:modelValue": l[32] || (l[32] = (t) => e(
|
|
634
|
+
modelValue: e(s).companyStamp,
|
|
635
|
+
"onUpdate:modelValue": l[32] || (l[32] = (t) => e(s).companyStamp = t)
|
|
636
636
|
}, null, 8, ["modelValue"])
|
|
637
637
|
])
|
|
638
638
|
]),
|
|
@@ -652,14 +652,20 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
652
652
|
required: !0
|
|
653
653
|
}
|
|
654
654
|
},
|
|
655
|
-
setup(
|
|
656
|
-
const { startAsyncCall:
|
|
655
|
+
setup(x) {
|
|
656
|
+
const { startAsyncCall: U, isLoading: V } = M(), b = J(), k = x, N = h(), m = P(null), F = () => {
|
|
657
|
+
if (window.history.length > 1) {
|
|
658
|
+
N.back();
|
|
659
|
+
return;
|
|
660
|
+
}
|
|
661
|
+
N.push({ name: "mf-payment-admin.onboard-submission" });
|
|
662
|
+
};
|
|
657
663
|
X(() => {
|
|
658
|
-
|
|
659
|
-
m.value = await
|
|
664
|
+
U(async () => {
|
|
665
|
+
m.value = await _.readById(k.submissionId);
|
|
660
666
|
});
|
|
661
667
|
});
|
|
662
|
-
const
|
|
668
|
+
const a = O(() => {
|
|
663
669
|
if (!m.value) return null;
|
|
664
670
|
switch (m.value.type) {
|
|
665
671
|
case "softspace":
|
|
@@ -667,31 +673,31 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
667
673
|
default:
|
|
668
674
|
return null;
|
|
669
675
|
}
|
|
670
|
-
}),
|
|
671
|
-
function
|
|
672
|
-
m.value =
|
|
676
|
+
}), s = P(0);
|
|
677
|
+
function C(g) {
|
|
678
|
+
m.value = g, s.value = Date.now();
|
|
673
679
|
}
|
|
674
|
-
const
|
|
675
|
-
var
|
|
680
|
+
const i = async (g) => {
|
|
681
|
+
var q, v;
|
|
676
682
|
if (m.value)
|
|
677
|
-
switch (
|
|
683
|
+
switch (g) {
|
|
678
684
|
case "preview":
|
|
679
|
-
let
|
|
685
|
+
let r;
|
|
680
686
|
try {
|
|
681
|
-
|
|
687
|
+
r = b.open({
|
|
682
688
|
message: "Generating preview document...",
|
|
683
689
|
type: "info"
|
|
684
|
-
}), await
|
|
685
|
-
(
|
|
690
|
+
}), await _.previewDocument(
|
|
691
|
+
(q = m.value) == null ? void 0 : q._id
|
|
686
692
|
);
|
|
687
|
-
} catch (
|
|
693
|
+
} catch (w) {
|
|
688
694
|
b.open({
|
|
689
695
|
type: "error",
|
|
690
696
|
title: "Error occurs when generating submission document",
|
|
691
|
-
message:
|
|
697
|
+
message: A(w)
|
|
692
698
|
});
|
|
693
699
|
} finally {
|
|
694
|
-
|
|
700
|
+
r && b.close(r);
|
|
695
701
|
}
|
|
696
702
|
break;
|
|
697
703
|
case "send":
|
|
@@ -699,34 +705,34 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
699
705
|
b.open({
|
|
700
706
|
message: "Sending onboarding document...",
|
|
701
707
|
type: "info"
|
|
702
|
-
}), await
|
|
703
|
-
(
|
|
708
|
+
}), await _.sendDocument(
|
|
709
|
+
(v = m.value) == null ? void 0 : v._id
|
|
704
710
|
), b.open({
|
|
705
711
|
type: "success",
|
|
706
712
|
title: "Submission documents send successfully"
|
|
707
713
|
});
|
|
708
|
-
} catch (
|
|
714
|
+
} catch (w) {
|
|
709
715
|
b.open({
|
|
710
716
|
type: "error",
|
|
711
717
|
title: "Error occurs when sending document",
|
|
712
|
-
message:
|
|
718
|
+
message: A(w)
|
|
713
719
|
});
|
|
714
720
|
}
|
|
715
721
|
break;
|
|
716
722
|
}
|
|
717
723
|
};
|
|
718
|
-
return (
|
|
719
|
-
var
|
|
720
|
-
const
|
|
721
|
-
return e(V) ? (y(),
|
|
722
|
-
o(
|
|
723
|
-
])) : (y(),
|
|
724
|
-
o(
|
|
725
|
-
title: `Submission - ${(
|
|
726
|
-
description: `ID - ${(
|
|
724
|
+
return (g, q) => {
|
|
725
|
+
var w, D;
|
|
726
|
+
const v = f("FmCircularProgress"), r = f("FmPageHead");
|
|
727
|
+
return e(V) ? (y(), R("div", Ee, [
|
|
728
|
+
o(v, { size: "xxl" })
|
|
729
|
+
])) : (y(), R(z, { key: 1 }, [
|
|
730
|
+
o(r, {
|
|
731
|
+
title: `Submission - ${(w = m.value) == null ? void 0 : w.type}`,
|
|
732
|
+
description: `ID - ${(D = m.value) == null ? void 0 : D._id}`,
|
|
727
733
|
"back-button": !0,
|
|
728
|
-
"onClick:back":
|
|
729
|
-
"onClick:action":
|
|
734
|
+
"onClick:back": F,
|
|
735
|
+
"onClick:action": i,
|
|
730
736
|
actions: [
|
|
731
737
|
{
|
|
732
738
|
label: "Preview Document",
|
|
@@ -741,11 +747,11 @@ const oe = ["src"], E = /* @__PURE__ */ $({
|
|
|
741
747
|
}
|
|
742
748
|
]
|
|
743
749
|
}, null, 8, ["title", "description"]),
|
|
744
|
-
|
|
745
|
-
(y(),
|
|
746
|
-
key:
|
|
750
|
+
n("div", Ie, [
|
|
751
|
+
(y(), T(Z(a.value), {
|
|
752
|
+
key: s.value,
|
|
747
753
|
submission: m.value,
|
|
748
|
-
"onUpdate:submission":
|
|
754
|
+
"onUpdate:submission": C
|
|
749
755
|
}, null, 40, ["submission"]))
|
|
750
756
|
])
|
|
751
757
|
], 64));
|