@feedmepos/mf-payment 1.5.32 → 1.5.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OnboardForm-CYi23B5W.js → OnboardForm-Dlq2AiT4.js} +1 -1
- package/dist/{OnboardForm-KmeH02NT.js → OnboardForm-Dnjh1Nk_.js} +1 -1
- package/dist/{PayoutAccount-BoAk6bAJ.js → PayoutAccount-DmKO3q2L.js} +1 -1
- package/dist/{PayoutAccount-Chnd0ju2.js → PayoutAccount-DrTvpBy9.js} +1 -1
- package/dist/{Transaction-CWFcreph.js → Transaction-A-sOT2PE.js} +71 -56
- package/dist/{Transaction-i64HFmDS.js → Transaction-CbZRbUDH.js} +21 -16
- package/dist/{app-qXQYeZu4.js → app-CEHONMRw.js} +6 -6
- package/dist/app.js +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-DastTZBH.js → payout-account-CbxRdhNQ.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import { p as En } from "./index-Dq4IAN2N.js";
|
|
|
8
8
|
import { useSnackbar as Vn, useFormChild as Kn, useDialog as Qn } from "@feedmepos/ui-library";
|
|
9
9
|
import { u as yn } from "./index-T2CVm7-_.js";
|
|
10
10
|
import { s as Sn } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
11
|
-
import { P as Un } from "./payout-account-
|
|
11
|
+
import { P as Un } from "./payout-account-CbxRdhNQ.js";
|
|
12
12
|
import { useRouter as In } from "vue-router";
|
|
13
13
|
const _n = { class: "flex" }, $n = { class: "justify-self-center font-semibold" }, nt = ["src"], tt = ["src"], C = /* @__PURE__ */ rn({
|
|
14
14
|
__name: "UploadButton",
|
|
@@ -3,7 +3,7 @@ import { o as z } from "./index-DhYZ6Ghe.js";
|
|
|
3
3
|
import { u as Z, p as oe } from "./index-T2CVm7-_.js";
|
|
4
4
|
import { useRouter as re } from "vue-router";
|
|
5
5
|
import { z as u, a as d } from "./validator-DzjyJnvv.js";
|
|
6
|
-
import { P as ie } from "./payout-account-
|
|
6
|
+
import { P as ie } from "./payout-account-CbxRdhNQ.js";
|
|
7
7
|
import { _ } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-3pmwclcO.js";
|
|
8
8
|
import { s as ue } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
9
9
|
import { _ as ee } from "./Status.vue_vue_type_script_setup_true_lang-B41rO8q8.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as _, resolveComponent as p, openBlock as y, createBloc
|
|
|
2
2
|
import { u as K } from "./index-Q0ELb0wB.js";
|
|
3
3
|
import { p as D } from "./index-T2CVm7-_.js";
|
|
4
4
|
import { _ as $ } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
5
|
-
import { P } from "./payout-account-
|
|
5
|
+
import { P } from "./payout-account-CbxRdhNQ.js";
|
|
6
6
|
import { p as A } from "./index-Dq4IAN2N.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-CkzD8rQP.js";
|
|
@@ -3,7 +3,7 @@ import { defineStore as rA, storeToRefs as lA } from "pinia";
|
|
|
3
3
|
import { p as J } from "./index-Dq4IAN2N.js";
|
|
4
4
|
import { p as Z, u as nA, e as cA } from "./index-T2CVm7-_.js";
|
|
5
5
|
import { useI18n as L, useCoreStore as sA } from "@feedmepos/mf-common";
|
|
6
|
-
import { c as BA, a as AA, P as k } from "./payout-account-
|
|
6
|
+
import { c as BA, a as AA, P as k } from "./payout-account-CbxRdhNQ.js";
|
|
7
7
|
import { useDialogChild as uA, useDialog as wA } from "@feedmepos/ui-library";
|
|
8
8
|
import { z as X, a as q } from "./validator-DzjyJnvv.js";
|
|
9
9
|
import { P as tA } from "./PDFViewer-CIPPbzWD.js";
|
|
@@ -10,8 +10,8 @@ import { w as N } from "./Modal-DB8M9o1T.js";
|
|
|
10
10
|
import { u as T } from "./error-K1CakhA9.js";
|
|
11
11
|
import { _ as ae } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-kymnzYpd.js";
|
|
12
12
|
import { g as ne } from "./grafana-VY3mqepx.js";
|
|
13
|
-
import { _ as
|
|
14
|
-
import { _ as
|
|
13
|
+
import { _ as re } from "./index.vue_vue_type_script_setup_true_lang-CkzD8rQP.js";
|
|
14
|
+
import { _ as oe } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
|
|
15
15
|
import { s as q, z as se } from "./validator-DzjyJnvv.js";
|
|
16
16
|
import { useCoreStore as ie } from "@feedmepos/mf-common";
|
|
17
17
|
const ce = ["src"], le = /* @__PURE__ */ v({
|
|
@@ -21,7 +21,7 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
21
21
|
data: {}
|
|
22
22
|
},
|
|
23
23
|
setup(s) {
|
|
24
|
-
return (
|
|
24
|
+
return (o, u) => {
|
|
25
25
|
const i = p("FmTooltip");
|
|
26
26
|
return g(), F(i, {
|
|
27
27
|
variant: "plain",
|
|
@@ -46,7 +46,7 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
46
46
|
data: {}
|
|
47
47
|
},
|
|
48
48
|
setup(s) {
|
|
49
|
-
return (
|
|
49
|
+
return (o, u) => {
|
|
50
50
|
const i = p("FmTooltip");
|
|
51
51
|
return g(), F(i, {
|
|
52
52
|
variant: "plain",
|
|
@@ -71,7 +71,7 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
71
71
|
transaction: {}
|
|
72
72
|
},
|
|
73
73
|
setup(s) {
|
|
74
|
-
const
|
|
74
|
+
const o = [
|
|
75
75
|
s.transaction.flags.query && {
|
|
76
76
|
label: "Query",
|
|
77
77
|
sublabel: "Perform transaction status inquriy",
|
|
@@ -110,7 +110,7 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
110
110
|
}
|
|
111
111
|
];
|
|
112
112
|
return (u, i) => {
|
|
113
|
-
const d = p("FmIcon"),
|
|
113
|
+
const d = p("FmIcon"), r = p("FmMenuItem"), m = p("FmMenu");
|
|
114
114
|
return g(), $("div", {
|
|
115
115
|
onClick: i[0] || (i[0] = (c) => {
|
|
116
116
|
c.stopPropagation();
|
|
@@ -121,7 +121,7 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
121
121
|
f(d, { name: "settings" })
|
|
122
122
|
]),
|
|
123
123
|
default: D(() => [
|
|
124
|
-
(g(!0), $(O, null, Y(
|
|
124
|
+
(g(!0), $(O, null, Y(o.filter((c) => !!c), (c) => (g(), F(r, {
|
|
125
125
|
selectable: !0,
|
|
126
126
|
key: c.label,
|
|
127
127
|
sublabel: c.sublabel,
|
|
@@ -152,8 +152,8 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
setup(s) {
|
|
155
|
-
const
|
|
156
|
-
const c =
|
|
155
|
+
const o = s, { emitData: u, emitAction: i } = Z(), d = M(""), r = q().trim().pipe(o.schema), m = () => {
|
|
156
|
+
const c = r.safeParse(d.value);
|
|
157
157
|
c.success && (u(c.data), i("primary"));
|
|
158
158
|
};
|
|
159
159
|
return (c, w) => {
|
|
@@ -168,7 +168,7 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
168
168
|
"onUpdate:modelValue": w[0] || (w[0] = (k) => d.value = k),
|
|
169
169
|
label: s.label,
|
|
170
170
|
placeholder: s.placeholder,
|
|
171
|
-
rules: y(se)(y(
|
|
171
|
+
rules: y(se)(y(r)),
|
|
172
172
|
autofocus: ""
|
|
173
173
|
}, null, 8, ["modelValue", "label", "placeholder", "rules"]),
|
|
174
174
|
b("div", pe, [
|
|
@@ -190,7 +190,7 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
190
190
|
data: {}
|
|
191
191
|
},
|
|
192
192
|
setup(s) {
|
|
193
|
-
return (
|
|
193
|
+
return (o, u) => {
|
|
194
194
|
const i = p("FmIcon");
|
|
195
195
|
return g(), $("span", ye, [
|
|
196
196
|
U(L(s.row.original.seqNumber) + " ", 1),
|
|
@@ -205,13 +205,13 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
205
205
|
}), ge = { class: "flex justify-between mb-6 items-center" }, he = { class: "flex space-x-4" }, _e = { class: "flex space-x-4 self-center" }, be = { class: "mb-6" }, Ne = /* @__PURE__ */ v({
|
|
206
206
|
__name: "Transaction",
|
|
207
207
|
setup(s) {
|
|
208
|
-
const
|
|
208
|
+
const o = M(), { dateRange: u, searchKey: i } = H({
|
|
209
209
|
searchKey: "",
|
|
210
210
|
dateRange: {
|
|
211
211
|
startDate: x().startOf("day").format("YYYY-MM-DD"),
|
|
212
212
|
endDate: x().endOf("day").format("YYYY-MM-DD")
|
|
213
213
|
}
|
|
214
|
-
}), { sessionUser: d } = ie(),
|
|
214
|
+
}), { sessionUser: d } = ie(), r = ee(), m = te(), c = async (t, e) => {
|
|
215
215
|
let a = parseInt(e);
|
|
216
216
|
Number.isNaN(a) && (a = 1);
|
|
217
217
|
const n = await _.readTransactions({
|
|
@@ -230,20 +230,20 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
230
230
|
};
|
|
231
231
|
G(u, async () => {
|
|
232
232
|
var t;
|
|
233
|
-
(t =
|
|
233
|
+
(t = o.value) == null || t.reset();
|
|
234
234
|
});
|
|
235
235
|
let w;
|
|
236
236
|
G(i, async () => {
|
|
237
237
|
w && clearTimeout(w), w = setTimeout(() => {
|
|
238
238
|
var t;
|
|
239
|
-
(t =
|
|
239
|
+
(t = o.value) == null || t.reset();
|
|
240
240
|
}, 700);
|
|
241
241
|
});
|
|
242
242
|
async function P(t) {
|
|
243
243
|
var a, n;
|
|
244
|
-
const e = (a =
|
|
244
|
+
const e = (a = o.value) == null ? void 0 : a.pageData().at(t);
|
|
245
245
|
if (!e) {
|
|
246
|
-
|
|
246
|
+
r.open({
|
|
247
247
|
type: "error",
|
|
248
248
|
title: "Something went wrong",
|
|
249
249
|
message: "Fail to find transactions from the displayed transactions."
|
|
@@ -251,13 +251,15 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
251
251
|
return;
|
|
252
252
|
}
|
|
253
253
|
try {
|
|
254
|
-
const l = await _.refetchTransaction({
|
|
255
|
-
|
|
254
|
+
const l = await _.refetchTransaction({
|
|
255
|
+
transactionId: e.id
|
|
256
|
+
});
|
|
257
|
+
(n = o.value) == null || n.replaceData(t, S(l)), r.open({
|
|
256
258
|
type: "success",
|
|
257
259
|
title: "Transaction queried and updated successfully."
|
|
258
260
|
});
|
|
259
261
|
} catch (l) {
|
|
260
|
-
|
|
262
|
+
r.open({
|
|
261
263
|
type: "error",
|
|
262
264
|
title: "Fail to query transaction.",
|
|
263
265
|
message: T(l)
|
|
@@ -266,9 +268,9 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
266
268
|
}
|
|
267
269
|
async function A(t) {
|
|
268
270
|
var a;
|
|
269
|
-
const e = (a =
|
|
271
|
+
const e = (a = o.value) == null ? void 0 : a.pageData().at(t);
|
|
270
272
|
if (!e) {
|
|
271
|
-
|
|
273
|
+
r.open({
|
|
272
274
|
type: "error",
|
|
273
275
|
title: "Something went wrong",
|
|
274
276
|
message: "Fail to find transactions from the displayed transactions."
|
|
@@ -287,12 +289,12 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
287
289
|
reason: "portal transaction refund",
|
|
288
290
|
amount: e.fdoAmount
|
|
289
291
|
});
|
|
290
|
-
(n =
|
|
292
|
+
(n = o.value) == null || n.replaceData(t, S(l)), r.open({
|
|
291
293
|
type: "success",
|
|
292
294
|
title: "Transaction refund request initiated."
|
|
293
295
|
});
|
|
294
296
|
} catch (l) {
|
|
295
|
-
|
|
297
|
+
r.open({
|
|
296
298
|
type: "error",
|
|
297
299
|
title: "Fail to request refund transaction.",
|
|
298
300
|
message: T(l)
|
|
@@ -303,9 +305,9 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
303
305
|
}
|
|
304
306
|
async function V(t) {
|
|
305
307
|
var a;
|
|
306
|
-
const e = (a =
|
|
308
|
+
const e = (a = o.value) == null ? void 0 : a.pageData().at(t);
|
|
307
309
|
if (!e) {
|
|
308
|
-
|
|
310
|
+
r.open({
|
|
309
311
|
type: "error",
|
|
310
312
|
title: "Something went wrong",
|
|
311
313
|
message: "Fail to find transactions from the displayed transactions."
|
|
@@ -318,12 +320,12 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
318
320
|
"Are you sure to perform notify transaction?",
|
|
319
321
|
async () => {
|
|
320
322
|
try {
|
|
321
|
-
await _.renotifyTransaction(e.id),
|
|
323
|
+
await _.renotifyTransaction(e.id), r.open({
|
|
322
324
|
type: "success",
|
|
323
325
|
title: "Transaction notify successfully."
|
|
324
326
|
});
|
|
325
327
|
} catch (n) {
|
|
326
|
-
|
|
328
|
+
r.open({
|
|
327
329
|
type: "error",
|
|
328
330
|
title: "Fail to notify transaction.",
|
|
329
331
|
message: T(n)
|
|
@@ -334,29 +336,32 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
334
336
|
}
|
|
335
337
|
async function k(t) {
|
|
336
338
|
var n;
|
|
337
|
-
const e = (n =
|
|
339
|
+
const e = (n = o.value) == null ? void 0 : n.pageData().at(t);
|
|
338
340
|
if (!e) {
|
|
339
|
-
|
|
341
|
+
r.open({
|
|
340
342
|
type: "error",
|
|
341
343
|
title: "Something went wrong",
|
|
342
344
|
message: "Fail to find transactions from the displayed transactions."
|
|
343
345
|
});
|
|
344
346
|
return;
|
|
345
347
|
}
|
|
346
|
-
const a = ne(
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
348
|
+
const a = ne(
|
|
349
|
+
[
|
|
350
|
+
{
|
|
351
|
+
type: "span",
|
|
352
|
+
queryKey: "transaction.id",
|
|
353
|
+
queryValue: e.id
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
e.transactionAt
|
|
357
|
+
);
|
|
353
358
|
window.open(a, "_blank");
|
|
354
359
|
}
|
|
355
|
-
async function
|
|
360
|
+
async function R(t) {
|
|
356
361
|
var a;
|
|
357
|
-
const e = (a =
|
|
362
|
+
const e = (a = o.value) == null ? void 0 : a.pageData().at(t);
|
|
358
363
|
if (!e) {
|
|
359
|
-
|
|
364
|
+
r.open({
|
|
360
365
|
type: "error",
|
|
361
366
|
title: "Something went wrong",
|
|
362
367
|
message: "Fail to find transactions from the displayed transactions."
|
|
@@ -376,13 +381,16 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
376
381
|
}).onPrimary(async (n) => {
|
|
377
382
|
var l;
|
|
378
383
|
try {
|
|
379
|
-
const h = await _.bindPayId({
|
|
380
|
-
|
|
384
|
+
const h = await _.bindPayId({
|
|
385
|
+
transactionId: e.id,
|
|
386
|
+
payId: n
|
|
387
|
+
});
|
|
388
|
+
(l = o.value) == null || l.replaceData(t, S(h)), r.open({
|
|
381
389
|
type: "success",
|
|
382
390
|
title: "Pay ID set successfully."
|
|
383
391
|
}), m.close();
|
|
384
392
|
} catch (h) {
|
|
385
|
-
|
|
393
|
+
r.open({
|
|
386
394
|
type: "error",
|
|
387
395
|
title: "Failed to set Pay ID.",
|
|
388
396
|
message: T(h)
|
|
@@ -390,11 +398,11 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
390
398
|
}
|
|
391
399
|
});
|
|
392
400
|
}
|
|
393
|
-
async function
|
|
401
|
+
async function B(t) {
|
|
394
402
|
var a;
|
|
395
|
-
const e = (a =
|
|
403
|
+
const e = (a = o.value) == null ? void 0 : a.pageData().at(t);
|
|
396
404
|
if (!e) {
|
|
397
|
-
|
|
405
|
+
r.open({
|
|
398
406
|
type: "error",
|
|
399
407
|
title: "Something went wrong",
|
|
400
408
|
message: "Fail to find transactions from the displayed transactions."
|
|
@@ -414,13 +422,16 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
414
422
|
}).onPrimary(async (n) => {
|
|
415
423
|
var l;
|
|
416
424
|
try {
|
|
417
|
-
const h = await _.setGatewayId({
|
|
418
|
-
|
|
425
|
+
const h = await _.setGatewayId({
|
|
426
|
+
transactionId: e.id,
|
|
427
|
+
gatewayTransactionId: n
|
|
428
|
+
});
|
|
429
|
+
(l = o.value) == null || l.replaceData(t, S(h)), r.open({
|
|
419
430
|
type: "success",
|
|
420
431
|
title: "Gateway ID set successfully."
|
|
421
432
|
}), m.close();
|
|
422
433
|
} catch (h) {
|
|
423
|
-
|
|
434
|
+
r.open({
|
|
424
435
|
type: "error",
|
|
425
436
|
title: "Failed to set Gateway ID.",
|
|
426
437
|
message: T(h)
|
|
@@ -436,7 +447,7 @@ const ce = ["src"], le = /* @__PURE__ */ v({
|
|
|
436
447
|
var a, n;
|
|
437
448
|
let e = "";
|
|
438
449
|
return ((a = d.value) != null && a.role.isStaff || (n = d.value) != null && n.role.isAdmin) && t.row.original.transactionId && (e = `
|
|
439
|
-
ID: ${t.row.original.transactionId}`), I(
|
|
450
|
+
ID: ${t.row.original.transactionId}`), I(oe, { data: t.getValue(), extra: e });
|
|
440
451
|
}
|
|
441
452
|
},
|
|
442
453
|
{
|
|
@@ -481,6 +492,10 @@ ID: ${t.row.original.transactionId}`), I(re, { data: t.getValue(), extra: e });
|
|
|
481
492
|
accessorKey: "status",
|
|
482
493
|
cell: ({ cell: t }) => I(W, { data: t.getValue() })
|
|
483
494
|
},
|
|
495
|
+
{
|
|
496
|
+
header: () => "Restaurant",
|
|
497
|
+
accessorKey: "restaurantId"
|
|
498
|
+
},
|
|
484
499
|
{
|
|
485
500
|
header: () => "Source",
|
|
486
501
|
accessorKey: "source",
|
|
@@ -506,9 +521,9 @@ ID: ${t.row.original.transactionId}`), I(re, { data: t.getValue(), extra: e });
|
|
|
506
521
|
accessorKey: "actions",
|
|
507
522
|
cell: ({ row: t }) => {
|
|
508
523
|
var a;
|
|
509
|
-
const e = (a =
|
|
524
|
+
const e = (a = o.value) == null ? void 0 : a.pageData().at(t.index);
|
|
510
525
|
if (!e) {
|
|
511
|
-
|
|
526
|
+
r.open({
|
|
512
527
|
type: "error",
|
|
513
528
|
title: "Something went wrong",
|
|
514
529
|
message: "Fail to find transactions from the displayed transactions."
|
|
@@ -528,9 +543,9 @@ ID: ${t.row.original.transactionId}`), I(re, { data: t.getValue(), extra: e });
|
|
|
528
543
|
case "history":
|
|
529
544
|
return k(t.index);
|
|
530
545
|
case "setPayId":
|
|
531
|
-
return B(t.index);
|
|
532
|
-
case "setGatewayId":
|
|
533
546
|
return R(t.index);
|
|
547
|
+
case "setGatewayId":
|
|
548
|
+
return B(t.index);
|
|
534
549
|
}
|
|
535
550
|
}
|
|
536
551
|
});
|
|
@@ -576,9 +591,9 @@ ID: ${t.row.original.transactionId}`), I(re, { data: t.getValue(), extra: e });
|
|
|
576
591
|
"onUpdate:modelValue": e[1] || (e[1] = (n) => K(u) ? u.value = n : null)
|
|
577
592
|
}, null, 8, ["modelValue"])
|
|
578
593
|
]),
|
|
579
|
-
f(
|
|
594
|
+
f(re, {
|
|
580
595
|
ref_key: "controller",
|
|
581
|
-
ref:
|
|
596
|
+
ref: o,
|
|
582
597
|
"column-defs": E,
|
|
583
598
|
"rows-defs": (n) => n,
|
|
584
599
|
paginate: c
|
|
@@ -180,13 +180,10 @@ const fe = {
|
|
|
180
180
|
});
|
|
181
181
|
let T;
|
|
182
182
|
U(_, async () => {
|
|
183
|
-
T && clearTimeout(T), T = setTimeout(
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
},
|
|
188
|
-
700
|
|
189
|
-
);
|
|
183
|
+
T && clearTimeout(T), T = setTimeout(() => {
|
|
184
|
+
var t;
|
|
185
|
+
return (t = b.value) == null ? void 0 : t.reset();
|
|
186
|
+
}, 700);
|
|
190
187
|
}), U([f, d, v, u], () => {
|
|
191
188
|
var t;
|
|
192
189
|
(t = b.value) == null || t.reset();
|
|
@@ -216,7 +213,9 @@ const fe = {
|
|
|
216
213
|
async function C(t, e) {
|
|
217
214
|
var r;
|
|
218
215
|
try {
|
|
219
|
-
const c = await R.refetchTransaction({
|
|
216
|
+
const c = await R.refetchTransaction({
|
|
217
|
+
transactionId: t.id
|
|
218
|
+
});
|
|
220
219
|
(r = b.value) == null || r.replaceData(e, c), y.open({
|
|
221
220
|
type: "success",
|
|
222
221
|
title: "Transaction queried and updated successfully."
|
|
@@ -278,13 +277,16 @@ const fe = {
|
|
|
278
277
|
);
|
|
279
278
|
}
|
|
280
279
|
async function P(t, e) {
|
|
281
|
-
const r = pe(
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
280
|
+
const r = pe(
|
|
281
|
+
[
|
|
282
|
+
{
|
|
283
|
+
type: "span",
|
|
284
|
+
queryKey: "transaction.id",
|
|
285
|
+
queryValue: t.id
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
t.transactionAt
|
|
289
|
+
);
|
|
288
290
|
window.open(r, "_blank");
|
|
289
291
|
}
|
|
290
292
|
x("");
|
|
@@ -433,7 +435,10 @@ ID: ` + e.original.transactionId : e.original.id;
|
|
|
433
435
|
handler: async () => {
|
|
434
436
|
var D;
|
|
435
437
|
const a = await ((D = b.value) == null ? void 0 : D.allData());
|
|
436
|
-
a != null && await n(R).downloadPortalTransactionReport(
|
|
438
|
+
a != null && await n(R).downloadPortalTransactionReport(
|
|
439
|
+
n(f),
|
|
440
|
+
n(X)(a)
|
|
441
|
+
);
|
|
437
442
|
}
|
|
438
443
|
}, null, 8, ["button", "handler"])
|
|
439
444
|
])
|
|
@@ -1174,7 +1174,7 @@ const Kn = {
|
|
|
1174
1174
|
sidebarDisplay: "Payout Accounts",
|
|
1175
1175
|
section: "payment-gateway"
|
|
1176
1176
|
},
|
|
1177
|
-
component: () => import("./PayoutAccount-
|
|
1177
|
+
component: () => import("./PayoutAccount-DmKO3q2L.js")
|
|
1178
1178
|
},
|
|
1179
1179
|
{
|
|
1180
1180
|
path: "/admin/payout-accounts/:accountId",
|
|
@@ -1201,7 +1201,7 @@ const Kn = {
|
|
|
1201
1201
|
meta: {
|
|
1202
1202
|
parent: "mf-payment-admin.onboard-submission"
|
|
1203
1203
|
},
|
|
1204
|
-
component: () => import("./OnboardForm-
|
|
1204
|
+
component: () => import("./OnboardForm-Dnjh1Nk_.js")
|
|
1205
1205
|
},
|
|
1206
1206
|
{
|
|
1207
1207
|
path: "/admin/terminal/pos",
|
|
@@ -1272,7 +1272,7 @@ const Kn = {
|
|
|
1272
1272
|
meta: {
|
|
1273
1273
|
sidebarDisplay: "Transactions"
|
|
1274
1274
|
},
|
|
1275
|
-
component: () => import("./Transaction-
|
|
1275
|
+
component: () => import("./Transaction-A-sOT2PE.js")
|
|
1276
1276
|
},
|
|
1277
1277
|
{
|
|
1278
1278
|
path: "/admin/chargeback",
|
|
@@ -1307,7 +1307,7 @@ const Kn = {
|
|
|
1307
1307
|
{
|
|
1308
1308
|
path: "/payout-account",
|
|
1309
1309
|
name: "mf-payment-payout-account",
|
|
1310
|
-
component: () => import("./PayoutAccount-
|
|
1310
|
+
component: () => import("./PayoutAccount-DrTvpBy9.js"),
|
|
1311
1311
|
meta: {
|
|
1312
1312
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
|
1313
1313
|
}
|
|
@@ -1325,7 +1325,7 @@ const Kn = {
|
|
|
1325
1325
|
path: "/onboard-submission/:type/:submission?",
|
|
1326
1326
|
name: "mf-payment-onboard-submission-form",
|
|
1327
1327
|
props: !0,
|
|
1328
|
-
component: () => import("./OnboardForm-
|
|
1328
|
+
component: () => import("./OnboardForm-Dlq2AiT4.js"),
|
|
1329
1329
|
meta: {
|
|
1330
1330
|
parent: "mf-payment-onboard-submission"
|
|
1331
1331
|
}
|
|
@@ -1341,7 +1341,7 @@ const Kn = {
|
|
|
1341
1341
|
{
|
|
1342
1342
|
path: "/transaction",
|
|
1343
1343
|
name: "mf-payment-transaction",
|
|
1344
|
-
component: () => import("./Transaction-
|
|
1344
|
+
component: () => import("./Transaction-CbZRbUDH.js"),
|
|
1345
1345
|
meta: {
|
|
1346
1346
|
sidebarDisplay: "i18n:payment.routes.transaction_new",
|
|
1347
1347
|
sidebarNew: !0
|
package/dist/app.js
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as st, c as it, p as E, B as at } from "./index-T2CVm7-_.js";
|
|
2
2
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
|
3
3
|
import { d as H } from "./index-BGIv1us6.js";
|
|
4
|
-
import { _ as ot } from "./app-
|
|
4
|
+
import { _ as ot } from "./app-CEHONMRw.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|