@feedmepos/mf-payment 1.1.6 → 1.1.7-beta.3

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.
Files changed (39) hide show
  1. package/dist/{PayoutAccount-CBGLfBag.js → PayoutAccount-CnTCZExr.js} +5 -5
  2. package/dist/{PayoutAccount-Bl2-Th-5.js → PayoutAccount-Crwu1h-c.js} +3 -3
  3. package/dist/{PayoutAccountSetting-DiMwWLwY.js → PayoutAccountSetting-PyIESuN8.js} +3 -3
  4. package/dist/{Restaurant-CdB7D9zA.js → Restaurant-BF1J35Ic.js} +4 -4
  5. package/dist/{RestaurantSetting-CQyXjYux.js → RestaurantSetting-Dg7cfqKF.js} +3 -3
  6. package/dist/Settlement-B-TQCdB4.js +219 -0
  7. package/dist/{Settlement-7WRCiiQ4.js → Settlement-BPrjfDMN.js} +3 -3
  8. package/dist/{SettlementTransactions-CymvVBh8.js → SettlementTransactions-C13T6n0z.js} +3 -3
  9. package/dist/{SettlementTransactions-B1dUvxhz.js → SettlementTransactions-CpRADd8a.js} +20 -16
  10. package/dist/{Terminal-DRKD8BO1.js → Terminal-DgKJ9zSL.js} +6 -6
  11. package/dist/TerminalSetting-Boh1fu6s.js +489 -0
  12. package/dist/{Transaction-DQQI8kOT.js → Transaction-BvvhqS95.js} +52 -47
  13. package/dist/{Transaction-DcQQ_4ku.js → Transaction-CsAF2AXj.js} +6 -6
  14. package/dist/{TransactionOld-DJJIQo-i.js → TransactionOld-DsC0R1Qe.js} +5 -5
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-C_3J1G8_.js → TransactionTable.vue_vue_type_script_setup_true_lang-CtrMBxwz.js} +7 -3
  16. package/dist/api/settlement/index.d.ts +1 -1
  17. package/dist/api/terminal/index.d.ts +4 -0
  18. package/dist/api/transaction/index.d.ts +1 -1
  19. package/dist/{app-B1ZoKtpx.js → app-D6rd6uvO.js} +392 -388
  20. package/dist/app.d.ts +4 -0
  21. package/dist/app.js +1 -1
  22. package/dist/{assets-ZXvnCE72.js → assets-B41ScDuA.js} +80 -73
  23. package/dist/{grafana-tSaEG-rZ.js → grafana-CdozbaJn.js} +7 -7
  24. package/dist/{index-D1dXyrdm.js → index-3u2VZ6Ni.js} +29 -26
  25. package/dist/{index-DlvE9K3G.js → index-BIObbzAP.js} +9 -1
  26. package/dist/{index-DEEbas1_.js → index-CCBZtmwy.js} +1 -1
  27. package/dist/{index-kEMG4SWc.js → index-CEU5ybp0.js} +1 -1
  28. package/dist/{index-CGBOgV3E.js → index-Cnf4HsQx.js} +1 -1
  29. package/dist/{index-DQcz6kdU.js → index-D1_hIXoR.js} +813 -813
  30. package/dist/{index.vue_vue_type_script_setup_true_lang-CwHVO04q.js → index.vue_vue_type_script_setup_true_lang-i3Lcf2Mj.js} +1 -1
  31. package/dist/model/transaction.d.ts +3 -0
  32. package/dist/package.json +1 -1
  33. package/dist/{payout-account-BtTgqm7Q.js → payout-account-C80nPFWJ.js} +2 -2
  34. package/dist/tsconfig.app.tsbuildinfo +1 -1
  35. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +87 -0
  36. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +87 -0
  37. package/package.json +1 -1
  38. package/dist/Settlement-BA09mDyG.js +0 -218
  39. package/dist/TerminalSetting-DUVbknAn.js +0 -389
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as y, resolveComponent as u, openBlock as h, createBlock as k, normalizeClass as N, withCtx as c, createElementVNode as P, toDisplayString as I, createVNode as i, computed as x, ref as S, watch as F, unref as r, isRef as f, h as v } from "vue";
2
- import { u as O } from "./index-DEEbas1_.js";
3
- import { _ as K } from "./index-DQcz6kdU.js";
2
+ import { u as O } from "./index-CCBZtmwy.js";
3
+ import { _ as K } from "./index-D1_hIXoR.js";
4
4
  import { _ as A } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
