@feedmepos/mf-payment 1.1.7 → 1.1.8
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/{PayoutAccount-C362ShA8.js → PayoutAccount-BAXvKwol.js} +5 -5
- package/dist/{PayoutAccount-CAdClj2Y.js → PayoutAccount-C9TC-nLW.js} +3 -3
- package/dist/{PayoutAccountSetting-Cbl5b1Jr.js → PayoutAccountSetting-CsY4Dr_E.js} +3 -3
- package/dist/{Restaurant-ClDu-bSv.js → Restaurant-C9GmwxpU.js} +4 -4
- package/dist/{RestaurantSetting-D5h5RoHf.js → RestaurantSetting-DaSalR0b.js} +3 -3
- package/dist/Settlement-BvUs3MyQ.js +454 -0
- package/dist/Settlement-C7oFzVbb.js +219 -0
- package/dist/{SettlementTransactions-Cpaq8K6x.js → SettlementTransactions-BRo_oigl.js} +75 -69
- package/dist/{SettlementTransactions-DIvLOEw6.js → SettlementTransactions-qSgW0VCV.js} +80 -78
- package/dist/{Terminal-Cmed6xrj.js → Terminal-DXGKrm3G.js} +5 -5
- package/dist/TerminalSetting-bLxGkMlN.js +497 -0
- package/dist/{Transaction-BQn5rvxe.js → Transaction-B7ICajHR.js} +6 -6
- package/dist/{Transaction-8m9pEyyX.js → Transaction-BI2ZRsxe.js} +52 -47
- package/dist/{TransactionOld-CX-Odthg.js → TransactionOld-GLsvtHyF.js} +5 -5
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BX7YIl4i.js → TransactionTable.vue_vue_type_script_setup_true_lang-UjV7RID1.js} +12 -8
- package/dist/api/settlement/index.d.ts +1 -1
- package/dist/api/terminal/index.d.ts +4 -0
- package/dist/api/transaction/index.d.ts +1 -1
- package/dist/{app-QYQdqlqy.js → app-DVnyclnX.js} +327 -321
- package/dist/app.d.ts +6 -0
- package/dist/app.js +1 -1
- package/dist/{assets-Da-9jPqG.js → assets-BZmrImt4.js} +49 -52
- package/dist/{grafana-BDr-LF8O.js → grafana-DRnPxAqM.js} +1 -1
- package/dist/{index-0Dl-qVTd.js → index-BMF26WT4.js} +29 -29
- package/dist/{index-DFq7xhNQ.js → index-C1Hgyi3j.js} +1 -1
- package/dist/{index-Dg0Vf3qd.js → index-CD59SyVI.js} +1 -1
- package/dist/{index-DTH2dIPG.js → index-DZMn5Qjp.js} +796 -796
- package/dist/{index-Dq07OgOJ.js → index-a-Vqap7Z.js} +9 -1
- package/dist/{index-DbBsTEVS.js → index-gSE1T266.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-JHB8s5dZ.js → index.vue_vue_type_script_setup_true_lang-FgXpWvbs.js} +1 -1
- package/dist/model/transaction.d.ts +3 -0
- package/dist/package.json +1 -1
- package/dist/{payout-account--IA1DbB5.js → payout-account-B76ODsn2.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +87 -0
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +87 -0
- package/package.json +1 -1
- package/dist/Settlement-B06tIr4_.js +0 -445
- package/dist/Settlement-C2BVxmir.js +0 -219
- package/dist/TerminalSetting-BrTRbBF7.js +0 -389
@@ -0,0 +1,219 @@
|
|
1
|
+
import { defineComponent as M, ref as h, computed as T, resolveComponent as d, openBlock as F, createBlock as Y, 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-DZMn5Qjp.js";
|
3
|
+
import { h as S } from "./moment-h96o7c8I.js";
|
4
|
+
import { s as _ } from "./index-BMF26WT4.js";
|
5
|
+
import { useSnackbar as U } from "@feedmepos/ui-library";
|
6
|
+
import { d as w } from "./dinero-CIVmXLL-.js";
|
7
|
+
import { _ as q } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
8
|
+
import { useRouter as J } from "vue-router";
|
9
|
+
import { _ as j } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
10
|
+
import { u as z } from "./index-C1Hgyi3j.js";
|
11
|
+
import { u as G } from "./error-K1CakhA9.js";
|
12
|
+
import { _ as Q } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
13
|
+
import "@feedmepos/mf-common";
|
14
|
+
const H = /* @__PURE__ */ M({
|
15
|
+
__name: "SettlementTable",
|
16
|
+
props: {
|
17
|
+
data: {
|
18
|
+
type: Array,
|
19
|
+
required: !0
|
20
|
+
},
|
21
|
+
loading: {
|
22
|
+
type: Boolean,
|
23
|
+
required: !0
|
24
|
+
}
|
25
|
+
},
|
26
|
+
emits: ["row-click"],
|
27
|
+
setup(D, { emit: p }) {
|
28
|
+
const m = D, f = p, n = h(""), u = [
|
29
|
+
{
|
30
|
+
header: () => "Settlement ID",
|
31
|
+
accessorKey: "id",
|
32
|
+
cell: ({ cell: a }) => E(q, { data: a.getValue() })
|
33
|
+
},
|
34
|
+
{
|
35
|
+
header: () => "Created At",
|
36
|
+
accessorKey: "transactionAt",
|
37
|
+
meta: {
|
38
|
+
width: "180px"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
{
|
42
|
+
header: () => "Sales Amount",
|
43
|
+
accessorKey: "amount"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
header: () => "Fee",
|
47
|
+
accessorKey: "fee"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
header: () => "Settlement Amount",
|
51
|
+
accessorKey: "payout"
|
52
|
+
}
|
53
|
+
], y = T(() => m.data.map((a) => ({
|
54
|
+
id: a._id,
|
55
|
+
transactionAt: S(a.createdAt).format("YYYY-MM-DD"),
|
56
|
+
amount: w(a.totalAmount).toFormat("$0.00"),
|
57
|
+
fee: w(a.totalFee).toFormat("$0.00"),
|
58
|
+
payout: w(a.totalPayout).toFormat("$0.00")
|
59
|
+
})));
|
60
|
+
return (a, e) => {
|
61
|
+
const l = d("FmTable");
|
62
|
+
return F(), Y(l, {
|
63
|
+
modelValue: n.value,
|
64
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => n.value = s),
|
65
|
+
"row-data": y.value,
|
66
|
+
"shrink-at": !1,
|
67
|
+
"column-defs": u,
|
68
|
+
loading: m.loading,
|
69
|
+
onRowClick: e[1] || (e[1] = (s) => f("row-click", m.data.at(s.index)))
|
70
|
+
}, null, 8, ["modelValue", "row-data", "loading"]);
|
71
|
+
};
|
72
|
+
}
|
73
|
+
}), W = { class: "flex justify-between items-center mb-6" }, X = { class: "flex space-x-4 items-end" }, Z = { class: "flex space-x-4" }, fe = /* @__PURE__ */ M({
|
74
|
+
__name: "Settlement",
|
75
|
+
setup(D) {
|
76
|
+
const { isLoading: p, startAsyncCall: m } = A(!0), f = A(!1), n = h([]), u = h([]), y = J(), a = U(), { dateRange: e, searchKey: l } = z({
|
77
|
+
searchKey: "",
|
78
|
+
dateRange: {
|
79
|
+
startDate: S().startOf("day").format("YYYY-MM-DD"),
|
80
|
+
endDate: S().endOf("day").format("YYYY-MM-DD")
|
81
|
+
}
|
82
|
+
});
|
83
|
+
C(e, x);
|
84
|
+
let s;
|
85
|
+
C(l, async () => {
|
86
|
+
s && clearTimeout(s), s = setTimeout(() => {
|
87
|
+
var v = new RegExp(l.value, "i");
|
88
|
+
u.value = n.value.filter((o) => {
|
89
|
+
const c = JSON.stringify(o);
|
90
|
+
return v.test(c);
|
91
|
+
});
|
92
|
+
}, 700);
|
93
|
+
});
|
94
|
+
async function x() {
|
95
|
+
await m(async () => {
|
96
|
+
const v = await _.readByDate(
|
97
|
+
{
|
98
|
+
start: e.value.startDate,
|
99
|
+
end: e.value.endDate
|
100
|
+
}
|
101
|
+
);
|
102
|
+
if (n.value = v, u.value = n.value, l.value > "") {
|
103
|
+
var o = new RegExp(l.value, "i");
|
104
|
+
u.value = n.value.filter((c) => {
|
105
|
+
const b = JSON.stringify(c);
|
106
|
+
return o.test(b);
|
107
|
+
});
|
108
|
+
}
|
109
|
+
});
|
110
|
+
}
|
111
|
+
function V() {
|
112
|
+
x();
|
113
|
+
}
|
114
|
+
L(V);
|
115
|
+
const B = [
|
116
|
+
{
|
117
|
+
label: "Audit Report",
|
118
|
+
sublabel: "Full transactions details report from each payment providers.",
|
119
|
+
icon: "file_download",
|
120
|
+
value: "auditReport",
|
121
|
+
onClick: () => _.downloadSettlementReport({
|
122
|
+
start: e.value.startDate,
|
123
|
+
end: e.value.endDate
|
124
|
+
})
|
125
|
+
},
|
126
|
+
{
|
127
|
+
label: "Summary Report",
|
128
|
+
sublabel: "Summarized settlement information for each payout accounts.",
|
129
|
+
icon: "account_balance",
|
130
|
+
value: "summaryReport",
|
131
|
+
onClick: () => _.downloadSummaryReport(n.value, {
|
132
|
+
start: e.value.startDate,
|
133
|
+
end: e.value.endDate
|
134
|
+
})
|
135
|
+
},
|
136
|
+
{
|
137
|
+
label: "Bank Instruction File",
|
138
|
+
sublabel: "Generate bank instruction file based on bank formats.",
|
139
|
+
icon: "description",
|
140
|
+
value: "bankInstructionFile",
|
141
|
+
onClick: () => _.downloadBankInstructionFile(n.value)
|
142
|
+
}
|
143
|
+
];
|
144
|
+
return (v, o) => {
|
145
|
+
const c = d("FmSearch"), b = d("FmButton"), I = d("FmMenuItem"), $ = d("FmMenu");
|
146
|
+
return F(), Y(j, {
|
147
|
+
title: "Settlements",
|
148
|
+
loading: r(p)
|
149
|
+
}, {
|
150
|
+
default: g(() => [
|
151
|
+
k("div", W, [
|
152
|
+
k("div", X, [
|
153
|
+
i(c, {
|
154
|
+
"model-value": r(l),
|
155
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => R(l) ? l.value = t : null),
|
156
|
+
class: "mr-8",
|
157
|
+
label: "Search",
|
158
|
+
placeholder: "Search Settlements ..."
|
159
|
+
}, null, 8, ["model-value"]),
|
160
|
+
i(Q, {
|
161
|
+
modelValue: r(e),
|
162
|
+
"onUpdate:modelValue": o[1] || (o[1] = (t) => R(e) ? e.value = t : null)
|
163
|
+
}, null, 8, ["modelValue"])
|
164
|
+
]),
|
165
|
+
k("div", Z, [
|
166
|
+
i($, { trigger: "click" }, {
|
167
|
+
"menu-button": g(() => [
|
168
|
+
i(b, {
|
169
|
+
variant: "primary",
|
170
|
+
"append-icon": "arrow_drop_down",
|
171
|
+
label: "Actions",
|
172
|
+
loading: r(f).isLoading.value
|
173
|
+
}, null, 8, ["loading"])
|
174
|
+
]),
|
175
|
+
default: g(() => [
|
176
|
+
(F(), N(O, null, P(B, (t) => i(I, {
|
177
|
+
key: t.value,
|
178
|
+
label: t.label,
|
179
|
+
icon: t.icon,
|
180
|
+
sublabel: t.sublabel,
|
181
|
+
selectable: !0,
|
182
|
+
onClick: (ee) => {
|
183
|
+
r(f).startAsyncCall(async () => {
|
184
|
+
try {
|
185
|
+
await t.onClick();
|
186
|
+
} catch (K) {
|
187
|
+
r(a).open({
|
188
|
+
type: "error",
|
189
|
+
title: "Error",
|
190
|
+
message: r(G)(K)
|
191
|
+
});
|
192
|
+
}
|
193
|
+
});
|
194
|
+
}
|
195
|
+
}, null, 8, ["label", "icon", "sublabel", "onClick"])), 64))
|
196
|
+
]),
|
197
|
+
_: 1
|
198
|
+
})
|
199
|
+
])
|
200
|
+
]),
|
201
|
+
i(H, {
|
202
|
+
loading: r(p),
|
203
|
+
data: u.value,
|
204
|
+
onRowClick: o[2] || (o[2] = (t) => r(y).push({
|
205
|
+
name: "mf-payment-admin.settlement-transaction",
|
206
|
+
params: {
|
207
|
+
settlementId: t._id
|
208
|
+
}
|
209
|
+
}))
|
210
|
+
}, null, 8, ["loading", "data"])
|
211
|
+
]),
|
212
|
+
_: 1
|
213
|
+
}, 8, ["loading"]);
|
214
|
+
};
|
215
|
+
}
|
216
|
+
});
|
217
|
+
export {
|
218
|
+
fe as default
|
219
|
+
};
|
@@ -1,13 +1,14 @@
|
|
1
|
-
import { defineComponent as w, resolveComponent as g, openBlock as
|
2
|
-
import { e as C, u as
|
1
|
+
import { defineComponent as w, resolveComponent as g, openBlock as F, createBlock as M, normalizeClass as z, withCtx as u, createElementVNode as l, toDisplayString as n, createElementBlock as O, unref as a, ref as v, onMounted as G, watch as L, createVNode as o, createTextVNode as d, h as I } from "vue";
|
2
|
+
import { e as C, u as H } from "./index-DZMn5Qjp.js";
|
3
3
|
import "@feedmepos/ui-library";
|
4
4
|
import { d as E } from "./dinero-CIVmXLL-.js";
|
5
|
-
import { g as
|
6
|
-
import { _ as
|
7
|
-
import { useRouter as
|
8
|
-
import { s as
|
9
|
-
import { useI18n as
|
10
|
-
|
5
|
+
import { g as q, a as J, t as Q, b as W } from "./assets-BZmrImt4.js";
|
6
|
+
import { _ as X } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
7
|
+
import { useRouter as Z } from "vue-router";
|
8
|
+
import { s as ee } from "./index-BMF26WT4.js";
|
9
|
+
import { useI18n as te, useCoreStore as ae } from "@feedmepos/mf-common";
|
10
|
+
import { h as ne } from "./moment-h96o7c8I.js";
|
11
|
+
const le = /* @__PURE__ */ w({
|
11
12
|
__name: "Status",
|
12
13
|
props: {
|
13
14
|
row: {},
|
@@ -19,43 +20,43 @@ const ae = /* @__PURE__ */ w({
|
|
19
20
|
return e.data === C.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : e.data === C.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : e.data === C.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
20
21
|
}
|
21
22
|
return (h, k) => {
|
22
|
-
const
|
23
|
-
return
|
23
|
+
const T = g("FmBadge");
|
24
|
+
return F(), M(T, {
|
24
25
|
inline: "",
|
25
26
|
class: z(f())
|
26
27
|
}, {
|
27
|
-
default:
|
28
|
+
default: u(() => [
|
28
29
|
l("div", null, n(h.data), 1)
|
29
30
|
]),
|
30
31
|
_: 1
|
31
32
|
}, 8, ["class"]);
|
32
33
|
};
|
33
34
|
}
|
34
|
-
}),
|
35
|
+
}), oe = ["src"], se = /* @__PURE__ */ w({
|
35
36
|
__name: "Gateway",
|
36
37
|
props: {
|
37
38
|
row: {},
|
38
39
|
data: {}
|
39
40
|
},
|
40
41
|
setup(_) {
|
41
|
-
return (e, f) => (
|
42
|
+
return (e, f) => (F(), O("img", {
|
42
43
|
class: "rounded-md m-auto border-transparent object-contain w-[32px] h-[32px]",
|
43
|
-
src: a(
|
44
|
-
}, null, 8,
|
44
|
+
src: a(q)(e.row.original.gateway)
|
45
|
+
}, null, 8, oe));
|
45
46
|
}
|
46
|
-
}),
|
47
|
+
}), re = ["src"], ie = /* @__PURE__ */ w({
|
47
48
|
__name: "Method",
|
48
49
|
props: {
|
49
50
|
row: {},
|
50
51
|
data: {}
|
51
52
|
},
|
52
53
|
setup(_) {
|
53
|
-
return (e, f) => (
|
54
|
+
return (e, f) => (F(), O("img", {
|
54
55
|
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
55
|
-
src: a(
|
56
|
-
}, null, 8,
|
56
|
+
src: a(J)(e.row.original.method.issuer, e.row.original.method.variant)
|
57
|
+
}, null, 8, re));
|
57
58
|
}
|
58
|
-
}),
|
59
|
+
}), ue = { class: "flex mb-6" }, de = { class: "my-6 w-[240px]" }, xe = /* @__PURE__ */ w({
|
59
60
|
__name: "SettlementTransactions",
|
60
61
|
props: {
|
61
62
|
settlementId: {
|
@@ -64,19 +65,19 @@ const ae = /* @__PURE__ */ w({
|
|
64
65
|
}
|
65
66
|
},
|
66
67
|
setup(_) {
|
67
|
-
const { t: e } =
|
68
|
-
async function
|
68
|
+
const { t: e } = te(), f = _, { isLoading: h, startAsyncCall: k } = H(!0), { currentRestaurant: T } = ae(), D = Z(), i = v(), x = v([]), N = v([]);
|
69
|
+
async function Y(s = !1) {
|
69
70
|
k(async () => {
|
70
|
-
s || (
|
71
|
-
const t = await
|
72
|
-
x.value =
|
71
|
+
s || (i.value = await ee.readRestaurantSettlementById(f.settlementId));
|
72
|
+
const t = await Q.readRestaurantTransactionsBySettlementId(f.settlementId);
|
73
|
+
x.value = W(t), N.value = x.value;
|
73
74
|
});
|
74
75
|
}
|
75
76
|
function B() {
|
76
|
-
|
77
|
+
Y();
|
77
78
|
}
|
78
|
-
G(B),
|
79
|
-
const
|
79
|
+
G(B), L(T, B);
|
80
|
+
const $ = v(""), P = [
|
80
81
|
{
|
81
82
|
header: () => e("settlements.dialog.feedme.id"),
|
82
83
|
accessorKey: "id"
|
@@ -91,7 +92,7 @@ const ae = /* @__PURE__ */ w({
|
|
91
92
|
meta: {
|
92
93
|
textAlign: "center"
|
93
94
|
},
|
94
|
-
cell: ({ cell: s, row: t }) => t.original.method ? I(
|
95
|
+
cell: ({ cell: s, row: t }) => t.original.method ? I(se, { row: t, data: s.getValue() }) : ""
|
95
96
|
},
|
96
97
|
{
|
97
98
|
header: () => e("settlements.dialog.feedme.method"),
|
@@ -99,7 +100,11 @@ const ae = /* @__PURE__ */ w({
|
|
99
100
|
meta: {
|
100
101
|
textAlign: "center"
|
101
102
|
},
|
102
|
-
cell: ({ cell: s, row: t }) => t.original.method ? I(
|
103
|
+
cell: ({ cell: s, row: t }) => t.original.method ? I(ie, { row: t, data: s.getValue() }) : ""
|
104
|
+
},
|
105
|
+
{
|
106
|
+
header: () => e("settlements.dialog.feedme.payFor"),
|
107
|
+
accessorKey: "payFor"
|
103
108
|
},
|
104
109
|
{
|
105
110
|
header: () => e("settlements.dialog.feedme.type"),
|
@@ -117,7 +122,7 @@ const ae = /* @__PURE__ */ w({
|
|
117
122
|
{
|
118
123
|
header: () => e("settlements.dialog.feedme.status"),
|
119
124
|
accessorKey: "status",
|
120
|
-
cell: ({ cell: s, row: t }) => I(
|
125
|
+
cell: ({ cell: s, row: t }) => I(le, { row: t, data: s.getValue() })
|
121
126
|
},
|
122
127
|
{
|
123
128
|
header: () => e("settlements.dialog.feedme.transaction_at"),
|
@@ -139,9 +144,9 @@ const ae = /* @__PURE__ */ w({
|
|
139
144
|
accessorKey: "payout"
|
140
145
|
}
|
141
146
|
], y = v("");
|
142
|
-
let
|
143
|
-
return
|
144
|
-
|
147
|
+
let A;
|
148
|
+
return L(y, async () => {
|
149
|
+
A && clearTimeout(A), A = setTimeout(() => {
|
145
150
|
var s = new RegExp(y.value, "i");
|
146
151
|
N.value = x.value.filter((t) => {
|
147
152
|
const b = JSON.stringify(t);
|
@@ -149,37 +154,38 @@ const ae = /* @__PURE__ */ w({
|
|
149
154
|
});
|
150
155
|
}, 700);
|
151
156
|
}), (s, t) => {
|
152
|
-
var K;
|
153
|
-
const b = g("FmCardHeader"), p = g("FmCardSection"),
|
154
|
-
return
|
155
|
-
title: `${a(e)("settlements.dialog.title")} (${(K =
|
157
|
+
var K, V;
|
158
|
+
const b = g("FmCardHeader"), p = g("FmCardSection"), S = g("FmCard"), U = g("FmSearch"), j = g("FmTable");
|
159
|
+
return F(), M(X, {
|
160
|
+
title: `${a(e)("settlements.dialog.title")} (${(K = i.value) == null ? void 0 : K._id})`,
|
161
|
+
description: `${a(e)("settlements.dialog.date")}: ${a(ne)((V = i.value) == null ? void 0 : V.createdAt).format("YYYY-MM-DD")}`,
|
156
162
|
loading: a(h),
|
157
|
-
onBack: a(
|
163
|
+
onBack: a(D).back
|
158
164
|
}, {
|
159
|
-
default:
|
160
|
-
l("div",
|
161
|
-
o(
|
165
|
+
default: u(() => [
|
166
|
+
l("div", ue, [
|
167
|
+
o(S, {
|
162
168
|
horizontal: "",
|
163
169
|
class: "flex-1 p-6",
|
164
170
|
variant: "elevated"
|
165
171
|
}, {
|
166
|
-
default:
|
172
|
+
default: u(() => [
|
167
173
|
o(p, { class: "flex flex-col gap-16 justify-between" }, {
|
168
|
-
default:
|
174
|
+
default: u(() => [
|
169
175
|
o(b, {
|
170
176
|
class: "p-0",
|
171
177
|
title: a(e)("settlements.dialog.info.transaction.title"),
|
172
178
|
subtitle: ""
|
173
179
|
}, null, 8, ["title"]),
|
174
180
|
o(p, { class: "p-0" }, {
|
175
|
-
default:
|
176
|
-
var r, m, c,
|
181
|
+
default: u(() => {
|
182
|
+
var r, m, c, R;
|
177
183
|
return [
|
178
184
|
l("b", null, n(a(e)("settlements.dialog.info.transaction.for")), 1),
|
179
|
-
d(": " + n((m = (r =
|
185
|
+
d(": " + n((m = (r = i.value) == null ? void 0 : r.store) == null ? void 0 : m.event) + " ", 1),
|
180
186
|
t[2] || (t[2] = l("br", null, null, -1)),
|
181
187
|
l("b", null, n(a(e)("settlements.dialog.info.transaction.reference")), 1),
|
182
|
-
d(": " + n((
|
188
|
+
d(": " + n((R = (c = i.value) == null ? void 0 : c.store) == null ? void 0 : R.id), 1),
|
183
189
|
t[3] || (t[3] = l("br", null, null, -1)),
|
184
190
|
l("b", null, n(a(e)("settlements.dialog.info.transaction.count")), 1),
|
185
191
|
d(": " + n(x.value.length), 1)
|
@@ -193,31 +199,31 @@ const ae = /* @__PURE__ */ w({
|
|
193
199
|
]),
|
194
200
|
_: 1
|
195
201
|
}),
|
196
|
-
o(
|
202
|
+
o(S, {
|
197
203
|
horizontal: "",
|
198
204
|
class: "flex-1 p-6 mx-6",
|
199
205
|
variant: "elevated"
|
200
206
|
}, {
|
201
|
-
default:
|
207
|
+
default: u(() => [
|
202
208
|
o(p, { class: "flex flex-col gap-16 justify-between" }, {
|
203
|
-
default:
|
209
|
+
default: u(() => [
|
204
210
|
o(b, {
|
205
211
|
class: "p-0",
|
206
212
|
title: a(e)("settlements.dialog.info.bank.title"),
|
207
213
|
subtitle: ""
|
208
214
|
}, null, 8, ["title"]),
|
209
215
|
o(p, { class: "p-0" }, {
|
210
|
-
default:
|
216
|
+
default: u(() => {
|
211
217
|
var r, m, c;
|
212
218
|
return [
|
213
219
|
l("b", null, n(a(e)("settlements.dialog.info.bank.for")), 1),
|
214
|
-
d(": " + n((r =
|
220
|
+
d(": " + n((r = i.value) == null ? void 0 : r.beneficiaryBank.name), 1),
|
215
221
|
t[4] || (t[4] = l("br", null, null, -1)),
|
216
222
|
l("b", null, n(a(e)("settlements.dialog.info.bank.name")), 1),
|
217
|
-
d(": " + n((m =
|
223
|
+
d(": " + n((m = i.value) == null ? void 0 : m.beneficiaryBank.holderName), 1),
|
218
224
|
t[5] || (t[5] = l("br", null, null, -1)),
|
219
225
|
l("b", null, n(a(e)("settlements.dialog.info.bank.number")), 1),
|
220
|
-
d(": " + n((c =
|
226
|
+
d(": " + n((c = i.value) == null ? void 0 : c.beneficiaryBank.accountNumber), 1)
|
221
227
|
];
|
222
228
|
}),
|
223
229
|
_: 1
|
@@ -228,31 +234,31 @@ const ae = /* @__PURE__ */ w({
|
|
228
234
|
]),
|
229
235
|
_: 1
|
230
236
|
}),
|
231
|
-
o(
|
237
|
+
o(S, {
|
232
238
|
horizontal: "",
|
233
239
|
class: "flex-1 p-6",
|
234
240
|
variant: "elevated"
|
235
241
|
}, {
|
236
|
-
default:
|
242
|
+
default: u(() => [
|
237
243
|
o(p, { class: "flex flex-col gap-16 justify-between" }, {
|
238
|
-
default:
|
244
|
+
default: u(() => [
|
239
245
|
o(b, {
|
240
246
|
class: "p-0",
|
241
247
|
title: a(e)("settlements.dialog.info.payout.title"),
|
242
248
|
subtitle: ""
|
243
249
|
}, null, 8, ["title"]),
|
244
250
|
o(p, { class: "p-0" }, {
|
245
|
-
default:
|
251
|
+
default: u(() => {
|
246
252
|
var r, m, c;
|
247
253
|
return [
|
248
254
|
l("b", null, n(a(e)("settlements.dialog.info.payout.amount")), 1),
|
249
|
-
d(": " + n(a(E)((r =
|
255
|
+
d(": " + n(a(E)((r = i.value) == null ? void 0 : r.totalAmount).toFormat("$0.00")), 1),
|
250
256
|
t[6] || (t[6] = l("br", null, null, -1)),
|
251
257
|
l("b", null, n(a(e)("settlements.dialog.info.payout.fee")), 1),
|
252
|
-
d(": " + n(a(E)((m =
|
258
|
+
d(": " + n(a(E)((m = i.value) == null ? void 0 : m.totalFee).toFormat("$0.00")), 1),
|
253
259
|
t[7] || (t[7] = l("br", null, null, -1)),
|
254
260
|
l("b", null, n(a(e)("settlements.dialog.info.payout.payout")), 1),
|
255
|
-
d(": " + n(a(E)((c =
|
261
|
+
d(": " + n(a(E)((c = i.value) == null ? void 0 : c.totalPayout).toFormat("$0.00")), 1)
|
256
262
|
];
|
257
263
|
}),
|
258
264
|
_: 1
|
@@ -264,28 +270,28 @@ const ae = /* @__PURE__ */ w({
|
|
264
270
|
_: 1
|
265
271
|
})
|
266
272
|
]),
|
267
|
-
l("div",
|
268
|
-
o(
|
273
|
+
l("div", de, [
|
274
|
+
o(U, {
|
269
275
|
modelValue: y.value,
|
270
276
|
"onUpdate:modelValue": t[0] || (t[0] = (r) => y.value = r),
|
271
277
|
placeholder: a(e)("settlements.dialog.search")
|
272
278
|
}, null, 8, ["modelValue", "placeholder"])
|
273
279
|
]),
|
274
280
|
o(j, {
|
275
|
-
modelValue:
|
276
|
-
"onUpdate:modelValue": t[1] || (t[1] = (r) =>
|
281
|
+
modelValue: $.value,
|
282
|
+
"onUpdate:modelValue": t[1] || (t[1] = (r) => $.value = r),
|
277
283
|
"shrink-at": !1,
|
278
284
|
"search-value": y.value,
|
279
285
|
"row-data": N.value,
|
280
|
-
"column-defs":
|
286
|
+
"column-defs": P,
|
281
287
|
loading: a(h)
|
282
288
|
}, null, 8, ["modelValue", "search-value", "row-data", "loading"])
|
283
289
|
]),
|
284
290
|
_: 1
|
285
|
-
}, 8, ["title", "loading", "onBack"]);
|
291
|
+
}, 8, ["title", "description", "loading", "onBack"]);
|
286
292
|
};
|
287
293
|
}
|
288
294
|
});
|
289
295
|
export {
|
290
|
-
|
296
|
+
xe as default
|
291
297
|
};
|