@feedmepos/mf-payment 1.0.26 → 1.0.27

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 (34) hide show
  1. package/dist/{PayoutAccount-U_PSWEUs.js → PayoutAccount-BXAHMUqm.js} +3 -3
  2. package/dist/{PayoutAccount-C9Mb5qSo.js → PayoutAccount-CJDIeEqE.js} +5 -5
  3. package/dist/{PayoutAccountSetting-Cd9QpZOO.js → PayoutAccountSetting-B1qYXdcV.js} +3 -3
  4. package/dist/{Restaurant-cx9NtvWM.js → Restaurant-WAb8C3Bi.js} +4 -4
  5. package/dist/{RestaurantSetting-CVPV6IyD.js → RestaurantSetting-D3F2zEU2.js} +3 -3
  6. package/dist/{Settlement-DNOptInF.js → Settlement-CrHw6_aG.js} +3 -3
  7. package/dist/{Settlement-DH4O50GV.js → Settlement-DttlDY6b.js} +3 -3
  8. package/dist/{SettlementTransactions-CgxSypxO.js → SettlementTransactions-Ch6L0wKP.js} +4 -4
  9. package/dist/{SettlementTransactions-Dbym3uEM.js → SettlementTransactions-uIuyf0cY.js} +4 -4
  10. package/dist/{Terminal-BmS5o_oC.js → Terminal-BKTVZsRR.js} +5 -5
  11. package/dist/{TerminalSetting-Be7VgGJr.js → TerminalSetting-NzB_xDQg.js} +3 -3
  12. package/dist/{TerminalTransaction-CwzNfbcS.js → TerminalTransaction-BJCJvnzZ.js} +5 -5
  13. package/dist/{TerminalTransaction-sT2xDGUS.js → TerminalTransaction-DzyXFZhT.js} +6 -6
  14. package/dist/{Transaction-D9iJeG7O.js → Transaction-BPMCeklh.js} +6 -6
  15. package/dist/{Transaction-BnISqtqb.js → Transaction-BX0OwLb-.js} +5 -5
  16. package/dist/{TransactionOld-O6W__OPX.js → TransactionOld-Y8Fb_tXk.js} +4 -4
  17. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-FC8wN1DK.js → TransactionTable.vue_vue_type_script_setup_true_lang-Bs2W2B9u.js} +2 -2
  18. package/dist/{app-BNEQx96m.js → app-BQ_be3bS.js} +301 -301
  19. package/dist/app.js +1 -1
  20. package/dist/{assets-Rt4Sm7Hh.js → assets-TlDPqJQ_.js} +1 -1
  21. package/dist/{grafana-CNloB1uJ.js → grafana-BpevTKkB.js} +1 -1
  22. package/dist/{index-CJ7-PTpj.js → index-BJ1hyUsB.js} +1 -1
  23. package/dist/{index-Dva8i6Ix.js → index-BrtHBUky.js} +1 -1
  24. package/dist/{index-Judkp9-I.js → index-CUSUi8_1.js} +1 -1
  25. package/dist/{index-B7CKTol8.js → index-CleAyjhn.js} +1 -1
  26. package/dist/{index-B8ELM2bF.js → index-DZkh28kj.js} +923 -923
  27. package/dist/{index-3OWfXmtT.js → index-LFOiOI1-.js} +11 -8
  28. package/dist/{index-CjTclC5O.js → index-kcUUc9Nl.js} +1 -1
  29. package/dist/{index.vue_vue_type_script_setup_true_lang-E9xiKRYb.js → index.vue_vue_type_script_setup_true_lang-BB8bVAvt.js} +1 -1
  30. package/dist/package.json +1 -1
  31. package/dist/{payout-account-H3EBirHa.js → payout-account-CCVPrIOU.js} +2 -2
  32. package/dist/{transaction-BvAz0ZV0.js → transaction-JwkBOBgO.js} +1 -1
  33. package/dist/tsconfig.app.tsbuildinfo +1 -1
  34. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { g as r, b as i, j as d, l as y, k as f, i as l, r as m } from "./index-B8ELM2bF.js";
1
+ import { g as r, b as i, j as d, l as y, k as f, i as l, r as m } from "./index-DZkh28kj.js";
2
2
  import { h as o } from "./moment-h96o7c8I.js";
