@feedmepos/mf-payment 0.0.0-beta.51 → 0.0.0-beta.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/{PayoutAccount-B1-2p330.js → PayoutAccount-BlK2cHYk.js} +3 -3
  2. package/dist/{PayoutAccount-45KBDFz5.js → PayoutAccount-DPBewHqT.js} +5 -5
  3. package/dist/{PayoutAccountSetting-CbhtXeh7.js → PayoutAccountSetting-kUQLeAcb.js} +3 -3
  4. package/dist/{Settlement-DlaJyp58.js → Settlement-Cp-TFGIq.js} +3 -3
  5. package/dist/{Settlement-tSkIAVNP.js → Settlement-DluLTk33.js} +3 -3
  6. package/dist/{SettlementTransactions-BJT_BbHY.js → SettlementTransactions-BxuLXUR-.js} +4 -4
  7. package/dist/{SettlementTransactions-CEZC6XZG.js → SettlementTransactions-daWMAmtz.js} +4 -4
  8. package/dist/{Terminal-BQl4r6HC.js → Terminal-gxGnjFGc.js} +4 -4
  9. package/dist/{TerminalSetting-C44QLn1Z.js → TerminalSetting--ZAJJ_Hf.js} +3 -3
  10. package/dist/{TerminalTransaction-CKSvq9rD.js → TerminalTransaction-C0-YVtZT.js} +19 -11
  11. package/dist/{TerminalTransaction-CABZWS4H.js → TerminalTransaction-lScNo7gJ.js} +45 -37
  12. package/dist/{Transaction-xV5p9Mhz.js → Transaction-6Woe-8FI.js} +4 -4
  13. package/dist/{Transaction-C6RSlZ9y.js → Transaction-BA9Phcbt.js} +4 -4
  14. package/dist/{app-_E4ykcC3.js → app-eJW0P3w3.js} +231 -231
  15. package/dist/app.js +1 -1
  16. package/dist/{assets-BrVemDyU.js → assets-NrCec-W0.js} +18 -17
  17. package/dist/{index-Bz1J_qmc.js → index-7KNaibcq.js} +1 -1
  18. package/dist/{index-C5-Iy39F.js → index-BWUtjGg7.js} +1 -1
  19. package/dist/{index-CJy1IRg3.js → index-BwcJZFsi.js} +1 -1
  20. package/dist/{index-C_lvRbae.js → index-CWaKb7bG.js} +6834 -6653
  21. package/dist/{index-C2w3JCtA.js → index-CojhNtuG.js} +1 -1
  22. package/dist/{index-CdN6mR2m.js → index-DbJpbpSs.js} +1 -1
  23. package/dist/{index.vue_vue_type_script_setup_true_lang-DBooU_VF.js → index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js} +1 -1
  24. package/dist/package.json +2 -2
  25. package/dist/{payout-account-DA4gfB3w.js → payout-account-wavTTRgR.js} +2 -2
  26. package/dist/stores/payoutAccount.d.ts +4 -4
  27. package/dist/{transaction-BBM__3mR.js → transaction-CQiT7Y_s.js} +1 -1
  28. package/dist/tsconfig.app.tsbuildinfo +1 -1
  29. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
  30. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +4 -4
  31. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
  32. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
  33. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  34. package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +6 -6
  35. package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  36. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
  37. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +6 -6
  38. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +6 -6
  39. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +6 -6
  40. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +6 -6
  41. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +6 -6
  42. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +6 -6
  43. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
  44. package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
  45. package/package.json +2 -2
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as F, ref as P, reactive as k, computed as Z, watch as y, resolveComponent as i, openBlock as c, createBlock as Y, withCtx as X, createElementVNode as g, createVNode as u, unref as n, createCommentVNode as v, createElementBlock as p, normalizeClass as N, toDisplayString as R, h as W, onMounted as T, Fragment as L } from "vue";
2
- import { p as z } from "./index-CJy1IRg3.js";
3
- import { _ as I, u as S, e as h } from "./index-C_lvRbae.js";
2
+ import { p as z } from "./index-BwcJZFsi.js";
3
+ import { _ as I, u as S, e as h } from "./index-CWaKb7bG.js";
4
4
  import { defineStore as _ } from "pinia";
