@feedmepos/mf-payment 0.0.0-beta.18 → 0.0.0-beta.21
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{PayoutAccount-CDe3m7kn.js → PayoutAccount-DEEuJq8a.js} +5 -5
- package/dist/{PayoutAccount-DGPPMIV2.js → PayoutAccount-Fg0fD2z1.js} +3 -3
- package/dist/{PayoutAccountSetting-uiFglxyj.js → PayoutAccountSetting-D6rCau39.js} +3 -3
- package/dist/{Settlement-DLFEvFiY.js → Settlement-DO3KQc7V.js} +3 -3
- package/dist/{Settlement-DuT2FxzJ.js → Settlement-KxjeLkyq.js} +3 -3
- package/dist/{SettlementTransactions-BQpqcrAK.js → SettlementTransactions-BHm0Xr73.js} +4 -4
- package/dist/{SettlementTransactions--BvqHEHi.js → SettlementTransactions-D8SewaiK.js} +4 -4
- package/dist/{Terminal-ilkedvT7.js → Terminal-CG3mIv6Z.js} +4 -4
- package/dist/{TerminalSetting-CEp_RasG.js → TerminalSetting-CIFHaoHX.js} +3 -3
- package/dist/{TerminalTransaction-CxkG6chg.js → TerminalTransaction-B2PFfPKP.js} +69 -67
- package/dist/{TerminalTransaction-DYlm_3zt.js → TerminalTransaction-CnfWv95d.js} +5 -5
- package/dist/{Transaction-CkRaGtkz.js → Transaction-CM_VKdEN.js} +4 -4
- package/dist/{Transaction-CHHwlo39.js → Transaction-D7ZuZ-IB.js} +4 -4
- package/dist/api/index.d.ts +5 -1
- package/dist/api/terminal-transaction/index.d.ts +1 -0
- package/dist/app.js +79 -76
- package/dist/assets-CLiVU4As.js +42 -0
- package/dist/components/CursorTable/index.vue.d.ts +2 -2
- package/dist/{index-Bboaan5m.js → index-ByCQqfan.js} +1 -1
- package/dist/{index-BBTjdV3w.js → index-CkIbCIHJ.js} +765 -765
- package/dist/{index-DIT7Btp7.js → index-CpIkc_Lq.js} +1 -1
- package/dist/index-DVSsAdF3.js +26 -0
- package/dist/{index-CCLnLskX.js → index-DvsSYfvP.js} +1 -1
- package/dist/{index-BuCL5h0R.js → index-eVOVYNBC.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CcT6hjAl.js → index.vue_vue_type_script_setup_true_lang-sNgZ-dwX.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-D22v2HHW.js → payout-account-Bj0y4ywE.js} +193 -193
- package/dist/{transaction-CSqbF07L.js → transaction-C1MtaXOd.js} +13 -10
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/assets-DB7pg43Y.js +0 -471
- package/dist/index-BVmZTFl8.js +0 -20
@@ -1,5 +1,5 @@
|
|
1
|
-
import { g as a, b as n, r, l as o, i } from "./index-
|
2
|
-
import { d as
|
1
|
+
import { g as a, b as n, r as s, l as o, i } from "./index-CkIbCIHJ.js";
|
2
|
+
import { d as r } from "./dinero-CIVmXLL-.js";
|
3
3
|
import { h as c } from "./moment-h96o7c8I.js";
|
4
4
|
const y = {
|
5
5
|
async readBySettlementId(t) {
|
@@ -29,21 +29,24 @@ const y = {
|
|
29
29
|
},
|
30
30
|
async readRestaurantTransactions(t) {
|
31
31
|
return a(
|
32
|
-
await
|
32
|
+
await s().get("/transactions", {
|
33
33
|
params: t
|
34
34
|
})
|
35
35
|
);
|
36
36
|
},
|
37
37
|
async readRestaurantTransactionsBySettlementId(t) {
|
38
38
|
return a(
|
39
|
-
await
|
39
|
+
await s().get(
|
40
40
|
`/transactions/settlements/${t}`
|
41
41
|
)
|
42
42
|
);
|
43
43
|
},
|
44
44
|
async downloadRestaurantTransactionReport(t) {
|
45
45
|
return o(t, {
|
46
|
-
|
46
|
+
filename: "transaction-report.xlsx",
|
47
|
+
transformers: {
|
48
|
+
method: (e) => (e == null ? void 0 : e.issuer) ?? ""
|
49
|
+
}
|
47
50
|
});
|
48
51
|
},
|
49
52
|
async downloadTransactionReport(t) {
|
@@ -63,15 +66,15 @@ function m(t) {
|
|
63
66
|
gateway: t.gateway,
|
64
67
|
status: t.status,
|
65
68
|
transactionAt: c(t.createdAt).format("YYYY-MM-DD hh:mm:ss"),
|
66
|
-
amount:
|
67
|
-
fee:
|
68
|
-
payout:
|
69
|
+
amount: r(t.amount).toFormat("$0.00"),
|
70
|
+
fee: r(t.fee).toFormat("$0.00"),
|
71
|
+
payout: r(t.payout).toFormat("$0.00")
|
69
72
|
};
|
70
73
|
}
|
71
|
-
function
|
74
|
+
function l(t) {
|
72
75
|
return t.map(m);
|
73
76
|
}
|
74
77
|
export {
|
75
|
-
|
78
|
+
l as a,
|
76
79
|
y as t
|
77
80
|
};
|