@feedmepos/mf-payment 1.7.1 → 1.7.4-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-CRNNEhdb.js → Actions.vue_vue_type_script_setup_true_lang-B5sqVL7d.js} +1 -1
- package/dist/AdminBusinessSelector.vue_vue_type_script_setup_true_lang-B2sVLkI5.js +140 -0
- package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-DjiSltH9.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-D_hGHpb0.js} +2 -2
- package/dist/{Chargeback-CLmIb_z0.js → Chargeback-CtYYjuEB.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-Cy-vikjQ.js → DocumentViewer.vue_vue_type_script_setup_true_lang-BW-Gu-nZ.js} +1 -1
- package/dist/{OnboardForm-DJcR03we.js → OnboardForm-CIFQEBec.js} +5 -5
- package/dist/{OnboardForm--egFxuAd.js → OnboardForm-IRLkWmoI.js} +5 -5
- package/dist/{OnboardSubmission-D5uJWKHh.js → OnboardSubmission-C9M8t5vU.js} +5 -5
- package/dist/{OnboardSubmission-BaM01HIV.js → OnboardSubmission-CndjRMqy.js} +2 -2
- package/dist/{PayoutAccount-DYZ2gQGD.js → PayoutAccount-BSXnemjX.js} +5 -5
- package/dist/PayoutAccount-CpuAa-qa.js +399 -0
- package/dist/{PayoutAccountSetting-DlF_FPHr.js → PayoutAccountSetting-CMkQNnDb.js} +6 -6
- package/dist/{Restaurant-KGa0xV0K.js → Restaurant-bpdNibYe.js} +4 -4
- package/dist/{RestaurantSetting-Bg5M-n6p.js → RestaurantSetting-NbagQfTz.js} +3 -3
- package/dist/{Settlement-C4q03i6e.js → Settlement-D_yGtVZV.js} +4 -4
- package/dist/{Settlement-DAkVWztP.js → Settlement-TAZg6fCx.js} +3 -3
- package/dist/{SettlementTransactions-XjsIKvXQ.js → SettlementTransactions-DHxHNPdw.js} +4 -4
- package/dist/{SettlementTransactions-CsvfmLM_.js → SettlementTransactions-ENvQRM79.js} +4 -4
- package/dist/{Status.vue_vue_type_script_setup_true_lang-ExFNksup.js → Status.vue_vue_type_script_setup_true_lang-B0FnrTJk.js} +1 -1
- package/dist/{Terminal-DkeT7bTc.js → Terminal-z_7q3GBS.js} +5 -5
- package/dist/{TerminalSetting-AnoIOO73.js → TerminalSetting-C5UmznfX.js} +655 -521
- package/dist/Transaction-DNkc6es6.js +1005 -0
- package/dist/{Transaction-mo1v6xz1.js → Transaction-zDTbTtVx.js} +10 -10
- package/dist/{TransactionOld-nzUGTELC.js → TransactionOld-Dm5PvUqF.js} +7 -7
- package/dist/api/payout/index.d.ts +4 -0
- package/dist/{app-1rw4JLKr.js → app-ByzqMQl4.js} +452 -442
- package/dist/app.js +1 -1
- package/dist/{assets-CPEv5xmO.js → assets-DXXXC51N.js} +1 -1
- package/dist/{grafana-fcTmH2tm.js → grafana-U9VBVEEb.js} +1 -1
- package/dist/{index-Ch9pmMdq.js → index-BMLgxxih.js} +1 -1
- package/dist/{index-B0rOAUW-.js → index-BZ6UOzJf.js} +34 -29
- package/dist/{index-DTBJopG8.js → index-C6uyHnHe.js} +1 -1
- package/dist/{index-CIbvJ5oc.js → index-COd-DEdZ.js} +1 -1
- package/dist/{index-gbUzsHq5.js → index-CbRKtmjR.js} +1 -1
- package/dist/{index-CVs0aN89.js → index-D5SllCXu.js} +26 -31
- package/dist/{index-BiKaun0K.js → index-DR01zn4-.js} +1 -1
- package/dist/{index-DYl43WIP.js → index-DmTVLzm7.js} +5544 -5474
- package/dist/{index-Qmbuelbf.js → index-udIS6_YQ.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-Ld8QyF50.js → index.vue_vue_type_script_setup_true_lang-QSCHnqzi.js} +1 -1
- package/dist/model/payout-account.d.ts +2 -2
- package/dist/package.json +2 -2
- package/dist/{payout-account-B4W2N8Xm.js → payout-account-DlZkCb88.js} +3 -3
- package/dist/stores/payoutAccount.d.ts +22 -22
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +20 -16
- package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +20 -16
- package/dist/views/admin/onboard-submission/forms/TyroSubmission.vue.d.ts +20 -16
- package/dist/views/admin/payout-account/CreateDummyPayoutDialog.vue.d.ts +2 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +44 -44
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +44 -44
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +44 -44
- 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 +4 -4
- 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/AdyenGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +10 -10
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +10 -10
- package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.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/MaybankGateway.vue.d.ts +8 -8
- package/dist/views/admin/restaurant/tabs/gateway/MonetapayGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +10 -10
- package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +6 -6
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +16 -16
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/RevenueGateway.vue.d.ts +140 -0
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +14 -14
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +44 -44
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +80 -80
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +40 -40
- package/dist/views/settlement/SettlementTable.vue.d.ts +16 -16
- package/package.json +2 -2
- package/dist/PayoutAccount-CEr0rx4J.js +0 -273
- package/dist/Transaction-BEkrFPHL.js +0 -1135
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import { defineComponent as x, resolveComponent as i, openBlock as d, createElementBlock as I, createVNode as u, normalizeClass as O, withCtx as h, createElementVNode as A, toDisplayString as V, createCommentVNode as K, createBlock as k, ref as S, computed as N, watch as E, unref as n, isRef as F, h as w } from "vue";
|
|
2
|
+
import { h as z } from "./moment-h96o7c8I.js";
|
|
3
|
+
import { u as L } from "./index-DR01zn4-.js";
|
|
4
|
+
import { p as R } from "./index-DmTVLzm7.js";
|
|
5
|
+
import { _ as W } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
6
|
+
import { P as B } from "./payout-account-DlZkCb88.js";
|
|
7
|
+
import { p as T } from "./index-BZ6UOzJf.js";
|
|
8
|
+
import { useDialogChild as H, useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
|
|
9
|
+
import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-QSCHnqzi.js";
|
|
10
|
+
import { useRouter as Z } from "vue-router";
|
|
11
|
+
import { _ as ee } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js";
|
|
12
|
+
import { _ as ae } from "./AdminBusinessSelector.vue_vue_type_script_setup_true_lang-B2sVLkI5.js";
|
|
13
|
+
import { _ as te } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-D_hGHpb0.js";
|
|
14
|
+
import { r as se } from "./index-COd-DEdZ.js";
|
|
15
|
+
import { z as $, a as U } from "./validator-CTlVogBQ.js";
|
|
16
|
+
import { u as oe } from "./error-K1CakhA9.js";
|
|
17
|
+
import { useCoreStore as ne } from "@feedmepos/mf-common";
|
|
18
|
+
const re = { class: "flex flex-col gap-1" }, le = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "text-xs text-red-500"
|
|
21
|
+
}, me = /* @__PURE__ */ x({
|
|
22
|
+
__name: "Status",
|
|
23
|
+
props: {
|
|
24
|
+
row: {},
|
|
25
|
+
data: {}
|
|
26
|
+
},
|
|
27
|
+
setup(s) {
|
|
28
|
+
const o = s;
|
|
29
|
+
function r() {
|
|
30
|
+
return o.data === "NEW" ? "!w-[16px] !h-[16px] bg-yellow-400" : o.data === "PENDING" ? "!w-[16px] !h-[16px] bg-orange-400" : o.data === "REJECTED" ? "!w-[16px] !h-[16px] bg-red-500" : "!w-[16px] !h-[16px] bg-green-400";
|
|
31
|
+
}
|
|
32
|
+
return (f, t) => {
|
|
33
|
+
const c = i("FmBadge");
|
|
34
|
+
return d(), I("div", re, [
|
|
35
|
+
u(c, {
|
|
36
|
+
inline: "",
|
|
37
|
+
class: O(r())
|
|
38
|
+
}, {
|
|
39
|
+
default: h(() => [
|
|
40
|
+
A("div", null, V(s.data), 1)
|
|
41
|
+
]),
|
|
42
|
+
_: 1
|
|
43
|
+
}, 8, ["class"]),
|
|
44
|
+
o.data === "REJECTED" && o.row.original.statusReason ? (d(), I("div", le, V(o.row.original.statusReason), 1)) : K("", !0)
|
|
45
|
+
]);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}), ue = /* @__PURE__ */ x({
|
|
49
|
+
__name: "Bank",
|
|
50
|
+
props: {
|
|
51
|
+
row: {},
|
|
52
|
+
data: {}
|
|
53
|
+
},
|
|
54
|
+
setup(s) {
|
|
55
|
+
function o(r) {
|
|
56
|
+
return r ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
|
57
|
+
}
|
|
58
|
+
return (r, f) => {
|
|
59
|
+
const t = i("FmBadge"), c = i("FmListItem");
|
|
60
|
+
return d(), k(c, {
|
|
61
|
+
label: s.row.original.holderName,
|
|
62
|
+
sublabel: s.row.original.bankName + " - " + s.row.original.bankNumber,
|
|
63
|
+
clickable: !1,
|
|
64
|
+
tag: "label"
|
|
65
|
+
}, {
|
|
66
|
+
append: h(() => [
|
|
67
|
+
u(t, {
|
|
68
|
+
inline: "",
|
|
69
|
+
class: O(o(s.row.original.bankReady))
|
|
70
|
+
}, null, 8, ["class"])
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
}, 8, ["label", "sublabel"]);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}), ie = /* @__PURE__ */ x({
|
|
77
|
+
__name: "PersonInCharge",
|
|
78
|
+
props: {
|
|
79
|
+
row: {},
|
|
80
|
+
data: {}
|
|
81
|
+
},
|
|
82
|
+
setup(s) {
|
|
83
|
+
function o(r) {
|
|
84
|
+
return r ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
|
85
|
+
}
|
|
86
|
+
return (r, f) => {
|
|
87
|
+
const t = i("FmBadge"), c = i("FmListItem");
|
|
88
|
+
return d(), k(c, {
|
|
89
|
+
label: s.row.original.picName,
|
|
90
|
+
sublabel: s.row.original.picEmail + " - " + s.row.original.picPhone,
|
|
91
|
+
clickable: !1,
|
|
92
|
+
tag: "label"
|
|
93
|
+
}, {
|
|
94
|
+
append: h(() => [
|
|
95
|
+
u(t, {
|
|
96
|
+
inline: "",
|
|
97
|
+
class: O(o(s.row.original.picReady))
|
|
98
|
+
}, null, 8, ["class"])
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["label", "sublabel"]);
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
}), ce = /* @__PURE__ */ x({
|
|
105
|
+
__name: "DisplayName",
|
|
106
|
+
props: {
|
|
107
|
+
row: {}
|
|
108
|
+
},
|
|
109
|
+
setup(s) {
|
|
110
|
+
return (o, r) => (d(), I("p", null, V(s.row.original.name) + " (" + V(s.row.original.regNo ?? "-") + ")", 1));
|
|
111
|
+
}
|
|
112
|
+
}), pe = { class: "flex justify-end mb-2" }, de = /* @__PURE__ */ x({
|
|
113
|
+
__name: "CreateDummyPayoutDialog",
|
|
114
|
+
setup(s) {
|
|
115
|
+
const o = H(), r = S(), f = N(() => B.storeEventOptions()), t = S({
|
|
116
|
+
type: R.F_PAYOUT_FOR.Enum.ORDERING,
|
|
117
|
+
storeId: "",
|
|
118
|
+
businessId: ""
|
|
119
|
+
});
|
|
120
|
+
E(
|
|
121
|
+
() => t.value.type,
|
|
122
|
+
() => {
|
|
123
|
+
t.value.storeId = "", t.value.businessId = "";
|
|
124
|
+
}
|
|
125
|
+
), E(
|
|
126
|
+
() => t.value.storeId,
|
|
127
|
+
async (y) => {
|
|
128
|
+
if (!y) {
|
|
129
|
+
t.value.businessId = "";
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
if (t.value.type === R.F_PAYOUT_FOR.Enum.MARKETING)
|
|
133
|
+
t.value.businessId = y;
|
|
134
|
+
else {
|
|
135
|
+
const p = await se.readRestaurantById(y);
|
|
136
|
+
t.value.businessId = p.businessId;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
);
|
|
140
|
+
const c = () => {
|
|
141
|
+
o.emitData({
|
|
142
|
+
type: t.value.type,
|
|
143
|
+
storeId: t.value.storeId,
|
|
144
|
+
businessId: t.value.businessId
|
|
145
|
+
}), o.emitAction("primary");
|
|
146
|
+
};
|
|
147
|
+
return (y, p) => {
|
|
148
|
+
const C = i("FmSelect"), D = i("FmButton"), _ = i("FmForm");
|
|
149
|
+
return d(), k(_, {
|
|
150
|
+
ref_key: "form",
|
|
151
|
+
ref: r,
|
|
152
|
+
class: "flex flex-col gap-16",
|
|
153
|
+
onValidationSuccess: c
|
|
154
|
+
}, {
|
|
155
|
+
default: h(() => [
|
|
156
|
+
u(C, {
|
|
157
|
+
modelValue: t.value.type,
|
|
158
|
+
"onUpdate:modelValue": p[0] || (p[0] = (l) => t.value.type = l),
|
|
159
|
+
label: "Type",
|
|
160
|
+
"label-mark": "required",
|
|
161
|
+
items: f.value
|
|
162
|
+
}, null, 8, ["modelValue", "items"]),
|
|
163
|
+
t.value.type === n(R.F_PAYOUT_FOR).Enum.ORDERING ? (d(), k(te, {
|
|
164
|
+
key: 0,
|
|
165
|
+
modelValue: t.value.storeId,
|
|
166
|
+
"onUpdate:modelValue": p[1] || (p[1] = (l) => t.value.storeId = l),
|
|
167
|
+
label: "Restaurant",
|
|
168
|
+
"label-mark": "required",
|
|
169
|
+
placeholder: "Select restaurant",
|
|
170
|
+
"search-placeholder": "Search restaurants",
|
|
171
|
+
rules: n($)(n(U).string().min(1, "Restaurant is required"))
|
|
172
|
+
}, null, 8, ["modelValue", "rules"])) : (d(), k(ae, {
|
|
173
|
+
key: 1,
|
|
174
|
+
modelValue: t.value.storeId,
|
|
175
|
+
"onUpdate:modelValue": p[2] || (p[2] = (l) => t.value.storeId = l),
|
|
176
|
+
label: "Business",
|
|
177
|
+
"label-mark": "required",
|
|
178
|
+
placeholder: "Select business",
|
|
179
|
+
"search-placeholder": "Search businesses",
|
|
180
|
+
rules: n($)(n(U).string().min(1, "Business is required"))
|
|
181
|
+
}, null, 8, ["modelValue", "rules"])),
|
|
182
|
+
A("div", pe, [
|
|
183
|
+
u(D, {
|
|
184
|
+
type: "submit",
|
|
185
|
+
variant: "primary",
|
|
186
|
+
label: "Create"
|
|
187
|
+
})
|
|
188
|
+
])
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 512);
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
}), fe = {
|
|
195
|
+
key: 0,
|
|
196
|
+
class: "flex justify-end mb-4"
|
|
197
|
+
}, be = { class: "flex items-start mb-6" }, Se = /* @__PURE__ */ x({
|
|
198
|
+
__name: "PayoutAccount",
|
|
199
|
+
setup(s) {
|
|
200
|
+
const o = N(() => B.storeEventOptions()), r = N(() => B.statusOptions()), f = S(), t = Z(), c = J(), y = Q(), { currentCountry: p } = ne(), C = N(() => p.value !== "MY");
|
|
201
|
+
async function D() {
|
|
202
|
+
c.open({
|
|
203
|
+
title: "Create Payout Account",
|
|
204
|
+
closeButton: !0,
|
|
205
|
+
overlay: !0,
|
|
206
|
+
contentComponent: de,
|
|
207
|
+
contentComponentProps: {}
|
|
208
|
+
}).onPrimary(
|
|
209
|
+
async (a) => {
|
|
210
|
+
var g;
|
|
211
|
+
c.close();
|
|
212
|
+
try {
|
|
213
|
+
await T.createDummyAccount({
|
|
214
|
+
id: a.storeId,
|
|
215
|
+
event: a.type
|
|
216
|
+
}), y.open({ title: "Payout account created.", type: "success" }), (g = f.value) == null || g.reset();
|
|
217
|
+
} catch (v) {
|
|
218
|
+
y.open({
|
|
219
|
+
title: "Failed to create payout account.",
|
|
220
|
+
message: oe(v),
|
|
221
|
+
type: "error"
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
);
|
|
226
|
+
}
|
|
227
|
+
const { event: _, status: l, searchKey: b } = L({
|
|
228
|
+
searchKey: "",
|
|
229
|
+
event: R.F_PAYOUT_FOR.Enum.ORDERING,
|
|
230
|
+
status: r.value.map((e) => e.value)
|
|
231
|
+
});
|
|
232
|
+
E([_, l], () => {
|
|
233
|
+
var e;
|
|
234
|
+
return (e = f.value) == null ? void 0 : e.reset();
|
|
235
|
+
});
|
|
236
|
+
let P;
|
|
237
|
+
E(b, async () => {
|
|
238
|
+
P && clearTimeout(P), P = setTimeout(() => {
|
|
239
|
+
var e;
|
|
240
|
+
return (e = f.value) == null ? void 0 : e.reset();
|
|
241
|
+
}, 700);
|
|
242
|
+
});
|
|
243
|
+
const Y = function(e) {
|
|
244
|
+
const a = {
|
|
245
|
+
bankReady: !1,
|
|
246
|
+
bankNumber: "",
|
|
247
|
+
bankName: "",
|
|
248
|
+
holderName: ""
|
|
249
|
+
};
|
|
250
|
+
e.store.bank && e.store.bank.accountNumber && Object.assign(a, {
|
|
251
|
+
bankReady: !0,
|
|
252
|
+
bankNumber: e.store.bank.accountNumber,
|
|
253
|
+
bankName: e.store.bank.name,
|
|
254
|
+
holderName: e.store.bank.holderName
|
|
255
|
+
});
|
|
256
|
+
const g = {
|
|
257
|
+
picReady: !1,
|
|
258
|
+
picName: "",
|
|
259
|
+
picPhone: "",
|
|
260
|
+
picEmail: ""
|
|
261
|
+
};
|
|
262
|
+
e.store.keyPerson && Object.assign(g, {
|
|
263
|
+
picReady: !0,
|
|
264
|
+
picName: e.store.keyPerson.name,
|
|
265
|
+
picPhone: e.store.keyPerson.phone,
|
|
266
|
+
picEmail: e.store.keyPerson.email
|
|
267
|
+
});
|
|
268
|
+
let v = e.store.companyName ?? e.ref.name;
|
|
269
|
+
return e.store.event === "ORDERING" && (v = e.ref.profile.name), {
|
|
270
|
+
_id: e._id,
|
|
271
|
+
event: e.store.event,
|
|
272
|
+
name: v,
|
|
273
|
+
status: e.status,
|
|
274
|
+
statusReason: e.statusReason,
|
|
275
|
+
submissionDate: e.submissionDate ? z(e.submissionDate).format("YYYY-MM-DD HH:mm:ss") : "—",
|
|
276
|
+
regNo: e.store.regNo,
|
|
277
|
+
companyName: e.store.companyName,
|
|
278
|
+
...a,
|
|
279
|
+
...g
|
|
280
|
+
};
|
|
281
|
+
}, G = [
|
|
282
|
+
{
|
|
283
|
+
header: () => "Type",
|
|
284
|
+
accessorKey: "event",
|
|
285
|
+
meta: {
|
|
286
|
+
maxWidth: "92px"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
header: () => "Name",
|
|
291
|
+
accessorKey: "name",
|
|
292
|
+
cell: ({ cell: e, row: a }) => w(ce, { row: a })
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
header: () => "Status",
|
|
296
|
+
accessorKey: "status",
|
|
297
|
+
cell: ({ cell: e, row: a }) => w(me, { row: a, data: e.getValue() }),
|
|
298
|
+
meta: {
|
|
299
|
+
maxWidth: "108px"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
header: () => "Submission Date",
|
|
304
|
+
accessorKey: "submissionDate",
|
|
305
|
+
meta: {
|
|
306
|
+
maxWidth: "160px"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
header: () => "Bank Details",
|
|
311
|
+
accessorKey: "bank",
|
|
312
|
+
cell: ({ cell: e, row: a }) => w(ue, { row: a, data: e.getValue() })
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
header: () => "Person In-Charge (PIC)",
|
|
316
|
+
accessorKey: "pic",
|
|
317
|
+
cell: ({ cell: e, row: a }) => w(ie, { row: a, data: e.getValue() })
|
|
318
|
+
}
|
|
319
|
+
];
|
|
320
|
+
return (e, a) => {
|
|
321
|
+
const g = i("FmButton"), v = i("FmSelect"), q = i("FmSearch"), M = i("FmFormGroup");
|
|
322
|
+
return d(), k(W, {
|
|
323
|
+
title: "Payout Accounts",
|
|
324
|
+
loading: !1
|
|
325
|
+
}, {
|
|
326
|
+
default: h(() => [
|
|
327
|
+
C.value ? (d(), I("div", fe, [
|
|
328
|
+
u(g, {
|
|
329
|
+
variant: "primary",
|
|
330
|
+
label: "Create",
|
|
331
|
+
"prepend-icon": "add",
|
|
332
|
+
onClick: D
|
|
333
|
+
})
|
|
334
|
+
])) : K("", !0),
|
|
335
|
+
A("div", be, [
|
|
336
|
+
u(v, {
|
|
337
|
+
modelValue: n(_),
|
|
338
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => F(_) ? _.value = m : null),
|
|
339
|
+
class: "mr-6 w-[128px]",
|
|
340
|
+
label: "Type",
|
|
341
|
+
"label-mark": "required",
|
|
342
|
+
items: o.value
|
|
343
|
+
}, null, 8, ["modelValue", "items"]),
|
|
344
|
+
u(v, {
|
|
345
|
+
modelValue: n(l),
|
|
346
|
+
"onUpdate:modelValue": a[2] || (a[2] = (m) => F(l) ? l.value = m : null),
|
|
347
|
+
class: "mr-6 w-[300px]",
|
|
348
|
+
label: "Status",
|
|
349
|
+
"label-mark": "required",
|
|
350
|
+
multiselect: "",
|
|
351
|
+
items: r.value
|
|
352
|
+
}, {
|
|
353
|
+
"prepend-menu": h(() => [
|
|
354
|
+
u(ee, {
|
|
355
|
+
modelValue: n(l),
|
|
356
|
+
"onUpdate:modelValue": a[1] || (a[1] = (m) => F(l) ? l.value = m : null),
|
|
357
|
+
items: r.value
|
|
358
|
+
}, null, 8, ["modelValue", "items"])
|
|
359
|
+
]),
|
|
360
|
+
_: 1
|
|
361
|
+
}, 8, ["modelValue", "items"]),
|
|
362
|
+
u(M, {
|
|
363
|
+
class: "w-[300px]",
|
|
364
|
+
modelValue: n(b),
|
|
365
|
+
"onUpdate:modelValue": a[4] || (a[4] = (m) => F(b) ? b.value = m : null),
|
|
366
|
+
label: "Search"
|
|
367
|
+
}, {
|
|
368
|
+
default: h(() => [
|
|
369
|
+
u(q, {
|
|
370
|
+
modelValue: n(b),
|
|
371
|
+
"onUpdate:modelValue": a[3] || (a[3] = (m) => F(b) ? b.value = m : null),
|
|
372
|
+
placeholder: "Search accounts ..."
|
|
373
|
+
}, null, 8, ["modelValue"])
|
|
374
|
+
]),
|
|
375
|
+
_: 1
|
|
376
|
+
}, 8, ["modelValue"])
|
|
377
|
+
]),
|
|
378
|
+
u(X, {
|
|
379
|
+
ref_key: "controller",
|
|
380
|
+
ref: f,
|
|
381
|
+
"column-defs": G,
|
|
382
|
+
"rows-defs": Y,
|
|
383
|
+
paginate: (m, j) => n(T).read({ event: n(_), status: n(l), searchKey: n(b), limit: m, cursor: j }),
|
|
384
|
+
onRowClick: a[5] || (a[5] = (m) => n(t).push({
|
|
385
|
+
name: "mf-payment-admin.payout-account-settings",
|
|
386
|
+
params: {
|
|
387
|
+
accountId: m._id
|
|
388
|
+
}
|
|
389
|
+
}))
|
|
390
|
+
}, null, 8, ["paginate"])
|
|
391
|
+
]),
|
|
392
|
+
_: 1
|
|
393
|
+
});
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
});
|
|
397
|
+
export {
|
|
398
|
+
Se as default
|
|
399
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as D, resolveComponent as y, openBlock as g, createElementBlock as E, Fragment as j, createElementVNode as s, createVNode as n, withCtx as k, createTextVNode as h, toDisplayString as B, unref as r, reactive as de, ref as C, createBlock as w, watch as te, computed as Y, isRef as W, createCommentVNode as $, h as H, onMounted as re, resolveDynamicComponent as ae, normalizeProps as ne, mergeProps as oe } from "vue";
|
|
2
|
-
import { p as G } from "./index-
|
|
3
|
-
import { u as X, e as _ } from "./index-
|
|
2
|
+
import { p as G } from "./index-BZ6UOzJf.js";
|
|
3
|
+
import { u as X, e as _ } from "./index-DmTVLzm7.js";
|
|
4
4
|
import { _ as pe } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
5
5
|
import { useRouter as ye } from "vue-router";
|
|
6
|
-
import { u as ee } from "./index-
|
|
7
|
-
import { _ as Z, P as Q } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { u as ee } from "./index-DR01zn4-.js";
|
|
7
|
+
import { _ as Z, P as Q } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-BW-Gu-nZ.js";
|
|
8
8
|
import { h as be } from "./moment-h96o7c8I.js";
|
|
9
9
|
import { useDialogChild as fe, useDialog as ie, useSnackbar as J, components as ve } from "@feedmepos/ui-library";
|
|
10
10
|
import { u as z } from "./error-K1CakhA9.js";
|
|
11
|
-
import { P as ge } from "./payout-account-
|
|
12
|
-
import { d as se } from "./index-
|
|
11
|
+
import { P as ge } from "./payout-account-DlZkCb88.js";
|
|
12
|
+
import { d as se } from "./index-C6uyHnHe.js";
|
|
13
13
|
import { s as L, o as Fe, z as A, a as N } from "./validator-CTlVogBQ.js";
|
|
14
14
|
import { _ as xe } from "./TextInputDialog.vue_vue_type_script_setup_true_lang-C3AeZqwO.js";
|
|
15
15
|
import { useCoreStore as me } from "@feedmepos/mf-common";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as F, ref as y, resolveComponent as _, openBlock as x, createBlock as A, withCtx as $, createElementVNode as p, normalizeStyle as T, createElementBlock as R, Fragment as z, renderList as q, createVNode as v, computed as C, watch as I, onMounted as N, unref as h, toDisplayString as B, normalizeClass as W, isRef as E, h as P } from "vue";
|
|
2
|
-
import { u as O } from "./index-
|
|
2
|
+
import { u as O } from "./index-DR01zn4-.js";
|
|
3
3
|
import { _ as j } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
|
-
import { u as G } from "./index-
|
|
5
|
+
import { u as G } from "./index-DmTVLzm7.js";
|
|
6
6
|
import { _ as Q } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
|
|
7
|
-
import { r as H } from "./index-
|
|
7
|
+
import { r as H } from "./index-COd-DEdZ.js";
|
|
8
8
|
import { useRouter as J } from "vue-router";
|
|
9
|
-
import { g as X } from "./grafana-
|
|
9
|
+
import { g as X } from "./grafana-U9VBVEEb.js";
|
|
10
10
|
const Y = ["id"], L = /* @__PURE__ */ F({
|
|
11
11
|
__name: "FmTableSelection",
|
|
12
12
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as D, ref as w, resolveComponent as r, openBlock as g, createBlock as b, withCtx as S, createVNode as o, unref as n, createElementVNode as T, createCommentVNode as U, computed as O, onMounted as R, createElementBlock as N, Fragment as L, isRef as B, resolveDynamicComponent as $, mergeProps as Y, normalizeProps as H } from "vue";
|
|
2
|
-
import { g as q, b as M, u as K, e as I } from "./index-
|
|
2
|
+
import { g as q, b as M, u as K, e as I } from "./index-DmTVLzm7.js";
|
|
3
3
|
import { _ as z } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
4
4
|
import { useRouter as Q } from "vue-router";
|
|
5
|
-
import { u as P } from "./index-
|
|
5
|
+
import { u as P } from "./index-DR01zn4-.js";
|
|
6
6
|
import { z as y, a as f } from "./validator-CTlVogBQ.js";
|
|
7
7
|
import { useCoreStore as E } from "@feedmepos/mf-common";
|
|
8
8
|
import { u as Z } from "./error-K1CakhA9.js";
|
|
9
9
|
import { useSnackbar as J } from "@feedmepos/ui-library";
|
|
10
|
-
import { r as W } from "./index-
|
|
10
|
+
import { r as W } from "./index-COd-DEdZ.js";
|
|
11
11
|
const C = {
|
|
12
12
|
async get(a) {
|
|
13
13
|
return q(
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as x, resolveComponent as k, openBlock as R, createBlock as N, ref as A, computed as j, createElementBlock as B, Fragment as G, unref as e, withDirectives as Q, vShow as W, createCommentVNode as E, createVNode as p, h as L, watch as D, createElementVNode as i, withCtx as S, toDisplayString as _, createTextVNode as T, onMounted as z, renderList as X, isRef as U } from "vue";
|
|
2
|
-
import { u as q } from "./index-
|
|
2
|
+
import { u as q } from "./index-DmTVLzm7.js";
|
|
3
3
|
import { h as Y } from "./moment-h96o7c8I.js";
|
|
4
4
|
import { useCoreStore as H, useI18n as M } from "@feedmepos/mf-common";
|
|
5
5
|
import { _ as Z } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
6
|
-
import { s as P } from "./index-
|
|
6
|
+
import { s as P } from "./index-D5SllCXu.js";
|
|
7
7
|
import { useDialog as ee } from "@feedmepos/ui-library";
|
|
8
8
|
import { d as h } from "./dinero-CIVmXLL-.js";
|
|
9
9
|
import { _ as J } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
|
|
10
10
|
import { useRouter as te } from "vue-router";
|
|
11
|
-
import { u as ae } from "./index-
|
|
11
|
+
import { u as ae } from "./index-DR01zn4-.js";
|
|
12
12
|
import { _ as ne } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
|
13
13
|
import { _ as oe } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js";
|
|
14
|
-
import { p as le } from "./index-
|
|
14
|
+
import { p as le } from "./index-BZ6UOzJf.js";
|
|
15
15
|
const se = /* @__PURE__ */ x({
|
|
16
16
|
__name: "InvoiceStatus",
|
|
17
17
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as M, ref as h, computed as T, resolveComponent as d, openBlock as F, createBlock as V, h as E, watch as C, onMounted as L, unref as r, withCtx as g, createElementVNode as k, createVNode as i, isRef as R, createElementBlock as N, Fragment as O, renderList as P } from "vue";
|
|
2
|
-
import { u as A } from "./index-
|
|
2
|
+
import { u as A } from "./index-DmTVLzm7.js";
|
|
3
3
|
import { h as S } from "./moment-h96o7c8I.js";
|
|
4
|
-
import { s as _ } from "./index-
|
|
4
|
+
import { s as _ } from "./index-D5SllCXu.js";
|
|
5
5
|
import { useSnackbar as U } from "@feedmepos/ui-library";
|
|
6
6
|
import { d as w } from "./dinero-CIVmXLL-.js";
|
|
7
7
|
import { _ as q } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
|
|
8
8
|
import { useRouter as J } from "vue-router";
|
|
9
9
|
import { _ as j } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
10
|
-
import { u as z } from "./index-
|
|
10
|
+
import { u as z } from "./index-DR01zn4-.js";
|
|
11
11
|
import { u as G } from "./error-K1CakhA9.js";
|
|
12
12
|
import { _ as Q } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js";
|
|
13
13
|
const H = /* @__PURE__ */ M({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as $, resolveComponent as f, openBlock as C, createBlock as K, withCtx as i, createElementVNode as n, unref as a, ref as h, onMounted as R, watch as L, createVNode as o, toDisplayString as l, createTextVNode as d, h as k } from "vue";
|
|
2
|
-
import { u as G } from "./index-
|
|
2
|
+
import { u as G } from "./index-DmTVLzm7.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
import { d as I } from "./dinero-CIVmXLL-.js";
|
|
5
|
-
import { g as H, a as P, _ as U, t as q } from "./assets-
|
|
6
|
-
import { t as J } from "./index-
|
|
5
|
+
import { g as H, a as P, _ as U, t as q } from "./assets-DXXXC51N.js";
|
|
6
|
+
import { t as J } from "./index-CbRKtmjR.js";
|
|
7
7
|
import { _ as Q } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
8
8
|
import { useRouter as W } from "vue-router";
|
|
9
|
-
import { s as X } from "./index-
|
|
9
|
+
import { s as X } from "./index-D5SllCXu.js";
|
|
10
10
|
import { useI18n as Z, useCoreStore as ee } from "@feedmepos/mf-common";
|
|
11
11
|
import { h as te } from "./moment-h96o7c8I.js";
|
|
12
12
|
const ae = ["src"], ne = /* @__PURE__ */ $({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as h, resolveComponent as p, openBlock as A, createBlock as I, withCtx as r, createElementVNode as t, unref as m, ref as x, onMounted as z, watch as G, createVNode as n, createTextVNode as i, toDisplayString as u, h as T } from "vue";
|
|
2
|
-
import { u as H } from "./index-
|
|
2
|
+
import { u as H } from "./index-DmTVLzm7.js";
|
|
3
3
|
import { useDialog as U, useSnackbar as q } from "@feedmepos/ui-library";
|
|
4
4
|
import { d as B } from "./dinero-CIVmXLL-.js";
|
|
5
|
-
import { g as J, a as Q, _ as W, t as X } from "./assets-
|
|
6
|
-
import { t as L } from "./index-
|
|
5
|
+
import { g as J, a as Q, _ as W, t as X } from "./assets-DXXXC51N.js";
|
|
6
|
+
import { t as L } from "./index-CbRKtmjR.js";
|
|
7
7
|
import { _ as Z } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
8
8
|
import { useRouter as ee } from "vue-router";
|
|
9
|
-
import { s as te } from "./index-
|
|
9
|
+
import { s as te } from "./index-D5SllCXu.js";
|
|
10
10
|
import { u as ae } from "./error-K1CakhA9.js";
|
|
11
11
|
import { w as ne } from "./Modal-DB8M9o1T.js";
|
|
12
12
|
import { h as oe } from "./moment-h96o7c8I.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as r, resolveComponent as p, openBlock as d, createBlock as s, normalizeClass as u, withCtx as i, createElementVNode as m, toDisplayString as c } from "vue";
|
|
2
|
-
import { p as e } from "./index-
|
|
2
|
+
import { p as e } from "./index-DmTVLzm7.js";
|
|
3
3
|
const f = /* @__PURE__ */ r({
|
|
4
4
|
__name: "Status",
|
|
5
5
|
props: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as L, h as E, ref as x, onMounted as pe, watchEffect as Ce, Fragment as ie, computed as D, openBlock as I, createElementBlock as X, createElementVNode as b, createTextVNode as te, toDisplayString as se, createVNode as _, resolveComponent as N, normalizeClass as ye, withCtx as Z, createBlock as U, createCommentVNode as $, unref as T, watch as re, isRef as we } from "vue";
|
|
2
|
-
import { e as Ee } from "./index-
|
|
2
|
+
import { e as Ee } from "./index-DmTVLzm7.js";
|
|
3
3
|
import { h as Re } from "./moment-h96o7c8I.js";
|
|
4
|
-
import { u as Me } from "./index-
|
|
5
|
-
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as Me } from "./index-DR01zn4-.js";
|
|
5
|
+
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-QSCHnqzi.js";
|
|
6
6
|
import { _ as Se } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
7
7
|
import { useSnackbar as J, useDialogChild as Pe, useDialog as Ae } from "@feedmepos/ui-library";
|
|
8
|
-
import { t as K } from "./index-
|
|
8
|
+
import { t as K } from "./index-BMLgxxih.js";
|
|
9
9
|
import { c as le } from "./clipboard-4jh1WteU.js";
|
|
10
10
|
import { useCoreStore as ue } from "@feedmepos/mf-common";
|
|
11
|
-
import { g as Te } from "./grafana-
|
|
11
|
+
import { g as Te } from "./grafana-U9VBVEEb.js";
|
|
12
12
|
import { u as W } from "./error-K1CakhA9.js";
|
|
13
13
|
import { z as ne, a as ae } from "./validator-CTlVogBQ.js";
|
|
14
14
|
import { w as oe } from "./Modal-DB8M9o1T.js";
|