3
- import { d as c } from "./dinero-CIVmXLL-.js";
3
+ import { d as u } from "./dinero-CIVmXLL-.js";
4
4
  function* p(t, n) {
5
5
  const e = t[Symbol.iterator](), s = e.next();
6
6
  if (!s.done) {
@@ -9,7 +9,7 @@ function* p(t, n) {
9
9
  yield n, yield a;
10
10
  }
11
11
  }
12
- const k = {
12
+ const S = {
13
13
  async updateRemark(t) {
14
14
  return r(
15
15
  await i().put("/settlements/remark", t)
@@ -28,8 +28,8 @@ const k = {
28
28
  settlementDate: o().format("DDMMYYYY"),
29
29
  myRefNo: "",
30
30
  companyAccNo: n,
31
- amount: c(a.totalPayout).toUnit().toString(),
32
- currency: c.defaultCurrency,
31
+ amount: u(a.totalPayout).toUnit().toString(),
32
+ currency: u.defaultCurrency,
33
33
  proxyType: "",
34
34
  transferType: "DFLT",
35
35
  beneficiaryAccountNo: a.beneficiaryBank.accountNumber.toString().trim(),
@@ -44,7 +44,7 @@ const k = {
44
44
  Array.from(
45
45
  p(
46
46
  e.map(
47
- (a) => Object.values(a).map((u) => u).join("|")
47
+ (a) => Object.values(a).map((c) => c).join("|")
48
48
  ),
49
49
  `
50
50
  `
@@ -83,7 +83,10 @@ const k = {
83
83
  "store.id": "store"
84
84
  },
85
85
  transformers: {
86
- createdAt: (e) => o(e).format("YYYY-MM-DD")
86
+ createdAt: (e) => o(e).format("YYYY-MM-DD"),
87
+ "totalAmount.amount": (e) => e / 100,
88
+ "totalFee.amount": (e) => e / 100,
89
+ "totalPayout.amount": (e) => e / 100
87
90
  }
88
91
  }
89
92
  );
@@ -136,5 +139,5 @@ const k = {
136
139
  }
137
140
  };
138
141
  export {
139
- k as s
142
+ S as s
140
143
  };
@@ -1,4 +1,4 @@
1
- import { b as r, g as e } from "./index-B8ELM2bF.js";
1
+ import { b as r, g as e } from "./index-DZkh28kj.js";
2
2
  const n = {
3
3
  async readRestaurantById(t) {
4
4
  const a = await r().get(`/restaurants/${t}`);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as I, ref as r, resolveComponent as p, openBlock as f, createBlock as L, withCtx as P, createVNode as d, createElementVNode as u, normalizeStyle as T, createElementBlock as M, Fragment as N, renderList as j, computed as C, watch as S, onMounted as E, unref as D, toDisplayString as B, createCommentVNode as O, normalizeClass as R } from "vue";
2
- import { u as G } from "./index-B8ELM2bF.js";
2
+ import { u as G } from "./index-DZkh28kj.js";
3
3
  import "@feedmepos/ui-library";
4
4
  const H = ["id"], U = /* @__PURE__ */ I({
5
5
  __name: "FmTableSelection",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,5 +1,5 @@
1
- import { _ as Qe, C as et, r as Oe, S as tt, g as re, a as nt, b as rt, c as _e, d as st, F as it, e as ot } from "./app-BNEQx96m.js";
2
- import { d as at, f as ut, _ as Y, m as ct } from "./index-B8ELM2bF.js";
1
+ import { _ as Qe, C as et, r as Oe, S as tt, g as re, a as nt, b as rt, c as _e, d as st, F as it, e as ot } from "./app-BQ_be3bS.js";
2
+ import { d as at, f as ut, _ as Y, m as ct } from "./index-DZkh28kj.js";
3
3
  /**
4
4
  * @license
5
5
  * Copyright 2017 Google LLC
@@ -1,4 +1,4 @@
1
- import { g as e, b as o, r, h as m, l as u, i as f } from "./index-B8ELM2bF.js";
1
+ import { g as e, b as o, r, h as m, l as u, i as f } from "./index-DZkh28kj.js";
2
2
  import { h as a } from "./moment-h96o7c8I.js";
3
3
  import { d as s } from "./dinero-CIVmXLL-.js";
4
4
  const A = {