@feedmepos/mf-payment 1.1.9 → 1.1.10
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-BuYnCwX0.js → PayoutAccount-DS8uWdg6.js} +152 -152
- package/dist/{PayoutAccount-D-UAfJmx.js → PayoutAccount-DYaDyUv-.js} +5 -5
- package/dist/{PayoutAccountSetting-P3EEdPd8.js → PayoutAccountSetting-CaWSuWfP.js} +3 -3
- package/dist/{Restaurant-DVfQgRDa.js → Restaurant-DQVYjNCS.js} +4 -4
- package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-hJAJYKmE.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js} +6 -6
- package/dist/{RestaurantSetting-v4X04iUd.js → RestaurantSetting-CIIbhon-.js} +3 -3
- package/dist/{Settlement-B7E4lpuy.js → Settlement-B1Wxz1Ud.js} +3 -3
- package/dist/{Settlement-BvOHdyd-.js → Settlement-BYpA6n3I.js} +92 -92
- package/dist/{SettlementTransactions-C_QiVAAT.js → SettlementTransactions-Cn894u3m.js} +82 -82
- package/dist/{SettlementTransactions-XWF6lcgO.js → SettlementTransactions-SPDIlLfj.js} +3 -3
- package/dist/{Terminal-uiqG_SS0.js → Terminal-DwRmKAkV.js} +5 -5
- package/dist/{TerminalSetting-BZ13kPwS.js → TerminalSetting-BXjGS7gr.js} +3 -3
- package/dist/{Transaction-Do-cIw77.js → Transaction-CZXLiiK_.js} +36 -36
- package/dist/{Transaction-73ONBoa8.js → Transaction-DfCzQWjl.js} +5 -5
- package/dist/{TransactionOld-CImEq3E_.js → TransactionOld-V05PFuAs.js} +14 -14
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-Ba83O4G-.js → TransactionTable.vue_vue_type_script_setup_true_lang-pP3veVBQ.js} +16 -16
- package/dist/{app-BboGv5bA.js → app-Cwh0hT_9.js} +693 -689
- package/dist/app.d.ts +242 -238
- package/dist/app.js +1 -1
- package/dist/{assets-SBx-FS2c.js → assets-A_2acaHr.js} +1 -1
- package/dist/{grafana-DKPCmS74.js → grafana-S2Pyvvsb.js} +1 -1
- package/dist/{index-BMI-n_D8.js → index-B45raqGN.js} +1455 -1455
- package/dist/{index-Cc3tk2uy.js → index-BO9tnr5e.js} +1 -1
- package/dist/{index-DitA7AGz.js → index-DRMgFTyD.js} +1 -1
- package/dist/{index-CUXRAwm_.js → index-DlkaQaXu.js} +1 -1
- package/dist/{index-DChD3CMr.js → index-Dwo99xiS.js} +1 -1
- package/dist/{index-DNVOx0Qk.js → index-nh9QzbMv.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Bk00_8Zw.js → index.vue_vue_type_script_setup_true_lang-_ttdMw6x.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-DEWX726j.js → payout-account-CqkVIkNF.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,13 +1,13 @@
|
|
1
|
-
import { defineComponent as T, ref as
|
2
|
-
import { t as g, b as S } from "./assets-
|
3
|
-
import { u as $ } from "./index-
|
4
|
-
import { _ as N } from "./TransactionTable.vue_vue_type_script_setup_true_lang-
|
1
|
+
import { defineComponent as T, ref as y, onMounted as Y, watch as f, resolveComponent as V, openBlock as C, createBlock as M, unref as t, withCtx as O, createElementVNode as u, createVNode as i, isRef as h } from "vue";
|
2
|
+
import { t as g, b as S } from "./assets-A_2acaHr.js";
|
3
|
+
import { u as $ } from "./index-B45raqGN.js";
|
4
|
+
import { _ as N } from "./TransactionTable.vue_vue_type_script_setup_true_lang-pP3veVBQ.js";
|
5
5
|
import { h as x } from "./moment-h96o7c8I.js";
|
6
6
|
import { useCoreStore as k, useI18n as E } from "@feedmepos/mf-common";
|
7
7
|
import { _ as L } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
|
-
import { u as P } from "./index-
|
8
|
+
import { u as P } from "./index-Dwo99xiS.js";
|
9
9
|
import { _ as A } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
10
|
-
import { _ as B } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-
|
10
|
+
import { _ as B } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js";
|
11
11
|
import { _ as F } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
12
12
|
const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "flex space-x-8" }, K = { class: "flex space-x-4 self-center" }, U = { class: "mb-6" }, nt = /* @__PURE__ */ T({
|
13
13
|
__name: "TransactionOld",
|
@@ -18,7 +18,7 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
|
|
18
18
|
startDate: x().startOf("day").format("YYYY-MM-DD"),
|
19
19
|
endDate: x().endOf("day").format("YYYY-MM-DD")
|
20
20
|
}
|
21
|
-
}), { isLoading: p, startAsyncCall: b } = $(!0), { currentRestaurant: w } = k(), { t: o } = E(), s =
|
21
|
+
}), { isLoading: p, startAsyncCall: b } = $(!0), { currentRestaurant: w } = k(), { t: o } = E(), s = y([]), c = y([]);
|
22
22
|
async function _() {
|
23
23
|
await b(async () => {
|
24
24
|
const { startDate: d, endDate: e } = n.value, r = await g.readRestaurantTransactions({
|
@@ -50,8 +50,8 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
|
|
50
50
|
}), (d, e) => {
|
51
51
|
const r = V("FmSearch");
|
52
52
|
return C(), M(L, {
|
53
|
-
title: t(o)("transactions.title"),
|
54
|
-
description: t(o)("transactions.description"),
|
53
|
+
title: t(o)("payment.transactions.title"),
|
54
|
+
description: t(o)("payment.transactions.description"),
|
55
55
|
loading: t(p)
|
56
56
|
}, {
|
57
57
|
default: O(() => [
|
@@ -60,9 +60,9 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
|
|
60
60
|
i(B),
|
61
61
|
i(r, {
|
62
62
|
"model-value": t(a),
|
63
|
-
"onUpdate:modelValue": e[0] || (e[0] = (l) =>
|
64
|
-
label: t(o)("transactions.search.title"),
|
65
|
-
placeholder: t(o)("transactions.search.placeholder")
|
63
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => h(a) ? a.value = l : null),
|
64
|
+
label: t(o)("payment.transactions.search.title"),
|
65
|
+
placeholder: t(o)("payment.transactions.search.placeholder")
|
66
66
|
}, null, 8, ["model-value", "label", "placeholder"])
|
67
67
|
]),
|
68
68
|
u("div", K, [
|
@@ -70,7 +70,7 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
|
|
70
70
|
button: {
|
71
71
|
appendIcon: "file_download",
|
72
72
|
variant: "primary",
|
73
|
-
label: t(o)("transactions.button.export")
|
73
|
+
label: t(o)("payment.transactions.button.export")
|
74
74
|
},
|
75
75
|
handler: async () => {
|
76
76
|
await t(g).downloadPortalTransactionReport(t(n), s.value, !0);
|
@@ -81,7 +81,7 @@ const I = { class: "flex justify-between mb-6 items-center" }, J = { class: "fle
|
|
81
81
|
u("div", U, [
|
82
82
|
i(F, {
|
83
83
|
modelValue: t(n),
|
84
|
-
"onUpdate:modelValue": e[1] || (e[1] = (l) =>
|
84
|
+
"onUpdate:modelValue": e[1] || (e[1] = (l) => h(n) ? n.value = l : null)
|
85
85
|
}, null, 8, ["modelValue"])
|
86
86
|
]),
|
87
87
|
i(N, {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as m, resolveComponent as d, openBlock as l, createBlock as f, normalizeClass as v, withCtx as y, createElementVNode as x, toDisplayString as P, createElementBlock as w, unref as E, createVNode as q, Fragment as R, renderList as V, ref as D, h as p } from "vue";
|
2
2
|
import { useSnackbar as U, useDialog as B } from "@feedmepos/ui-library";
|
3
|
-
import { g as $, a as L, t as b, c as N } from "./assets-
|
4
|
-
import { e as h } from "./index-
|
5
|
-
import { g as G } from "./grafana-
|
3
|
+
import { g as $, a as L, t as b, c as N } from "./assets-A_2acaHr.js";
|
4
|
+
import { e as h } from "./index-B45raqGN.js";
|
5
|
+
import { g as G } from "./grafana-S2Pyvvsb.js";
|
6
6
|
import { w as k } from "./Modal-DB8M9o1T.js";
|
7
7
|
import { u as T } from "./error-K1CakhA9.js";
|
8
8
|
import { useCoreStore as O, useI18n as Y } from "@feedmepos/mf-common";
|
@@ -216,23 +216,23 @@ const j = /* @__PURE__ */ m({
|
|
216
216
|
}
|
217
217
|
const A = D(""), F = [
|
218
218
|
{
|
219
|
-
header: () => a("transactions.table.id"),
|
219
|
+
header: () => a("payment.transactions.table.id"),
|
220
220
|
accessorKey: "id"
|
221
221
|
},
|
222
222
|
{
|
223
|
-
header: () => a("transactions.table.pay_id"),
|
223
|
+
header: () => a("payment.transactions.table.pay_id"),
|
224
224
|
accessorKey: "payId"
|
225
225
|
},
|
226
226
|
{
|
227
|
-
header: () => a("transactions.table.gateway_id"),
|
227
|
+
header: () => a("payment.transactions.table.gateway_id"),
|
228
228
|
accessorKey: "gatewayTransactionId"
|
229
229
|
},
|
230
230
|
{
|
231
|
-
header: () => a("transactions.table.bill_seq"),
|
231
|
+
header: () => a("payment.transactions.table.bill_seq"),
|
232
232
|
accessorKey: "seqNumber"
|
233
233
|
},
|
234
234
|
{
|
235
|
-
header: () => a("transactions.table.gateway"),
|
235
|
+
header: () => a("payment.transactions.table.gateway"),
|
236
236
|
accessorKey: "gateway",
|
237
237
|
meta: {
|
238
238
|
textAlign: "center"
|
@@ -240,7 +240,7 @@ const j = /* @__PURE__ */ m({
|
|
240
240
|
cell: ({ cell: t, row: e }) => e.original.gateway ? p(Q, { row: e, data: t.getValue() }) : ""
|
241
241
|
},
|
242
242
|
{
|
243
|
-
header: () => a("transactions.table.method"),
|
243
|
+
header: () => a("payment.transactions.table.method"),
|
244
244
|
accessorKey: "method",
|
245
245
|
meta: {
|
246
246
|
textAlign: "center"
|
@@ -248,28 +248,28 @@ const j = /* @__PURE__ */ m({
|
|
248
248
|
cell: ({ cell: t, row: e }) => e.original.method ? p(J, { row: e, data: t.getValue() }) : ""
|
249
249
|
},
|
250
250
|
{
|
251
|
-
header: () => a("transactions.table.type"),
|
251
|
+
header: () => a("payment.transactions.table.type"),
|
252
252
|
accessorKey: "payFor",
|
253
253
|
meta: {
|
254
254
|
textAlign: "center"
|
255
255
|
}
|
256
256
|
},
|
257
257
|
{
|
258
|
-
header: () => a("transactions.table.status"),
|
258
|
+
header: () => a("payment.transactions.table.status"),
|
259
259
|
accessorKey: "status",
|
260
260
|
cell: ({ cell: t, row: e }) => p(j, { row: e, data: t.getValue() })
|
261
261
|
},
|
262
262
|
{
|
263
|
-
header: () => a("transactions.table.restaurant"),
|
263
|
+
header: () => a("payment.transactions.table.restaurant"),
|
264
264
|
accessorKey: "restaurantId"
|
265
265
|
},
|
266
266
|
{
|
267
|
-
header: () => a("transactions.table.source"),
|
267
|
+
header: () => a("payment.transactions.table.source"),
|
268
268
|
accessorKey: "source",
|
269
269
|
cell: ({ cell: t, row: e }) => `(${e.original.sourceType}) ${e.original.source}`
|
270
270
|
},
|
271
271
|
{
|
272
|
-
header: () => a("transactions.table.transaction_at"),
|
272
|
+
header: () => a("payment.transactions.table.transaction_at"),
|
273
273
|
accessorKey: "transactionAt",
|
274
274
|
meta: {
|
275
275
|
width: "180px"
|
@@ -277,12 +277,12 @@ const j = /* @__PURE__ */ m({
|
|
277
277
|
cell: ({ cell: t, row: e }) => e.original.status === "REFUNDED" ? e.original.refundedAt : e.original.transactionAt
|
278
278
|
},
|
279
279
|
{
|
280
|
-
header: () => a("transactions.table.sales_amount"),
|
280
|
+
header: () => a("payment.transactions.table.sales_amount"),
|
281
281
|
accessorKey: "amount"
|
282
282
|
}
|
283
283
|
];
|
284
284
|
return (I = g.value) != null && I.isInternal && F.push({
|
285
|
-
header: () => a("transactions.table.actions"),
|
285
|
+
header: () => a("payment.transactions.table.actions"),
|
286
286
|
accessorKey: "actions",
|
287
287
|
cell: ({ row: t }) => p(W, {
|
288
288
|
transaction: t.original,
|