5
5
  import { useCoreStore as $ } from "@feedmepos/mf-common";
6
- import { c as AA, P as j } from "./payout-account-DA4gfB3w.js";
6
+ import { c as AA, P as j } from "./payout-account-wavTTRgR.js";
7
7
  import { useDialogChild as sA, useDialog as eA } from "@feedmepos/ui-library";
8
8
  import { z as f, a as q } from "./validator-D5jtpt9A.js";
9
9
  import { P as K } from "./PDFViewer-CjH_C1uT.js";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as b, resolveComponent as m, openBlock as g, createBlock as h, normalizeClass as N, withCtx as f, createElementVNode as P, toDisplayString as C, createVNode as c, computed as x, ref as E, watch as F, unref as l, isRef as k, h as w } from "vue";
2
- import { u as S } from "./index-Bz1J_qmc.js";
3
- import { _ as O } from "./index-C_lvRbae.js";
2
+ import { u as S } from "./index-7KNaibcq.js";
3
+ import { _ as O } from "./index-CWaKb7bG.js";
4
4
  import { _ as K } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
5
- import { P as V } from "./payout-account-DA4gfB3w.js";
6
- import { p as D } from "./index-CJy1IRg3.js";
5
+ import { P as V } from "./payout-account-wavTTRgR.js";
6
+ import { p as D } from "./index-BwcJZFsi.js";
7
7
  import "@feedmepos/ui-library";
8
- import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-DBooU_VF.js";
8
+ import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js";
9
9
  import { useRouter as $ } from "vue-router";
10
10
  const G = /* @__PURE__ */ b({
11
11
  __name: "Status",
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, resolveComponent as m, openBlock as g, createElementBlock as R, Fragment as D, createElementVNode as s, createVNode as u, withCtx as x, createTextVNode as C, toDisplayString as P, createCommentVNode as U, createBlock as V, ref as k, watch as O, computed as K, unref as r, isRef as j, h as q, onMounted as Y, resolveDynamicComponent as z, normalizeProps as H, mergeProps as L } from "vue";
2
- import { p as N } from "./index-CJy1IRg3.js";
3
- import { g as B, b as E, u as Q, e as $ } from "./index-C_lvRbae.js";
2
+ import { p as N } from "./index-BwcJZFsi.js";
3
+ import { g as B, b as E, u as Q, e as $ } from "./index-CWaKb7bG.js";
4
4
  import { _ as Z } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
5
5
  import { useRouter as J } from "vue-router";
6
- import { u as W } from "./index-Bz1J_qmc.js";
6
+ import { u as W } from "./index-7KNaibcq.js";
7
7
  import { P as M } from "./PDFViewer-CjH_C1uT.js";
8
8
  import { useSnackbar as X } from "@feedmepos/ui-library";
9
9
  import { u as h } from "./error-K1CakhA9.js";
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as h, ref as C, computed as V, resolveComponent as i, openBlock as k, createBlock as D, h as M, watch as $, onMounted as L, unref as a, withCtx as b, createElementVNode as y, createVNode as s, isRef as K, createElementBlock as P, Fragment as E, renderList as O } from "vue";
2
- import { u as S } from "./index-C_lvRbae.js";
2
+ import { u as S } from "./index-CWaKb7bG.js";
3
3
  import { h as v } from "./moment-h96o7c8I.js";
4
- import { s as d } from "./index-C2w3JCtA.js";
4
+ import { s as d } from "./index-CojhNtuG.js";
5
5
  import { useSnackbar as T } from "@feedmepos/ui-library";
6
6
  import { d as g } from "./dinero-CIVmXLL-.js";
7
7
  import { _ as Y } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
8
8
  import { useRouter as q } from "vue-router";
9
9
  import { _ as N } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
