@feedmepos/mf-payment 1.4.47 → 1.5.0-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-sYaYPQ_s.js → Actions.vue_vue_type_script_setup_true_lang-DGbH2LsQ.js} +43 -43
- package/dist/{AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js → AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js} +13 -13
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-I9eO197f.js +47 -0
- package/dist/{Chargeback-BftBez0p.js → Chargeback-19afdT_4.js} +83 -83
- package/dist/{DateRangePicker.vue_vue_type_script_setup_true_lang-XZ7OzGau.js → DateRangePicker.vue_vue_type_script_setup_true_lang-kymnzYpd.js} +1 -1
- package/dist/DocumentViewer.vue_vue_type_script_setup_true_lang-CzwG5dCO.js +77 -0
- package/dist/Forbidden-CSTZjebc.js +38 -0
- package/dist/Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js +45 -0
- package/dist/{OnboardForm-Bk5eHmN0.js → OnboardForm-Cc6JOr09.js} +596 -528
- package/dist/{OnboardForm-DURv3s6I.js → OnboardForm-Do6ar3sx.js} +363 -347
- package/dist/{OnboardSubmission-BOiXSkVB.js → OnboardSubmission-B-leoVPo.js} +4 -4
- package/dist/{OnboardSubmission-Bjf_EOKq.js → OnboardSubmission-Dj8AGb69.js} +8 -8
- package/dist/PDFViewer-DgyyGDHl.js +23209 -0
- package/dist/{PayoutAccount-Ban4QG9e.js → PayoutAccount--1J5ubvX.js} +341 -312
- package/dist/{PayoutAccount-D-oQ4vID.js → PayoutAccount-ChGlsZ-O.js} +75 -75
- package/dist/{PayoutAccountSetting-YYswVooL.js → PayoutAccountSetting-BC0ANAqY.js} +281 -266
- package/dist/{Restaurant-26r7Q01z.js → Restaurant-ZiTHtFZJ.js} +79 -79
- package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-Bzj_sdSY.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-DG3iyjkK.js} +3 -3
- package/dist/{RestaurantSetting-D1APrvzM.js → RestaurantSetting-M1jYaGwx.js} +5 -5
- package/dist/{SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js → SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js} +5 -5
- package/dist/{Settlement-CWX5RKwL.js → Settlement-Cj2W8VfH.js} +7 -7
- package/dist/{Settlement-Ix55QLVB.js → Settlement-D_nmqYEC.js} +12 -15
- package/dist/{SettlementTransactions-DYAlKO__.js → SettlementTransactions-Ch9jeQU6.js} +99 -99
- package/dist/{SettlementTransactions-BIodJ6DN.js → SettlementTransactions-DK1ONvn6.js} +55 -55
- package/dist/{Status.vue_vue_type_script_setup_true_lang-B5iI3OiL.js → Status.vue_vue_type_script_setup_true_lang-BP5m6Vic.js} +9 -9
- package/dist/Terminal-CoPPPePw.js +1135 -0
- package/dist/{TerminalSetting-BiaGvysm.js → TerminalSetting-PWs1fyFe.js} +549 -425
- package/dist/{Transaction-D51QiCaP.js → Transaction-BirTp8t6.js} +82 -82
- package/dist/{Transaction-ouagKBic.js → Transaction-CegzBK7m.js} +65 -65
- package/dist/{TransactionOld-CCzonxUD.js → TransactionOld-DqGMuWvL.js} +9 -9
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/api/document/index.d.ts +4 -0
- package/dist/{app-COvZzQVV.js → app-D6U0uODp.js} +426 -490
- package/dist/app.js +1 -1
- package/dist/{assets--JQWdCl5.js → assets-DtwUojcS.js} +1 -1
- package/dist/components/AdminLayout.vue.d.ts +3 -3
- package/dist/components/AutoCopyCell.vue.d.ts +1 -1
- package/dist/components/DocumentViewer.vue.d.ts +16 -0
- package/dist/components/ImagePreview.vue.d.ts +3 -3
- package/dist/components/Layout.vue.d.ts +3 -3
- package/dist/components/PDFViewer.vue.d.ts +4 -4
- package/dist/components/RestaurantSelector.vue.d.ts +1 -1
- package/dist/components/RouteCell.vue.d.ts +1 -1
- package/dist/{grafana-22PXAn1O.js → grafana-fZyobMgN.js} +1 -1
- package/dist/{index-B0uA-O38.js → index--K2ipr4H.js} +7 -7
- package/dist/{index-cCTvH31Z.js → index-BJNCcdvT.js} +22132 -24859
- package/dist/{index-Blb5YaYR.js → index-C-YBwRQp.js} +3 -3
- package/dist/{index-Ctn4LFui.js → index-CMN40t8e.js} +1 -1
- package/dist/{index-DR0voetw.js → index-CbONxZz2.js} +17 -13
- package/dist/{index-BLyx8ZQr.js → index-CtkwL_6R.js} +1 -1
- package/dist/{index-B9kHmV6p.js → index-D69RnDa7.js} +19 -19
- package/dist/index-_u7l8cO3.js +27 -0
- package/dist/{index-B0-Kn6Mw.js → index-eLZ3BErV.js} +12 -12
- package/dist/{index.vue_vue_type_script_setup_true_lang-NUicoOT2.js → index.vue_vue_type_script_setup_true_lang-zxkA_YTt.js} +50 -50
- package/dist/model/payout-account.d.ts +2 -2
- package/dist/{Forbidden-Dqw0MqyC.js → no-data-BRmo6XOO.js} +2 -35
- package/dist/package.json +13 -7
- package/dist/{payout-account-DQZ0J8Ds.js → payout-account-CVYMFqu9.js} +78 -77
- package/dist/plugins.d.ts +1 -5
- package/dist/stores/payoutAccount.d.ts +16 -16
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{validator-D5jtpt9A.js → validator-DzjyJnvv.js} +842 -763
- package/dist/views/Forbidden.vue.d.ts +1 -1
- package/dist/views/admin/chargeback/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/onboard-submission/cell/SignatureBoard.vue.d.ts +2 -1
- package/dist/views/admin/onboard-submission/cell/UploadButton.vue.d.ts +3 -2
- package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +17 -17
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +17 -17
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +16 -16
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +17 -17
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/payout-account/tabs/gateway/AdyenGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/gateway/KsherGateway.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/cell/LogButton.vue.d.ts +1 -1
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +118 -244
- package/dist/views/admin/restaurant/tabs/gateway/AdyenGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/DigioGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/GrabGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/KsherGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/MacauPassGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/SoftSpaceGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +28 -8
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/terminal/cell/ID.vue.d.ts +1 -1
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +29 -9
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +29 -9
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +250 -0
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +28 -8
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +28 -8
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +1 -1
- package/dist/views/admin/transaction/cell/BillSeqNumber.vue.d.ts +1 -1
- package/dist/views/onboard-submission/cell/SignatureBoard.vue.d.ts +2 -1
- package/dist/views/onboard-submission/cell/UploadButton.vue.d.ts +6 -5
- package/dist/views/payout-account/PayoutAccountDialog.vue.d.ts +2 -2
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +32 -32
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +68 -68
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +34 -34
- package/dist/views/transaction/cell/Actions.vue.d.ts +1 -1
- package/dist/views/transaction/cell/BillSeqNumber.vue.d.ts +1 -1
- package/package.json +26 -20
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-DP8STuAT.js +0 -47
- package/dist/Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js +0 -45
- package/dist/PDFViewer-DHKBD99J.js +0 -22433
- package/dist/Terminal-CrM7EzkM.js +0 -1095
- package/dist/plugins-DuKITasE.js +0 -1366
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { e as k, u as q } from "./index-
|
|
1
|
+
import { defineComponent as F, resolveComponent as c, openBlock as A, createBlock as S, normalizeClass as G, withCtx as o, createElementVNode as t, toDisplayString as u, unref as d, ref as x, onMounted as j, watch as H, createVNode as n, createTextVNode as m, h as N } from "vue";
|
|
2
|
+
import { e as k, u as q } from "./index-BJNCcdvT.js";
|
|
3
3
|
import { useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
|
|
4
4
|
import { d as B } from "./dinero-CIVmXLL-.js";
|
|
5
|
-
import { g as W, a as X, t as Z } from "./assets
|
|
6
|
-
import { t as P } from "./index
|
|
7
|
-
import { _ as ee } from "./Layout.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { g as W, a as X, t as Z } from "./assets-DtwUojcS.js";
|
|
6
|
+
import { t as P } from "./index--K2ipr4H.js";
|
|
7
|
+
import { _ as ee } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
8
8
|
import { useRouter as te } from "vue-router";
|
|
9
|
-
import { s as ae } from "./index-
|
|
9
|
+
import { s as ae } from "./index-eLZ3BErV.js";
|
|
10
10
|
import { u as ne } from "./error-K1CakhA9.js";
|
|
11
11
|
import { w as oe } from "./Modal-DB8M9o1T.js";
|
|
12
12
|
import { h as re } from "./moment-h96o7c8I.js";
|
|
13
|
-
const le = /* @__PURE__ */
|
|
13
|
+
const le = /* @__PURE__ */ F({
|
|
14
14
|
__name: "Status",
|
|
15
15
|
props: {
|
|
16
16
|
row: {},
|
|
17
17
|
data: {}
|
|
18
18
|
},
|
|
19
|
-
setup(
|
|
20
|
-
const
|
|
21
|
-
function
|
|
22
|
-
return
|
|
19
|
+
setup(r) {
|
|
20
|
+
const i = r;
|
|
21
|
+
function p() {
|
|
22
|
+
return i.data === k.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : i.data === k.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : i.data === k.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
|
23
23
|
}
|
|
24
|
-
return (
|
|
25
|
-
const T =
|
|
24
|
+
return (v, b) => {
|
|
25
|
+
const T = c("FmBadge");
|
|
26
26
|
return A(), S(T, {
|
|
27
27
|
inline: "",
|
|
28
|
-
class: G(
|
|
28
|
+
class: G(p())
|
|
29
29
|
}, {
|
|
30
|
-
default:
|
|
31
|
-
t("div", null,
|
|
30
|
+
default: o(() => [
|
|
31
|
+
t("div", null, u(r.data), 1)
|
|
32
32
|
]),
|
|
33
33
|
_: 1
|
|
34
34
|
}, 8, ["class"]);
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
}), se = ["src"], ie = /* @__PURE__ */
|
|
37
|
+
}), se = ["src"], ie = /* @__PURE__ */ F({
|
|
38
38
|
__name: "Gateway",
|
|
39
39
|
props: {
|
|
40
40
|
row: {},
|
|
41
41
|
data: {}
|
|
42
42
|
},
|
|
43
|
-
setup(
|
|
44
|
-
return (
|
|
45
|
-
const
|
|
46
|
-
return A(), S(
|
|
43
|
+
setup(r) {
|
|
44
|
+
return (i, p) => {
|
|
45
|
+
const v = c("FmTooltip");
|
|
46
|
+
return A(), S(v, {
|
|
47
47
|
variant: "plain",
|
|
48
48
|
placement: "top",
|
|
49
|
-
content:
|
|
49
|
+
content: r.row.original.gateway,
|
|
50
50
|
"hide-arrow": !0
|
|
51
51
|
}, {
|
|
52
|
-
default:
|
|
52
|
+
default: o(() => [
|
|
53
53
|
t("img", {
|
|
54
54
|
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
|
55
|
-
src:
|
|
55
|
+
src: d(W)(r.row.original.gateway)
|
|
56
56
|
}, null, 8, se)
|
|
57
57
|
]),
|
|
58
58
|
_: 1
|
|
59
59
|
}, 8, ["content"]);
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
}), ue = ["src"], me = /* @__PURE__ */
|
|
62
|
+
}), ue = ["src"], me = /* @__PURE__ */ F({
|
|
63
63
|
__name: "Method",
|
|
64
64
|
props: {
|
|
65
65
|
row: {},
|
|
66
66
|
data: {}
|
|
67
67
|
},
|
|
68
|
-
setup(
|
|
69
|
-
return (
|
|
70
|
-
const
|
|
71
|
-
return A(), S(
|
|
68
|
+
setup(r) {
|
|
69
|
+
return (i, p) => {
|
|
70
|
+
const v = c("FmTooltip");
|
|
71
|
+
return A(), S(v, {
|
|
72
72
|
variant: "plain",
|
|
73
73
|
placement: "top",
|
|
74
|
-
content:
|
|
74
|
+
content: r.row.original.method.issuer,
|
|
75
75
|
"hide-arrow": !0
|
|
76
76
|
}, {
|
|
77
|
-
default:
|
|
77
|
+
default: o(() => [
|
|
78
78
|
t("img", {
|
|
79
79
|
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
|
80
|
-
src:
|
|
80
|
+
src: d(X)(r.row.original.method.issuer, r.row.original.method.variant)
|
|
81
81
|
}, null, 8, ue)
|
|
82
82
|
]),
|
|
83
83
|
_: 1
|
|
84
84
|
}, 8, ["content"]);
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
|
-
}), de = /* @__PURE__ */
|
|
87
|
+
}), de = /* @__PURE__ */ F({
|
|
88
88
|
__name: "Actions",
|
|
89
89
|
props: {
|
|
90
90
|
row: {},
|
|
91
91
|
data: {}
|
|
92
92
|
},
|
|
93
93
|
emits: ["delete"],
|
|
94
|
-
setup(
|
|
95
|
-
const
|
|
96
|
-
return (
|
|
97
|
-
const T =
|
|
94
|
+
setup(r, { emit: i }) {
|
|
95
|
+
const p = i;
|
|
96
|
+
return (v, b) => {
|
|
97
|
+
const T = c("FmButton");
|
|
98
98
|
return A(), S(T, {
|
|
99
99
|
variant: "plain",
|
|
100
100
|
"prepend-icon": "delete",
|
|
101
|
-
onClick: b[0] || (b[0] = () =>
|
|
101
|
+
onClick: b[0] || (b[0] = () => p("delete"))
|
|
102
102
|
});
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
}), ce = { class: "flex mb-6" }, pe = { class: "my-6 w-[240px]" }, he = /* @__PURE__ */
|
|
105
|
+
}), ce = { class: "flex mb-6" }, pe = { class: "my-6 w-[240px]" }, he = /* @__PURE__ */ F({
|
|
106
106
|
__name: "SettlementTransactions",
|
|
107
107
|
props: {
|
|
108
108
|
settlementId: {
|
|
@@ -110,12 +110,12 @@ const le = /* @__PURE__ */ x({
|
|
|
110
110
|
required: !0
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
setup(
|
|
114
|
-
const
|
|
115
|
-
async function V(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
const e = await P.readBySettlementId(
|
|
113
|
+
setup(r) {
|
|
114
|
+
const i = r, { isLoading: p, startAsyncCall: v, startAsyncCallFn: b } = q(!0), T = J(), L = Q(), O = te(), s = x(), h = x([]), I = x([]);
|
|
115
|
+
async function V(a = !1) {
|
|
116
|
+
v(async () => {
|
|
117
|
+
a || (s.value = await ae.readById(i.settlementId));
|
|
118
|
+
const e = await P.readBySettlementId(i.settlementId);
|
|
119
119
|
h.value = Z(e), I.value = h.value;
|
|
120
120
|
});
|
|
121
121
|
}
|
|
@@ -123,7 +123,7 @@ const le = /* @__PURE__ */ x({
|
|
|
123
123
|
V();
|
|
124
124
|
}
|
|
125
125
|
j(R);
|
|
126
|
-
const D =
|
|
126
|
+
const D = x(""), Y = [
|
|
127
127
|
{
|
|
128
128
|
header: () => "Transaction ID",
|
|
129
129
|
accessorKey: "id"
|
|
@@ -138,7 +138,7 @@ const le = /* @__PURE__ */ x({
|
|
|
138
138
|
meta: {
|
|
139
139
|
textAlign: "center"
|
|
140
140
|
},
|
|
141
|
-
cell: ({ cell:
|
|
141
|
+
cell: ({ cell: a, row: e }) => e.original.method ? N(ie, { row: e, data: a.getValue() }) : ""
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
header: () => "Method",
|
|
@@ -146,7 +146,7 @@ const le = /* @__PURE__ */ x({
|
|
|
146
146
|
meta: {
|
|
147
147
|
textAlign: "center"
|
|
148
148
|
},
|
|
149
|
-
cell: ({ cell:
|
|
149
|
+
cell: ({ cell: a, row: e }) => e.original.method ? N(me, { row: e, data: a.getValue() }) : ""
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
header: () => "Type",
|
|
@@ -154,17 +154,17 @@ const le = /* @__PURE__ */ x({
|
|
|
154
154
|
meta: {
|
|
155
155
|
textAlign: "center"
|
|
156
156
|
},
|
|
157
|
-
cell: ({ row:
|
|
158
|
-
if (!
|
|
157
|
+
cell: ({ row: a }) => {
|
|
158
|
+
if (!a.original.method)
|
|
159
159
|
return "";
|
|
160
|
-
const e =
|
|
160
|
+
const e = a.original.method.variant;
|
|
161
161
|
return e.includes("_ONLINE") ? "ONLINE" : e.includes("_OFFLINE") ? "OFFLINE" : e;
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
header: () => "Status",
|
|
166
166
|
accessorKey: "status",
|
|
167
|
-
cell: ({ cell:
|
|
167
|
+
cell: ({ cell: a, row: e }) => N(le, { row: e, data: a.getValue() })
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
header: () => "Transaction At",
|
|
@@ -188,9 +188,9 @@ const le = /* @__PURE__ */ x({
|
|
|
188
188
|
{
|
|
189
189
|
header: () => "Actions",
|
|
190
190
|
accessorKey: "action",
|
|
191
|
-
cell: ({ cell:
|
|
191
|
+
cell: ({ cell: a, row: e }) => N(de, {
|
|
192
192
|
row: e,
|
|
193
|
-
data:
|
|
193
|
+
data: a.getValue(),
|
|
194
194
|
onDelete: () => oe(
|
|
195
195
|
T,
|
|
196
196
|
"Remove transaction",
|
|
@@ -198,63 +198,63 @@ const le = /* @__PURE__ */ x({
|
|
|
198
198
|
b(async () => {
|
|
199
199
|
try {
|
|
200
200
|
await P.removeTransactionFromSettlement(e.original.id), await V();
|
|
201
|
-
} catch (
|
|
201
|
+
} catch (y) {
|
|
202
202
|
L.open({
|
|
203
203
|
type: "error",
|
|
204
204
|
title: "Error occurs when removing transaction",
|
|
205
|
-
message: ne(
|
|
205
|
+
message: ne(y)
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
})
|
|
209
209
|
)
|
|
210
210
|
})
|
|
211
211
|
}
|
|
212
|
-
], w =
|
|
212
|
+
], w = x("");
|
|
213
213
|
let C;
|
|
214
214
|
return H(w, async () => {
|
|
215
215
|
C && clearTimeout(C), C = setTimeout(() => {
|
|
216
|
-
var
|
|
216
|
+
var a = new RegExp(w.value, "i");
|
|
217
217
|
I.value = h.value.filter((e) => {
|
|
218
|
-
const
|
|
219
|
-
return
|
|
218
|
+
const y = JSON.stringify(e);
|
|
219
|
+
return a.test(y);
|
|
220
220
|
});
|
|
221
221
|
}, 700);
|
|
222
|
-
}), (
|
|
222
|
+
}), (a, e) => {
|
|
223
223
|
var K, $;
|
|
224
|
-
const
|
|
224
|
+
const y = c("FmCardHeader"), _ = c("FmCardSection"), E = c("FmCard"), U = c("FmSearch"), z = c("FmTable");
|
|
225
225
|
return A(), S(ee, {
|
|
226
226
|
title: `Settlement Transactions (${(K = s.value) == null ? void 0 : K._id})`,
|
|
227
|
-
description: `Date: ${
|
|
228
|
-
loading:
|
|
229
|
-
onBack:
|
|
227
|
+
description: `Date: ${d(re)(($ = s.value) == null ? void 0 : $.createdAt).format("YYYY-MM-DD")}`,
|
|
228
|
+
loading: d(p),
|
|
229
|
+
onBack: d(O).back
|
|
230
230
|
}, {
|
|
231
|
-
default:
|
|
231
|
+
default: o(() => [
|
|
232
232
|
t("div", ce, [
|
|
233
|
-
|
|
233
|
+
n(E, {
|
|
234
234
|
horizontal: "",
|
|
235
235
|
class: "flex-1 p-6",
|
|
236
236
|
variant: "elevated"
|
|
237
237
|
}, {
|
|
238
|
-
default:
|
|
239
|
-
|
|
240
|
-
default:
|
|
241
|
-
|
|
238
|
+
default: o(() => [
|
|
239
|
+
n(_, { class: "flex flex-col gap-16 justify-between" }, {
|
|
240
|
+
default: o(() => [
|
|
241
|
+
n(y, {
|
|
242
242
|
class: "p-0",
|
|
243
243
|
title: "Transaction Info",
|
|
244
244
|
subtitle: ""
|
|
245
245
|
}),
|
|
246
|
-
|
|
247
|
-
default:
|
|
246
|
+
n(_, { class: "p-0" }, {
|
|
247
|
+
default: o(() => {
|
|
248
248
|
var l, f, g, M;
|
|
249
249
|
return [
|
|
250
250
|
e[2] || (e[2] = t("b", null, "For", -1)),
|
|
251
|
-
|
|
251
|
+
m(": " + u((f = (l = s.value) == null ? void 0 : l.store) == null ? void 0 : f.event) + " ", 1),
|
|
252
252
|
e[3] || (e[3] = t("br", null, null, -1)),
|
|
253
253
|
e[4] || (e[4] = t("b", null, "Reference", -1)),
|
|
254
|
-
|
|
254
|
+
m(": " + u((M = (g = s.value) == null ? void 0 : g.store) == null ? void 0 : M.id), 1),
|
|
255
255
|
e[5] || (e[5] = t("br", null, null, -1)),
|
|
256
256
|
e[6] || (e[6] = t("b", null, "Transaction", -1)),
|
|
257
|
-
|
|
257
|
+
m(": " + u(h.value.length), 1)
|
|
258
258
|
];
|
|
259
259
|
}),
|
|
260
260
|
_: 1
|
|
@@ -265,31 +265,31 @@ const le = /* @__PURE__ */ x({
|
|
|
265
265
|
]),
|
|
266
266
|
_: 1
|
|
267
267
|
}),
|
|
268
|
-
|
|
268
|
+
n(E, {
|
|
269
269
|
horizontal: "",
|
|
270
270
|
class: "flex-1 p-6 mx-6",
|
|
271
271
|
variant: "elevated"
|
|
272
272
|
}, {
|
|
273
|
-
default:
|
|
274
|
-
|
|
275
|
-
default:
|
|
276
|
-
|
|
273
|
+
default: o(() => [
|
|
274
|
+
n(_, { class: "flex flex-col gap-16 justify-between" }, {
|
|
275
|
+
default: o(() => [
|
|
276
|
+
n(y, {
|
|
277
277
|
class: "p-0",
|
|
278
278
|
title: "Bank Info",
|
|
279
279
|
subtitle: ""
|
|
280
280
|
}),
|
|
281
|
-
|
|
282
|
-
default:
|
|
281
|
+
n(_, { class: "p-0" }, {
|
|
282
|
+
default: o(() => {
|
|
283
283
|
var l, f, g;
|
|
284
284
|
return [
|
|
285
285
|
e[7] || (e[7] = t("b", null, "Bank", -1)),
|
|
286
|
-
|
|
286
|
+
m(": " + u((l = s.value) == null ? void 0 : l.beneficiaryBank.name), 1),
|
|
287
287
|
e[8] || (e[8] = t("br", null, null, -1)),
|
|
288
288
|
e[9] || (e[9] = t("b", null, "Name", -1)),
|
|
289
|
-
|
|
289
|
+
m(": " + u((f = s.value) == null ? void 0 : f.beneficiaryBank.holderName), 1),
|
|
290
290
|
e[10] || (e[10] = t("br", null, null, -1)),
|
|
291
291
|
e[11] || (e[11] = t("b", null, "Number", -1)),
|
|
292
|
-
|
|
292
|
+
m(": " + u((g = s.value) == null ? void 0 : g.beneficiaryBank.accountNumber), 1)
|
|
293
293
|
];
|
|
294
294
|
}),
|
|
295
295
|
_: 1
|
|
@@ -300,31 +300,31 @@ const le = /* @__PURE__ */ x({
|
|
|
300
300
|
]),
|
|
301
301
|
_: 1
|
|
302
302
|
}),
|
|
303
|
-
|
|
303
|
+
n(E, {
|
|
304
304
|
horizontal: "",
|
|
305
305
|
class: "flex-1 p-6",
|
|
306
306
|
variant: "elevated"
|
|
307
307
|
}, {
|
|
308
|
-
default:
|
|
309
|
-
|
|
310
|
-
default:
|
|
311
|
-
|
|
308
|
+
default: o(() => [
|
|
309
|
+
n(_, { class: "flex flex-col gap-16 justify-between" }, {
|
|
310
|
+
default: o(() => [
|
|
311
|
+
n(y, {
|
|
312
312
|
class: "p-0",
|
|
313
313
|
title: "Payout Info",
|
|
314
314
|
subtitle: ""
|
|
315
315
|
}),
|
|
316
|
-
|
|
317
|
-
default:
|
|
316
|
+
n(_, { class: "p-0" }, {
|
|
317
|
+
default: o(() => {
|
|
318
318
|
var l, f, g;
|
|
319
319
|
return [
|
|
320
320
|
e[12] || (e[12] = t("b", null, "Amount", -1)),
|
|
321
|
-
|
|
321
|
+
m(": " + u(d(B)((l = s.value) == null ? void 0 : l.totalAmount).toFormat("$0.00")), 1),
|
|
322
322
|
e[13] || (e[13] = t("br", null, null, -1)),
|
|
323
323
|
e[14] || (e[14] = t("b", null, "Fee", -1)),
|
|
324
|
-
|
|
324
|
+
m(": " + u(d(B)((f = s.value) == null ? void 0 : f.totalFee).toFormat("$0.00")), 1),
|
|
325
325
|
e[15] || (e[15] = t("br", null, null, -1)),
|
|
326
326
|
e[16] || (e[16] = t("b", null, "Payout", -1)),
|
|
327
|
-
|
|
327
|
+
m(": " + u(d(B)((g = s.value) == null ? void 0 : g.totalPayout).toFormat("$0.00")), 1)
|
|
328
328
|
];
|
|
329
329
|
}),
|
|
330
330
|
_: 1
|
|
@@ -337,20 +337,20 @@ const le = /* @__PURE__ */ x({
|
|
|
337
337
|
})
|
|
338
338
|
]),
|
|
339
339
|
t("div", pe, [
|
|
340
|
-
|
|
340
|
+
n(U, {
|
|
341
341
|
modelValue: w.value,
|
|
342
342
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => w.value = l),
|
|
343
343
|
placeholder: "Search Transactions ..."
|
|
344
344
|
}, null, 8, ["modelValue"])
|
|
345
345
|
]),
|
|
346
|
-
|
|
346
|
+
n(z, {
|
|
347
347
|
modelValue: D.value,
|
|
348
348
|
"onUpdate:modelValue": e[1] || (e[1] = (l) => D.value = l),
|
|
349
349
|
"shrink-at": !1,
|
|
350
350
|
"search-value": w.value,
|
|
351
351
|
"row-data": I.value,
|
|
352
352
|
"column-defs": Y,
|
|
353
|
-
loading:
|
|
353
|
+
loading: d(p)
|
|
354
354
|
}, null, 8, ["modelValue", "search-value", "row-data", "loading"])
|
|
355
355
|
]),
|
|
356
356
|
_: 1
|