5
- import { P as V } from "./payout-account-BtTgqm7Q.js";
6
- import { p as D } from "./index-kEMG4SWc.js";
5
+ import { P as V } from "./payout-account-C80nPFWJ.js";
6
+ import { p as D } from "./index-CEU5ybp0.js";
7
7
  import "@feedmepos/ui-library";
8
- import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-CwHVO04q.js";
8
+ import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-i3Lcf2Mj.js";
9
9
  import { useRouter as U } from "vue-router";
10
10
  import { _ as $ } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
11
11
  const G = /* @__PURE__ */ y({
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as P, ref as W, reactive as eA, computed as I, watch as _, resolveComponent as C, openBlock as r, createElementBlock as f, Fragment as $, unref as s, createVNode as Y, createBlock as i, createCommentVNode as j, withCtx as q, createElementVNode as B, toDisplayString as N, normalizeClass as k, h as U, onMounted as sA } from "vue";
2
- import { p as J } from "./index-kEMG4SWc.js";
3
- import { _ as h, u as aA, e as oA } from "./index-DQcz6kdU.js";
2
+ import { p as J } from "./index-CEU5ybp0.js";
3
+ import { _ as h, u as aA, e as oA } from "./index-D1_hIXoR.js";
4
4
  import { defineStore as gA } from "pinia";
5
5
  import { useI18n as R, useCoreStore as AA } from "@feedmepos/mf-common";
6
- import { c as lA, P as z } from "./payout-account-BtTgqm7Q.js";
6
+ import { c as lA, P as z } from "./payout-account-C80nPFWJ.js";
7
7
  import { useDialogChild as rA, useDialog as cA } from "@feedmepos/ui-library";
8
8
  import { z as F, a as H } from "./validator-D5jtpt9A.js";
9
9
  import { P as S } from "./PDFViewer-BQfgFexr.js";
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as k, resolveComponent as y, openBlock as b, createElementBlock as A, Fragment as $, createElementVNode as l, createVNode as s, withCtx as F, createTextVNode as _, toDisplayString as h, createCommentVNode as S, createBlock as C, ref as V, watch as L, computed as G, unref as v, isRef as M, h as B, onMounted as H, resolveDynamicComponent as Y, normalizeProps as Q, mergeProps as W } from "vue";
2
- import { p as P } from "./index-kEMG4SWc.js";
3
- import { u as K, e as N } from "./index-DQcz6kdU.js";
2
+ import { p as P } from "./index-CEU5ybp0.js";
3
+ import { u as K, e as N } from "./index-D1_hIXoR.js";
4
4
  import { _ as J } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
5
5
  import { useRouter as X } from "vue-router";
6
- import { u as D } from "./index-DEEbas1_.js";
6
+ import { u as D } from "./index-CCBZtmwy.js";
7
7
  import { P as z, _ as ee } from "./PDFViewer-BQfgFexr.js";
8
8
  import { useSnackbar as j, components as te } from "@feedmepos/ui-library";
9
9
  import { u as I } from "./error-K1CakhA9.js";
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as F, ref as y, resolveComponent as g, openBlock as x, createBlock as A, withCtx as $, createVNode as f, createElementVNode as d, normalizeStyle as T, createElementBlock as R, Fragment as z, renderList as q, 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-DEEbas1_.js";
2
+ import { u as O } from "./index-CCBZtmwy.js";
3
3
  import { _ as j } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
4
4
  import "@feedmepos/ui-library";
5
- import { u as G } from "./index-DQcz6kdU.js";
5
+ import { u as G } from "./index-D1_hIXoR.js";
6
6
  import { _ as Q } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
7
- import { r as H } from "./index-CGBOgV3E.js";
7
+ import { r as H } from "./index-Cnf4HsQx.js";
8
8
  import { useRouter as J } from "vue-router";