10
- import { u as U } from "./index-Bz1J_qmc.js";
10
+ import { u as U } from "./index-7KNaibcq.js";
11
11
  import { u as j } from "./error-K1CakhA9.js";
12
12
  const z = /* @__PURE__ */ h({
13
13
  __name: "SettlementTable",
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as w, ref as S, computed as D, resolveComponent as h, openBlock as v, createBlock as x, h as A, onMounted as k, watch as F, unref as n, withCtx as V, createElementVNode as p, createVNode as i, isRef as C } from "vue";
2
- import { u as $ } from "./index-C_lvRbae.js";
2
+ import { u as $ } from "./index-CWaKb7bG.js";
3
3
  import { h as _ } from "./moment-h96o7c8I.js";
4
4
  import { useCoreStore as b } from "@feedmepos/mf-common";
5
5
  import { _ as I } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
6
- import { s as g } from "./index-C2w3JCtA.js";
6
+ import { s as g } from "./index-CojhNtuG.js";
7
7
  import "@feedmepos/ui-library";
8
8
  import { d as f } from "./dinero-CIVmXLL-.js";
9
9
  import { _ as K } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
10
10
  import { useRouter as P } from "vue-router";
11
- import { u as O } from "./index-Bz1J_qmc.js";
11
+ import { u as O } from "./index-7KNaibcq.js";
12
12
  import { _ as Y } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
13
13
  import { _ as B } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js";
14
14
  const L = /* @__PURE__ */ w({
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as T, resolveComponent as g, openBlock as F, createBlock as P, normalizeClass as z, withCtx as l, createElementVNode as t, toDisplayString as u, createElementBlock as L, unref as c, ref as _, onMounted as G, watch as $, createVNode as a, createTextVNode as i, h as C } from "vue";
2
- import { e as E, u as j } from "./index-C_lvRbae.js";
2
+ import { e as E, u as j } from "./index-CWaKb7bG.js";
3
3
  import "@feedmepos/ui-library";
4
4
  import { d as h } from "./dinero-CIVmXLL-.js";
5
- import { g as Y, a as H } from "./assets-BrVemDyU.js";
6
- import { t as q, a as J } from "./transaction-BBM__3mR.js";
5
+ import { g as Y, a as H } from "./assets-NrCec-W0.js";
6
+ import { t as q, a as J } from "./transaction-CQiT7Y_s.js";
7
7
  import { _ as Q } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
8
8
  import { useRouter as W } from "vue-router";
9
- import { s as X } from "./index-C2w3JCtA.js";
9
+ import { s as X } from "./index-CojhNtuG.js";
10
10
  import { useCoreStore as Z } from "@feedmepos/mf-common";
11
11
  const ee = /* @__PURE__ */ T({
12
12
  __name: "Status",
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as w, resolveComponent as g, openBlock as F, createBlock as k, normalizeClass as j, withCtx as l, createElementVNode as t, toDisplayString as u, createElementBlock as L, unref as p, ref as T, 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-C_lvRbae.js";
2
+ import { e as E, u as q } from "./index-CWaKb7bG.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 } from "./assets-BrVemDyU.js";
6
- import { t as P, a as Z } from "./transaction-BBM__3mR.js";
5
+ import { g as W, a as X } from "./assets-NrCec-W0.js";
6
+ import { t as P, a as Z } from "./transaction-CQiT7Y_s.js";
7
7
  import { _ as ee } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
8
8
  import { useRouter as te } from "vue-router";
9
- import { s as ae } from "./index-C2w3JCtA.js";
9
+ import { s as ae } from "./index-CojhNtuG.js";
10
10
  import { u as ne } from "./error-K1CakhA9.js";
11
11
  import { w as oe } from "./Modal-DB8M9o1T.js";
12
12
  const re = /* @__PURE__ */ w({
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as x, openBlock as f, createElementBlock as B, createTextVNode as L, createElementVNode as h, toDisplayString as U, resolveComponent as p, createVNode as v, normalizeClass as O, withCtx as V, createBlock as g, createCommentVNode as I, ref as k, computed as z, unref as c, watch as D, isRef as K, h as E } from "vue";
2
- import "./index-C_lvRbae.js";
2
+ import "./index-CWaKb7bG.js";
3
3
  import { h as Y } from "./moment-h96o7c8I.js";
4
- import { u as j } from "./index-Bz1J_qmc.js";
5
- import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-DBooU_VF.js";
4
+ import { u as j } from "./index-7KNaibcq.js";
5
+ import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js";
6
6
  import { _ as Q } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
7
7
  import { useSnackbar as $, useDialogChild as G, useDialog as H } from "@feedmepos/ui-library";
8
- import { t as A } from "./index-C5-Iy39F.js";
8
+ import { t as A } from "./index-BWUtjGg7.js";
9
9
  import { c as J } from "./clipboard-4jh1WteU.js";
10
10
  import { u as N } from "./error-K1CakhA9.js";
11
11
  import { z as P, a as R } from "./validator-D5jtpt9A.js";
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as x, openBlock as I, createElementBlock as M, Fragment as $, createElementVNode as v, createTextVNode as T, toDisplayString as V, ref as g, onMounted as C, computed as D, resolveComponent as f, unref as b, createVNode as F, createBlock as w, withCtx as G, createCommentVNode as q, isRef as P, resolveDynamicComponent as R, normalizeProps as Y, mergeProps as K } from "vue";
2
- import { u as _, e as U } from "./index-C_lvRbae.js";
2
+ import { u as _, e as U } from "./index-CWaKb7bG.js";
3
3
  import { useRouter as L } from "vue-router";
4
- import { t as S } from "./index-C5-Iy39F.js";
4
+ import { t as S } from "./index-BWUtjGg7.js";
5
5
  import { _ as j } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
6
- import { u as E } from "./index-Bz1J_qmc.js";
6
+ import { u as E } from "./index-7KNaibcq.js";
7
7
  import { useSnackbar as A } from "@feedmepos/ui-library";
8
8
  import { u as z } from "./error-K1CakhA9.js";
9
9
  import { useCoreStore as N } from "@feedmepos/mf-common";
@@ -1,18 +1,18 @@
1
- import { defineComponent as N, openBlock as _, createElementBlock as x, Fragment as F, unref as t, createCommentVNode as k, createElementVNode as d, resolveComponent as p, createBlock as R, normalizeClass as D, withCtx as C, toDisplayString as V, ref as K, watch as T, createVNode as i, isRef as g, h } from "vue";
2
- import { c as l } from "./index-C_lvRbae.js";
1
+ import { defineComponent as y, openBlock as _, createElementBlock as x, Fragment as F, unref as t, createCommentVNode as k, createElementVNode as d, resolveComponent as p, createBlock as R, normalizeClass as D, withCtx as C, toDisplayString as V, ref as K, watch as T, createVNode as i, isRef as g, h } from "vue";
2
+ import { c as l } from "./index-CWaKb7bG.js";
3
3
  import { h as I } from "./moment-h96o7c8I.js";
4
- import { u as M } from "./index-Bz1J_qmc.js";
5
- import { _ as $ } from "./index.vue_vue_type_script_setup_true_lang-DBooU_VF.js";
4
+ import { u as M } from "./index-7KNaibcq.js";
5
+ import { _ as $ } from "./index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js";
6
6
  import "@feedmepos/ui-library";
7
- import { g as L } from "./assets-BrVemDyU.js";
8
- import { E as B, t as w } from "./index-CdN6mR2m.js";
7
+ import { g as L } from "./assets-NrCec-W0.js";
8
+ import { E as B, t as w } from "./index-DbJpbpSs.js";
9
9
  import { d as G } from "./dinero-CIVmXLL-.js";
10
10
  import { _ as P } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js";
11
11
  import { useCoreStore as U } from "@feedmepos/mf-common";
12
12
  import { _ as Y } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
13
13
  import { _ as W } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
14
14
  import { _ as j } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
15
- const q = ["src"], z = ["src"], Q = /* @__PURE__ */ N({
15
+ const q = ["src"], z = ["src"], Q = /* @__PURE__ */ y({
16
16
  __name: "Gateway",
17
17
  props: {
18
18
  row: {},
@@ -31,7 +31,7 @@ const q = ["src"], z = ["src"], Q = /* @__PURE__ */ N({
31
31
  }, null, 8, z)
32
32
  ], 64));
33
33
  }
34
- }), H = /* @__PURE__ */ N({
34
+ }), H = /* @__PURE__ */ y({
35
35
  __name: "Status",
36
36
  props: {
37
37
  row: {},
@@ -55,7 +55,7 @@ const q = ["src"], z = ["src"], Q = /* @__PURE__ */ N({
55
55
  }, 8, ["class"]);
56
56
  };
57
57
  }
58
- }), J = { class: "flex justify-between mb-6 items-start" }, X = { class: "flex space-x-8 items-start" }, Z = { class: "flex space-x-4" }, _e = /* @__PURE__ */ N({
58
+ }), J = { class: "flex justify-between mb-6 items-start" }, X = { class: "flex space-x-8 items-start" }, Z = { class: "flex space-x-4" }, _e = /* @__PURE__ */ y({
59
59
  __name: "TerminalTransaction",
60
60
  setup(f) {
61
61
  const { currentRestaurant: n } = U(), s = K(), { dateRange: o, status: m, searchKey: c } = M({
@@ -105,6 +105,7 @@ const q = ["src"], z = ["src"], Q = /* @__PURE__ */ N({
105
105
  let u = "-";
106
106
  return a.details && a.details.amount && (u = G(a.details.amount).toFormat("$0.00")), {
107
107
  id: e._id,
108
+ orderId: e.orderId,
108
109
  refId: e.refId,
109
110
  terminalId: e.terminalId,
110
111
  transactionAt: I(e.transactionAt).format("YYYY-MM-DD hh:mm:ss"),
@@ -122,6 +123,13 @@ const q = ["src"], z = ["src"], Q = /* @__PURE__ */ N({
122
123
  },
123
124
  cell: ({ cell: e }) => h(W, { data: e.getValue() })
124
125
  },
126
+ {
127
+ accessorKey: "orderId",
128
+ header: () => "Pay ID",
129
+ meta: {
130
+ textAlign: "left"
131
+ }
132
+ },
125
133
  {
126
134
  accessorKey: "refId",
127
135
  header: () => "Reference ID",
@@ -170,7 +178,7 @@ const q = ["src"], z = ["src"], Q = /* @__PURE__ */ N({
170
178
  }
171
179
  ];
172
180
  return (e, a) => {
173
- const u = p("FmSearch"), y = p("FmSelect"), v = p("FmDateRangePicker");
181
+ const u = p("FmSearch"), N = p("FmSelect"), v = p("FmDateRangePicker");
174
182
  return _(), R(j, {
175
183
  title: "Offline Transactions",
176
184
  description: "Transactions are purchases or payments made in retail using electronic devices such as POS systems, kiosks, terminals, or ECRs.",
@@ -187,7 +195,7 @@ const q = ["src"], z = ["src"], Q = /* @__PURE__ */ N({
187
195
  label: "Search",
188
196
  placeholder: "Search Transactions ..."
189
197
  }, null, 8, ["model-value"]),
190
- i(y, {
198
+ i(N, {
191
199
  modelValue: t(m),
192
200
  "onUpdate:modelValue": a[1] || (a[1] = (r) => g(m) ? m.value = r : null),
193
201
  class: "mr-6 w-[300px]",
@@ -1,27 +1,27 @@
1
- import { defineComponent as I, openBlock as y, createElementBlock as h, unref as c, createCommentVNode as V, createElementVNode as w, resolveComponent as g, createBlock as v, normalizeClass as K, withCtx as N, toDisplayString as C, createVNode as p, Fragment as $, renderList as L, ref as P, watch as F, isRef as x, h as A } from "vue";
2
- import { c as f } from "./index-C_lvRbae.js";
1
+ import { defineComponent as h, openBlock as y, createElementBlock as I, unref as c, createCommentVNode as V, createElementVNode as w, resolveComponent as g, createBlock as v, normalizeClass as K, withCtx as x, toDisplayString as C, createVNode as p, Fragment as $, renderList as P, ref as L, watch as F, isRef as N, h as A } from "vue";
2
+ import { c as f } from "./index-CWaKb7bG.js";
3
3
  import { h as R } from "./moment-h96o7c8I.js";
4
- import { u as B } from "./index-Bz1J_qmc.js";
5
- import { _ as G } from "./index.vue_vue_type_script_setup_true_lang-DBooU_VF.js";
4
+ import { u as B } from "./index-7KNaibcq.js";
5
+ import { _ as G } from "./index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js";
6
6
  import { _ as U } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
7
7
  import { useSnackbar as Y, useDialog as Q } from "@feedmepos/ui-library";
8
- import { g as W } from "./assets-BrVemDyU.js";
9
- import { E as j, t as b } from "./index-CdN6mR2m.js";
8
+ import { g as W } from "./assets-NrCec-W0.js";
9
+ import { E as j, t as b } from "./index-DbJpbpSs.js";
10
10
  import { d as z } from "./dinero-CIVmXLL-.js";
11
11
  import { _ as H } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
12
12
  import { _ as J } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
13
13
  import { useRouter as X } from "vue-router";
14
14
  import { w as Z } from "./Modal-DB8M9o1T.js";
15
15
  import { u as S } from "./error-K1CakhA9.js";
16
- const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I({
16
+ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ h({
17
17
  __name: "Gateway",
18
18
  props: {
19
19
  row: {},
20
20
  data: {}
21
21
  },
22
22
  setup(T) {
23
- return (a, m) => (y(), h("div", ee, [
24
- a.row.original.ecrGateway ? (y(), h("img", {
23
+ return (a, m) => (y(), I("div", ee, [
24
+ a.row.original.ecrGateway ? (y(), I("img", {
25
25
  key: 0,
26
26
  class: "bg-fm-color-overlay-background rounded-md m-auto border-transparent w-[32px] h-[32px]",
27
27
  src: c(j)
@@ -32,7 +32,7 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
32
32
  }, null, 8, ae)
33
33
  ]));
34
34
  }
35
- }), re = /* @__PURE__ */ I({
35
+ }), re = /* @__PURE__ */ h({
36
36
  __name: "Status",
37
37
  props: {
38
38
  row: {},
@@ -49,14 +49,14 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
49
49
  inline: "",
50
50
  class: K(m())
51
51
  }, {
52
- default: N(() => [
52
+ default: x(() => [
53
53
  w("div", null, C(o.data.toUpperCase()), 1)
54
54
  ]),
55
55
  _: 1
56
56
  }, 8, ["class"]);
57
57
  };
58
58
  }
59
- }), oe = /* @__PURE__ */ I({
59
+ }), oe = /* @__PURE__ */ h({
60
60
  __name: "RouteCell",
61
61
  props: {
62
62
  data: {},
@@ -67,14 +67,14 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
67
67
  function o() {
68
68
  m.push(a.route);
69
69
  }
70
- return (l, s) => (y(), h("div", {
70
+ return (l, s) => (y(), I("div", {
71
71
  class: "fm-typo-en-link-md-600",
72
72
  onClick: s[0] || (s[0] = (u) => {
73
73
  u.stopPropagation(), o();
74
74
  })
75
75
  }, C(l.data), 1));
76
76
  }
77
- }), se = /* @__PURE__ */ I({
77
+ }), se = /* @__PURE__ */ h({
78
78
  __name: "Actions",
79
79
  props: {
80
80
  onAction: { type: Function }
@@ -96,17 +96,17 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
96
96
  ];
97
97
  return (m, o) => {
98
98
  const l = g("FmIcon"), s = g("FmMenuItem"), u = g("FmMenu");
99
- return y(), h("div", {
99
+ return y(), I("div", {
100
100
  onClick: o[0] || (o[0] = (i) => {
101
101
  i.stopPropagation();
102
102
  })
103
103
  }, [
104
104
  p(u, null, {
105
- "menu-button": N(() => [
105
+ "menu-button": x(() => [
106
106
  p(l, { name: "settings" })
107
107
  ]),
108
- default: N(() => [
109
- (y(), h($, null, L(a, (i) => p(s, {
108
+ default: x(() => [
109
+ (y(), I($, null, P(a, (i) => p(s, {
110
110
  selectable: !0,
111
111
  key: i.label,
112
112
  sublabel: i.sublabel,
@@ -120,10 +120,10 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
120
120
  ]);
121
121
  };
122
122
  }
123
- }), le = { class: "flex justify-between mb-6 items-start" }, ie = { class: "flex space-x-4 items-start" }, ce = { class: "flex space-x-4" }, xe = /* @__PURE__ */ I({
123
+ }), le = { class: "flex justify-between mb-6 items-start" }, ie = { class: "flex space-x-4 items-start" }, ce = { class: "flex space-x-4" }, Ne = /* @__PURE__ */ h({
124
124
  __name: "TerminalTransaction",
125
125
  setup(T) {
126
- const a = Y(), m = Q(), o = P(), { dateRange: l, status: s, searchKey: u } = B({
126
+ const a = Y(), m = Q(), o = L(), { dateRange: l, status: s, searchKey: u } = B({
127
127
  searchKey: "",
128
128
  status: [f.F_TERMINAL_TRANSACTION_ACTION.Enum.success],
129
129
  dateRange: {
@@ -245,6 +245,7 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
245
245
  let r = "-";
246
246
  return t.details && t.details.amount && (r = z(t.details.amount).toFormat("$0.00")), {
247
247
  id: e._id,
248
+ orderId: e.orderId,
248
249
  refId: e.refId,
249
250
  owner: e.owner,
250
251
  terminalId: e.terminalId,
@@ -264,20 +265,10 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
264
265
  cell: ({ cell: e }) => A(J, { data: e.getValue() })
265
266
  },
266
267
  {
267
- accessorKey: "terminalId",
268
- header: () => "Terminal ID",
268
+ accessorKey: "orderId",
269
+ header: () => "Pay ID",
269
270
  meta: {
270
271
  textAlign: "left"
271
- },
272
- cell: ({ cell: e, row: t }) => {
273
- const r = e.getValue();
274
- return A(oe, {
275
- data: r,
276
- route: {
277
- name: "mf-payment-admin.terminal-setting",
278
- params: { terminalId: r }
279
- }
280
- });
281
272
  }
282
273
  },
283
274
  {
@@ -312,6 +303,23 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
312
303
  textAlign: "center"
313
304
  }
314
305
  },
306
+ {
307
+ accessorKey: "terminalId",
308
+ header: () => "Terminal ID",
309
+ meta: {
310
+ textAlign: "left"
311
+ },
312
+ cell: ({ cell: e, row: t }) => {
313
+ const r = e.getValue();
314
+ return A(oe, {
315
+ data: r,
316
+ route: {
317
+ name: "mf-payment-admin.terminal-setting",
318
+ params: { terminalId: r }
319
+ }
320
+ });
321
+ }
322
+ },
315
323
  {
316
324
  accessorKey: "owner",
317
325
  header: () => "Reference",
@@ -351,19 +359,19 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
351
359
  title: "Offline Transactions",
352
360
  loading: !1
353
361
  }, {
354
- default: N(() => [
362
+ default: x(() => [
355
363
  w("div", le, [
356
364
  w("div", ie, [
357
365
  p(r, {
358
366
  "model-value": c(u),
359
- "onUpdate:modelValue": t[0] || (t[0] = (n) => x(u) ? u.value = n : null),
367
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => N(u) ? u.value = n : null),
360
368
  class: "mr-8",
361
369
  label: "Search",
362
370
  placeholder: "Search Transactions ..."
363
371
  }, null, 8, ["model-value"]),
364
372
  p(d, {
365
373
  modelValue: c(s),
366
- "onUpdate:modelValue": t[1] || (t[1] = (n) => x(s) ? s.value = n : null),
374
+ "onUpdate:modelValue": t[1] || (t[1] = (n) => N(s) ? s.value = n : null),
367
375
  class: "mr-6 w-[300px]",
368
376
  label: "Status",
369
377
  "label-mark": "required",
@@ -372,7 +380,7 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
372
380
  }, null, 8, ["modelValue"]),
373
381
  p(_, {
374
382
  modelValue: c(l),
375
- "onUpdate:modelValue": t[2] || (t[2] = (n) => x(l) ? l.value = n : null),
383
+ "onUpdate:modelValue": t[2] || (t[2] = (n) => N(l) ? l.value = n : null),
376
384
  compare: "",
377
385
  "show-predefined-range": ""
378
386
  }, null, 8, ["modelValue"])
@@ -414,5 +422,5 @@ const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I
414
422
  }
415
423
  });
416
424
  export {
417
- xe as default
425
+ Ne as default
418
426
  };
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as _, resolveComponent as T, openBlock as f, createBlock as N, normalizeClass as k, withCtx as R, createElementVNode as y, toDisplayString as K, createElementBlock as O, unref as o, ref as A, h as x, onMounted as V, watch as E, createVNode as p, isRef as F } from "vue";
2
- import { t as I, a as C } from "./transaction-BBM__3mR.js";
3
- import { e as S, u as P } from "./index-C_lvRbae.js";
2
+ import { t as I, a as C } from "./transaction-CQiT7Y_s.js";
3
+ import { e as S, u as P } from "./index-CWaKb7bG.js";
4
4
  import { useSnackbar as $ } from "@feedmepos/ui-library";
5
5
  import "./dinero-CIVmXLL-.js";
6
6
  import { h as b } from "./moment-h96o7c8I.js";
7
- import { g as L, a as B } from "./assets-BrVemDyU.js";
7
+ import { g as L, a as B } from "./assets-NrCec-W0.js";
8
8
  import { useCoreStore as M } from "@feedmepos/mf-common";
9
9
  import { _ as U } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
10
- import { u as G } from "./index-Bz1J_qmc.js";
10
+ import { u as G } from "./index-7KNaibcq.js";
11
11
  import { _ as Y } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
12
12
  import { _ as q } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js";
13
13
  const J = /* @__PURE__ */ _({
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as h, resolveComponent as _, openBlock as g, createBlock as E, normalizeClass as $, withCtx as x, createElementVNode as b, toDisplayString as L, createElementBlock as F, unref as m, createVNode as y, Fragment as B, renderList as U, ref as N, h as T, onMounted as G, watch as k, isRef as D } from "vue";
2
- import { t as w, a as J, b as R } from "./transaction-BBM__3mR.js";
3
- import { e as S, u as Q } from "./index-C_lvRbae.js";
2
+ import { t as w, a as J, b as R } from "./transaction-CQiT7Y_s.js";
3
+ import { e as S, u as Q } from "./index-CWaKb7bG.js";
4
4
  import { useSnackbar as Y, useDialog as j } from "@feedmepos/ui-library";
5
5
  import "./dinero-CIVmXLL-.js";
6
6
  import { h as O } from "./moment-h96o7c8I.js";
7
- import { g as z, a as H } from "./assets-BrVemDyU.js";
7
+ import { g as z, a as H } from "./assets-NrCec-W0.js";
8
8
  import { _ as W } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
9
- import { u as X } from "./index-Bz1J_qmc.js";
9
+ import { u as X } from "./index-7KNaibcq.js";
10
10
  import { _ as Z } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
11
11
  import { _ as ee } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
12
12
  import { w as P } from "./Modal-DB8M9o1T.js";