9
- import { g as X } from "./grafana-tSaEG-rZ.js";
9
+ import { g as X } from "./grafana-CdozbaJn.js";
10
10
  const Y = ["id"], L = /* @__PURE__ */ F({
11
11
  __name: "FmTableSelection",
12
12
  props: {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as C, ref as I, resolveComponent as d, openBlock as f, createBlock as F, withCtx as k, createVNode as u, unref as a, createElementVNode as D, createCommentVNode as S, onMounted as P, computed as q, createElementBlock as K, Fragment as M, resolveDynamicComponent as O, normalizeProps as $, mergeProps as B, isRef as N } from "vue";
2
- import { g as T, b as R, u as E, e as U } from "./index-DQcz6kdU.js";
2
+ import { g as T, b as R, u as E, e as U } from "./index-D1_hIXoR.js";
3
3
  import { _ as Y } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
4
4
  import { useRouter as A } from "vue-router";
5
- import { u as L } from "./index-DEEbas1_.js";
5
+ import { u as L } from "./index-CCBZtmwy.js";
6
6
  import { z as p, a as v } from "./validator-D5jtpt9A.js";
7
7
  import { useCoreStore as j } from "@feedmepos/mf-common";
8
- import { r as z } from "./index-CGBOgV3E.js";
8
+ import { r as z } from "./index-Cnf4HsQx.js";
9
9
  const _ = {
10
10
  async get(n) {
11
11
  return T(
@@ -0,0 +1,219 @@
1
+ import { defineComponent as Y, ref as h, computed as E, resolveComponent as d, openBlock as F, createBlock as V, h as L, watch as R, onMounted as N, unref as r, withCtx as k, createElementVNode as w, createVNode as i, isRef as A, createElementBlock as O, Fragment as P, renderList as U } from "vue";
2
+ import { u as M } from "./index-D1_hIXoR.js";
3
+ import { h as C } from "./moment-h96o7c8I.js";
4
+ import { s as _ } from "./index-3u2VZ6Ni.js";
5
+ import { useSnackbar as q } from "@feedmepos/ui-library";
6
+ import { d as S } from "./dinero-CIVmXLL-.js";
7
+ import { _ as J } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
8
+ import { useRouter as j } from "vue-router";
9
+ import { _ as z } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
10
+ import { u as G } from "./index-CCBZtmwy.js";
11
+ import { u as Q } from "./error-K1CakhA9.js";
12
+ import { _ as H } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
13
+ import { useCoreStore as W } from "@feedmepos/mf-common";
14
+ const X = /* @__PURE__ */ Y({
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, v = h(""), l = [
29
+ {
30
+ header: () => "Settlement ID",
31
+ accessorKey: "id",
32
+ cell: ({ cell: o }) => L(J, { data: o.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
+ ], s = E(() => m.data.map((o) => ({
54
+ id: o._id,
55
+ transactionAt: C(o.createdAt).format("YYYY-MM-DD"),
56
+ amount: S(o.totalAmount).toFormat("$0.00"),
57
+ fee: S(o.totalFee).toFormat("$0.00"),
58
+ payout: S(o.totalPayout).toFormat("$0.00")
59
+ })));
60
+ return (o, u) => {
61
+ const e = d("FmTable");
62
+ return F(), V(e, {
63
+ modelValue: v.value,
64
+ "onUpdate:modelValue": u[0] || (u[0] = (t) => v.value = t),
65
+ "row-data": s.value,
66
+ "shrink-at": !1,
67
+ "column-defs": l,
68
+ loading: m.loading,
69
+ onRowClick: u[1] || (u[1] = (t) => f("row-click", m.data.at(t.index)))
70
+ }, null, 8, ["modelValue", "row-data", "loading"]);
71
+ };
72
+ }
73
+ }), Z = { class: "flex justify-between items-center mb-6" }, ee = { class: "flex space-x-4 items-end" }, te = { class: "flex space-x-4" }, ye = /* @__PURE__ */ Y({
74
+ __name: "Settlement",
75
+ setup(D) {
76
+ const { isLoading: p, startAsyncCall: m } = M(!0), f = M(!1), v = W().currentCountry, l = h([]), s = h([]), o = j(), u = q(), { dateRange: e, searchKey: t } = G({
77
+ searchKey: "",
78
+ dateRange: {
79
+ startDate: C().startOf("day").format("YYYY-MM-DD"),
80
+ endDate: C().endOf("day").format("YYYY-MM-DD")
81
+ }
82
+ });
83
+ R(e, x);
84
+ let b;
85
+ R(t, async () => {
86
+ b && clearTimeout(b), b = setTimeout(() => {
87
+ var y = new RegExp(t.value, "i");
88
+ s.value = l.value.filter((n) => {
89
+ const c = JSON.stringify(n);
90
+ return y.test(c);
91
+ });
92
+ }, 700);
93
+ });
94
+ async function x() {
95
+ await m(async () => {
96
+ const y = await _.readByDate(
97
+ {
98
+ start: e.value.startDate,
99
+ end: e.value.endDate
100
+ }
101
+ );
102
+ if (l.value = y, s.value = l.value, t.value > "") {
103
+ var n = new RegExp(t.value, "i");
104
+ s.value = l.value.filter((c) => {
105
+ const g = JSON.stringify(c);
106
+ return n.test(g);
107
+ });
108
+ }
109
+ });
110
+ }
111
+ function B() {
112
+ x();
113
+ }
114
+ N(B);
115
+ const I = [
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(l.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(v.value, l.value)
142
+ }
143
+ ];
144
+ return (y, n) => {
145
+ const c = d("FmSearch"), g = d("FmButton"), $ = d("FmMenuItem"), K = d("FmMenu");
146
+ return F(), V(z, {
147
+ title: "Settlements",
148
+ loading: r(p)
149
+ }, {
150
+ default: k(() => [
151
+ w("div", Z, [
152
+ w("div", ee, [
153
+ i(c, {
154
+ "model-value": r(t),
155
+ "onUpdate:modelValue": n[0] || (n[0] = (a) => A(t) ? t.value = a : null),
156
+ class: "mr-8",
157
+ label: "Search",
158
+ placeholder: "Search Settlements ..."
159
+ }, null, 8, ["model-value"]),
160
+ i(H, {
161
+ modelValue: r(e),
162
+ "onUpdate:modelValue": n[1] || (n[1] = (a) => A(e) ? e.value = a : null)
163
+ }, null, 8, ["modelValue"])
164
+ ]),
165
+ w("div", te, [
166
+ i(K, { trigger: "click" }, {
167
+ "menu-button": k(() => [
168
+ i(g, {
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: k(() => [
176
+ (F(), O(P, null, U(I, (a) => i($, {
177
+ key: a.value,
178
+ label: a.label,
179
+ icon: a.icon,
180
+ sublabel: a.sublabel,
181
+ selectable: !0,
182
+ onClick: (ae) => {
183
+ r(f).startAsyncCall(async () => {
184
+ try {
185
+ await a.onClick();
186
+ } catch (T) {
187
+ r(u).open({
188
+ type: "error",
189
+ title: "Error",
190
+ message: r(Q)(T)
191
+ });
192
+ }
193
+ });
194
+ }
195
+ }, null, 8, ["label", "icon", "sublabel", "onClick"])), 64))
196
+ ]),
197
+ _: 1
198
+ })
199
+ ])
200
+ ]),
201
+ i(X, {
202
+ loading: r(p),
203
+ data: s.value,
204
+ onRowClick: n[2] || (n[2] = (a) => r(o).push({
205
+ name: "mf-payment-admin.settlement-transaction",
206
+ params: {
207
+ settlementId: a._id
208
+ }
209
+ }))
210
+ }, null, 8, ["loading", "data"])
211
+ ]),
212
+ _: 1
213
+ }, 8, ["loading"]);
214
+ };
215
+ }
216
+ });
217
+ export {
218
+ ye as default
219
+ };
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as C, ref as F, computed as A, resolveComponent as k, openBlock as V, createBlock as S, h as M, watch as B, createElementBlock as j, Fragment as q, createElementVNode as l, createVNode as u, withCtx as b, unref as e, toDisplayString as m, createTextVNode as _, onMounted as z, isRef as T, createCommentVNode as Y } from "vue";
2
- import { u as E } from "./index-DQcz6kdU.js";
2
+ import { u as E } from "./index-D1_hIXoR.js";
3
3
  import { h as K } from "./moment-h96o7c8I.js";
4
4
  import { useI18n as D, useCoreStore as O } from "@feedmepos/mf-common";
5
5
  import { _ as I } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
6
- import { s as N } from "./index-D1dXyrdm.js";
6
+ import { s as N } from "./index-3u2VZ6Ni.js";
7
7
  import { useDialog as L } from "@feedmepos/ui-library";
8
8
  import { d as c } from "./dinero-CIVmXLL-.js";
9
9
  import { _ as P } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
10
10
  import { useRouter as H } from "vue-router";
11
- import { u as J } from "./index-DEEbas1_.js";
11
+ import { u as J } from "./index-CCBZtmwy.js";
12
12
  import { _ as Q } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
13
13
  import { _ as W } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-hJAJYKmE.js";
14
14
  import { _ as G } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as w, resolveComponent as g, openBlock as F, createBlock as B, normalizeClass as G, withCtx as l, createElementVNode as t, toDisplayString as u, createElementBlock as L, unref as p, ref as x, onMounted as Y, watch as H, createVNode as n, createTextVNode as i, h as N } from "vue";
2
- import { e as E, u as q } from "./index-DQcz6kdU.js";
2
+ import { e as E, u as q } from "./index-D1_hIXoR.js";
3
3
  import { useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
4
4
  import { d as k } from "./dinero-CIVmXLL-.js";
5
- import { g as W, a as X, t as P, b as Z } from "./assets-ZXvnCE72.js";
5
+ import { g as W, a as X, t as P, b as Z } from "./assets-B41ScDuA.js";
6
6
  import { _ as ee } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
7
7
  import { useRouter as te } from "vue-router";
8
- import { s as ae } from "./index-D1dXyrdm.js";
8
+ import { s as ae } from "./index-3u2VZ6Ni.js";
9
9
  import { u as ne } from "./error-K1CakhA9.js";
10
10
  import { w as oe } from "./Modal-DB8M9o1T.js";
11
11
  const re = /* @__PURE__ */ w({
@@ -1,11 +1,11 @@
1
- import { defineComponent as w, resolveComponent as g, openBlock as T, createBlock as L, normalizeClass as z, withCtx as i, createElementVNode as l, toDisplayString as n, createElementBlock as O, unref as a, ref as v, onMounted as G, watch as R, createVNode as o, createTextVNode as d, h as I } from "vue";
2
- import { e as C, u as Y } from "./index-DQcz6kdU.js";
1
+ import { defineComponent as w, resolveComponent as g, openBlock as F, createBlock as L, normalizeClass as z, withCtx as i, createElementVNode as l, toDisplayString as n, createElementBlock as O, unref as a, ref as v, onMounted as G, watch as R, createVNode as o, createTextVNode as d, h as I } from "vue";
2
+ import { e as C, u as Y } from "./index-D1_hIXoR.js";
3
3
  import "@feedmepos/ui-library";
4
4
  import { d as E } from "./dinero-CIVmXLL-.js";
5
- import { g as H, a as q, t as J, b as Q } from "./assets-ZXvnCE72.js";
5
+ import { g as H, a as q, t as J, b as Q } from "./assets-B41ScDuA.js";
6
6
  import { _ as W } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
7
7
  import { useRouter as X } from "vue-router";
8
- import { s as Z } from "./index-D1dXyrdm.js";
8
+ import { s as Z } from "./index-3u2VZ6Ni.js";
9
9
  import { useI18n as ee, useCoreStore as te } from "@feedmepos/mf-common";
10
10
  const ae = /* @__PURE__ */ w({
11
11
  __name: "Status",
@@ -19,8 +19,8 @@ const ae = /* @__PURE__ */ w({
19
19
  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
20
  }
21
21
  return (h, k) => {
22
- const F = g("FmBadge");
23
- return T(), L(F, {
22
+ const T = g("FmBadge");
23
+ return F(), L(T, {
24
24
  inline: "",
25
25
  class: z(f())
26
26
  }, {
@@ -38,7 +38,7 @@ const ae = /* @__PURE__ */ w({
38
38
  data: {}
39
39
  },
40
40
  setup(_) {
41
- return (e, f) => (T(), O("img", {
41
+ return (e, f) => (F(), O("img", {
42
42
  class: "rounded-md m-auto border-transparent object-contain w-[32px] h-[32px]",
43
43
  src: a(H)(e.row.original.gateway)
44
44
  }, null, 8, ne));
@@ -50,7 +50,7 @@ const ae = /* @__PURE__ */ w({
50
50
  data: {}
51
51
  },
52
52
  setup(_) {
53
- return (e, f) => (T(), O("img", {
53
+ return (e, f) => (F(), O("img", {
54
54
  class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
55
55
  src: a(q)(e.row.original.method.issuer, e.row.original.method.variant)
56
56
  }, null, 8, oe));
@@ -64,7 +64,7 @@ const ae = /* @__PURE__ */ w({
64
64
  }
65
65
  },
66
66
  setup(_) {
67
- const { t: e } = ee(), f = _, { isLoading: h, startAsyncCall: k } = Y(!0), { currentRestaurant: F } = te(), M = X(), u = v(), x = v([]), N = v([]);
67
+ const { t: e } = ee(), f = _, { isLoading: h, startAsyncCall: k } = Y(!0), { currentRestaurant: T } = te(), M = X(), u = v(), x = v([]), N = v([]);
68
68
  async function P(s = !1) {
69
69
  k(async () => {
70
70
  s || (u.value = await Z.readRestaurantSettlementById(f.settlementId));
@@ -75,8 +75,8 @@ const ae = /* @__PURE__ */ w({
75
75
  function B() {
76
76
  P();
77
77
  }
78
- G(B), R(F, B);
79
- const V = v(""), U = [
78
+ G(B), R(T, B);
79
+ const K = v(""), U = [
80
80
  {
81
81
  header: () => e("settlements.dialog.feedme.id"),
82
82
  accessorKey: "id"
@@ -101,6 +101,10 @@ const ae = /* @__PURE__ */ w({
101
101
  },
102
102
  cell: ({ cell: s, row: t }) => t.original.method ? I(se, { row: t, data: s.getValue() }) : ""
103
103
  },
104
+ {
105
+ header: () => e("settlements.dialog.feedme.payFor"),
106
+ accessorKey: "payFor"
107
+ },
104
108
  {
105
109
  header: () => e("settlements.dialog.feedme.type"),
106
110
  accessorKey: "type",
@@ -149,10 +153,10 @@ const ae = /* @__PURE__ */ w({
149
153
  });
150
154
  }, 700);
151
155
  }), (s, t) => {
152
- var K;
156
+ var V;
153
157
  const b = g("FmCardHeader"), p = g("FmCardSection"), A = g("FmCard"), D = g("FmSearch"), j = g("FmTable");
154
- return T(), L(W, {
155
- title: `${a(e)("settlements.dialog.title")} (${(K = u.value) == null ? void 0 : K._id})`,
158
+ return F(), L(W, {
159
+ title: `${a(e)("settlements.dialog.title")} (${(V = u.value) == null ? void 0 : V._id})`,
156
160
  loading: a(h),
157
161
  onBack: a(M).back
158
162
  }, {
@@ -272,8 +276,8 @@ const ae = /* @__PURE__ */ w({
272
276
  }, null, 8, ["modelValue", "placeholder"])
273
277
  ]),
274
278
  o(j, {
275
- modelValue: V.value,
276
- "onUpdate:modelValue": t[1] || (t[1] = (r) => V.value = r),
279
+ modelValue: K.value,
280
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => K.value = r),
277
281
  "shrink-at": !1,
278
282
  "search-value": y.value,
279
283
  "row-data": N.value,
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as z, ref as I, onUpdated as oe, h as M, onMounted as he, Fragment as ie, openBlock as N, createElementBlock as G, createElementVNode as A, createTextVNode as ee, toDisplayString as se, createVNode as k, resolveComponent as _, normalizeClass as me, withCtx as q, createBlock as D, createCommentVNode as V, computed as pe, unref as P, watch as te, isRef as ge } from "vue";
2
- import { e as Ce } from "./index-DQcz6kdU.js";
2
+ import { e as Ce } from "./index-D1_hIXoR.js";
3
3
  import { h as ye } from "./moment-h96o7c8I.js";
4
- import { u as we } from "./index-DEEbas1_.js";
5
- import { _ as Ee } from "./index.vue_vue_type_script_setup_true_lang-CwHVO04q.js";
4
+ import { u as we } from "./index-CCBZtmwy.js";
5
+ import { _ as Ee } from "./index.vue_vue_type_script_setup_true_lang-i3Lcf2Mj.js";
6
6
  import { _ as Me } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
7
7
  import { useSnackbar as W, useDialogChild as Re, useDialog as Ae } from "@feedmepos/ui-library";
8
- import { t as Q } from "./index-DlvE9K3G.js";
8
+ import { t as Q } from "./index-BIObbzAP.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 Se } from "./grafana-tSaEG-rZ.js";
11
+ import { g as Se } from "./grafana-CdozbaJn.js";
12
12
  import { u as Y } from "./error-K1CakhA9.js";
13
13
  import { z as re, a as ne } from "./validator-D5jtpt9A.js";
14
14
  import { w as ae } from "./Modal-DB8M9o1T.js";
@@ -695,7 +695,7 @@ const ke = { class: "t-caption" }, Be = { class: "t-caption" }, Fe = { class: "m
695
695
  d.open({ title: "Clipboard API incompatible." }, 1e3);
696
696
  }
697
697
  }
698
- const e = `production,${m.toLowerCase()},${c.code}`;
698
+ const e = `development,${m.toLowerCase()},${c.code}`;
699
699
  return (t, r) => (N(), G(ie, null, [
700
700
  A("div", ke, [
701
701
  r[1] || (r[1] = ee(" Enter the binding code below on your device to link it with this terminal and apply the configuration. ")),