@feedmepos/mf-payment 1.7.0-dev → 1.7.1
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/{Actions.vue_vue_type_script_setup_true_lang-BX2bMjao.js → Actions.vue_vue_type_script_setup_true_lang-CRNNEhdb.js} +1 -1
- package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-CPRdjNud.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-DjiSltH9.js} +2 -2
- package/dist/{Chargeback-MMmCnSz-.js → Chargeback-CLmIb_z0.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DiVfAn4G.js → DocumentViewer.vue_vue_type_script_setup_true_lang-Cy-vikjQ.js} +1 -1
- package/dist/{OnboardForm-Bz-2E5fr.js → OnboardForm--egFxuAd.js} +5 -5
- package/dist/{OnboardForm-DvyEoD0l.js → OnboardForm-DJcR03we.js} +5 -5
- package/dist/{OnboardSubmission-DsWvHgAm.js → OnboardSubmission-BaM01HIV.js} +2 -2
- package/dist/{OnboardSubmission-mSm_0xxl.js → OnboardSubmission-D5uJWKHh.js} +5 -5
- package/dist/{PayoutAccount-BnesOO6f.js → PayoutAccount-CEr0rx4J.js} +5 -5
- package/dist/{PayoutAccount-DDxg4ecY.js → PayoutAccount-DYZ2gQGD.js} +5 -5
- package/dist/{PayoutAccountSetting-D2zMCl80.js → PayoutAccountSetting-DlF_FPHr.js} +6 -6
- package/dist/{Restaurant-DGvP7Csh.js → Restaurant-KGa0xV0K.js} +4 -4
- package/dist/{RestaurantSetting-Brne3iti.js → RestaurantSetting-Bg5M-n6p.js} +3 -3
- package/dist/{Settlement-CowH0Zk2.js → Settlement-C4q03i6e.js} +87 -86
- package/dist/{Settlement-D2TlUSAw.js → Settlement-DAkVWztP.js} +3 -3
- package/dist/{SettlementTransactions-CaSEBnSk.js → SettlementTransactions-CsvfmLM_.js} +4 -4
- package/dist/{SettlementTransactions-Dls7DVNX.js → SettlementTransactions-XjsIKvXQ.js} +4 -4
- package/dist/{Status.vue_vue_type_script_setup_true_lang-BRLsY7E6.js → Status.vue_vue_type_script_setup_true_lang-ExFNksup.js} +1 -1
- package/dist/{Terminal-CkGdLWBY.js → Terminal-DkeT7bTc.js} +5 -5
- package/dist/{TerminalSetting-Rh5yvzQW.js → TerminalSetting-AnoIOO73.js} +4 -4
- package/dist/{Transaction-VqXHPbcx.js → Transaction-BEkrFPHL.js} +9 -9
- package/dist/{Transaction-DzxKjZi_.js → Transaction-mo1v6xz1.js} +10 -10
- package/dist/{TransactionOld-CHqFMsE8.js → TransactionOld-nzUGTELC.js} +7 -7
- package/dist/api/settlement/index.d.ts +6 -0
- package/dist/{app-PiirQzeM.js → app-1rw4JLKr.js} +442 -451
- package/dist/app.js +1 -1
- package/dist/{assets-ByE2qHVM.js → assets-CPEv5xmO.js} +1 -1
- package/dist/{grafana-BZFzGv64.js → grafana-fcTmH2tm.js} +1 -1
- package/dist/{index-SSlRVsVp.js → index-B0rOAUW-.js} +1 -1
- package/dist/{index-Bg4iuklW.js → index-BiKaun0K.js} +1 -1
- package/dist/{index-CarXrx98.js → index-CIbvJ5oc.js} +1 -1
- package/dist/{index-DZJ_rc-c.js → index-CVs0aN89.js} +50 -37
- package/dist/{index-LpnDYp0T.js → index-Ch9pmMdq.js} +1 -1
- package/dist/{index-B_WQwGvV.js → index-DTBJopG8.js} +1 -1
- package/dist/{index-B5Ht48-A.js → index-DYl43WIP.js} +1 -1
- package/dist/{index-fcqPRT7k.js → index-Qmbuelbf.js} +2 -2
- package/dist/{index-DASI_ipo.js → index-gbUzsHq5.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BzI-1UVQ.js → index.vue_vue_type_script_setup_true_lang-Ld8QyF50.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-B2kRoBqh.js → payout-account-B4W2N8Xm.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Q } from "./index-
|
|
1
|
+
import { p as Q } from "./index-DYl43WIP.js";
|
|
2
2
|
import { d as w } from "./dinero-CIVmXLL-.js";
|
|
3
3
|
import { h as V } from "./moment-h96o7c8I.js";
|
|
4
4
|
import { defineComponent as c, resolveComponent as R, openBlock as l, createBlock as L, normalizeClass as T, withCtx as z, createElementVNode as p, toDisplayString as r } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as c } from "./index-
|
|
1
|
+
import { e as c } from "./index-DYl43WIP.js";
|
|
2
2
|
import { useCoreStore as p } from "@feedmepos/mf-common";
|
|
3
3
|
import { h as n } from "./moment-h96o7c8I.js";
|
|
4
4
|
const i = "https://grafana.feedme.farm/explore?schemaVersion=1", m = (o, r, t) => ({
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { h as
|
|
1
|
+
import { d as l, c as s, g as o, b as i, l as c, f as d, h as y } from "./index-DYl43WIP.js";
|
|
2
|
+
import { h as n } from "./moment-h96o7c8I.js";
|
|
3
3
|
import { d as f } from "./dinero-CIVmXLL-.js";
|
|
4
|
-
function* p(t,
|
|
5
|
-
const e = t[Symbol.iterator](),
|
|
6
|
-
if (!
|
|
7
|
-
yield
|
|
8
|
-
for (const
|
|
9
|
-
yield
|
|
4
|
+
function* p(t, a) {
|
|
5
|
+
const e = t[Symbol.iterator](), m = e.next();
|
|
6
|
+
if (!m.done) {
|
|
7
|
+
yield m.value;
|
|
8
|
+
for (const r of e)
|
|
9
|
+
yield a, yield r;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
const g = {
|
|
13
13
|
async updateRemark(t) {
|
|
14
14
|
return o(
|
|
15
|
-
await
|
|
15
|
+
await i().put("/settlements/remark", t)
|
|
16
16
|
);
|
|
17
17
|
},
|
|
18
18
|
async readByDate(t) {
|
|
19
19
|
return o(
|
|
20
|
-
await
|
|
20
|
+
await i().get("/settlements", {
|
|
21
21
|
params: t
|
|
22
22
|
})
|
|
23
23
|
);
|
|
24
24
|
},
|
|
25
25
|
async downloadBankInstructionFile(t) {
|
|
26
|
-
const
|
|
26
|
+
const a = "7161151059";
|
|
27
27
|
if (t.length === 0)
|
|
28
28
|
throw Error("no settlement for export");
|
|
29
|
-
const e = t.map((
|
|
29
|
+
const e = t.map((r) => ({
|
|
30
30
|
productCode: "P2A",
|
|
31
|
-
settlementDate:
|
|
31
|
+
settlementDate: n().format("DDMMYYYY"),
|
|
32
32
|
myRefNo: "",
|
|
33
|
-
companyAccNo:
|
|
34
|
-
amount: f(
|
|
33
|
+
companyAccNo: a,
|
|
34
|
+
amount: f(r.totalPayout).toUnit().toString(),
|
|
35
35
|
currency: t[0].totalPayout.currency,
|
|
36
36
|
proxyType: "",
|
|
37
37
|
transferType: "DFLT",
|
|
38
|
-
beneficiaryAccountNo:
|
|
39
|
-
beneficiarySwiftCode:
|
|
38
|
+
beneficiaryAccountNo: r.beneficiaryBank.accountNumber.toString().trim(),
|
|
39
|
+
beneficiarySwiftCode: r.beneficiaryBank.swiftCode,
|
|
40
40
|
beneficiaryCountryCode: "",
|
|
41
41
|
duitNowID: "",
|
|
42
|
-
recipientReference:
|
|
42
|
+
recipientReference: r._id,
|
|
43
43
|
pf_payment: "",
|
|
44
44
|
notifyMethod: "",
|
|
45
45
|
emailAddress: ""
|
|
46
|
-
})),
|
|
46
|
+
})), m = new Blob(
|
|
47
47
|
Array.from(
|
|
48
48
|
p(
|
|
49
49
|
e.map(
|
|
50
|
-
(
|
|
50
|
+
(r) => Object.values(r).map((u) => u).join("|")
|
|
51
51
|
),
|
|
52
52
|
`
|
|
53
53
|
`
|
|
@@ -57,13 +57,13 @@ const g = {
|
|
|
57
57
|
type: "text/plain;charset=utf-8"
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
|
-
return y(
|
|
60
|
+
return y(m, "duitnow_bulk_transfer.txt");
|
|
61
61
|
},
|
|
62
|
-
async downloadSummaryReport(t,
|
|
62
|
+
async downloadSummaryReport(t, a) {
|
|
63
63
|
return c(
|
|
64
64
|
t.map((e) => d(e)),
|
|
65
65
|
{
|
|
66
|
-
filename: `summary-report-${
|
|
66
|
+
filename: `summary-report-${a.start}-${a.end}.xlsx`,
|
|
67
67
|
exclude: [
|
|
68
68
|
"beneficiaryBank.swiftCode",
|
|
69
69
|
"beneficiaryBank.holderName",
|
|
@@ -86,7 +86,7 @@ const g = {
|
|
|
86
86
|
"store.id": "store"
|
|
87
87
|
},
|
|
88
88
|
transformers: {
|
|
89
|
-
createdAt: (e) =>
|
|
89
|
+
createdAt: (e) => n(e).format("YYYY-MM-DD"),
|
|
90
90
|
"totalAmount.amount": (e) => e / 100,
|
|
91
91
|
"totalFee.amount": (e) => e / 100,
|
|
92
92
|
"totalPayout.amount": (e) => e / 100
|
|
@@ -96,10 +96,10 @@ const g = {
|
|
|
96
96
|
},
|
|
97
97
|
async downloadSettlementReport(t) {
|
|
98
98
|
return l(
|
|
99
|
-
await
|
|
99
|
+
await i().get("/settlements/audit/v2", {
|
|
100
100
|
params: {
|
|
101
|
-
start:
|
|
102
|
-
end:
|
|
101
|
+
start: n(t.start).startOf("day").toISOString(),
|
|
102
|
+
end: n(t.end).endOf("day").toISOString()
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
105
|
`settlement-report-${t.start}-${t.end}.xlsx`
|
|
@@ -107,10 +107,10 @@ const g = {
|
|
|
107
107
|
},
|
|
108
108
|
async downloadSettlementReportV3(t) {
|
|
109
109
|
return l(
|
|
110
|
-
await
|
|
110
|
+
await i().get("/settlements/audit/v3", {
|
|
111
111
|
params: {
|
|
112
|
-
start:
|
|
113
|
-
end:
|
|
112
|
+
start: n(t.start).startOf("day").toISOString(),
|
|
113
|
+
end: n(t.end).endOf("day").toISOString()
|
|
114
114
|
}
|
|
115
115
|
}),
|
|
116
116
|
`settlement-report-${t.start}-${t.end}.xlsx`
|
|
@@ -118,10 +118,10 @@ const g = {
|
|
|
118
118
|
},
|
|
119
119
|
async downloadBusinessSettlementReport(t) {
|
|
120
120
|
return l(
|
|
121
|
-
await
|
|
121
|
+
await s().get("/settlements/report", {
|
|
122
122
|
params: {
|
|
123
|
-
start:
|
|
124
|
-
end:
|
|
123
|
+
start: n(t.start).startOf("day").toISOString(),
|
|
124
|
+
end: n(t.end).endOf("day").toISOString(),
|
|
125
125
|
event: t.event,
|
|
126
126
|
id: t.id
|
|
127
127
|
}
|
|
@@ -131,27 +131,40 @@ const g = {
|
|
|
131
131
|
},
|
|
132
132
|
async readById(t) {
|
|
133
133
|
return o(
|
|
134
|
-
await
|
|
134
|
+
await i().get(`/settlements/${t}`)
|
|
135
135
|
);
|
|
136
136
|
},
|
|
137
137
|
async readBusinessSettlementById(t) {
|
|
138
138
|
return o(
|
|
139
|
-
await
|
|
139
|
+
await s().get(`/settlements/${t}`)
|
|
140
140
|
);
|
|
141
141
|
},
|
|
142
142
|
async readBusinessSettlements(t) {
|
|
143
143
|
return o(
|
|
144
|
-
await
|
|
144
|
+
await s().get("/settlements", {
|
|
145
145
|
params: t
|
|
146
146
|
})
|
|
147
147
|
);
|
|
148
148
|
},
|
|
149
149
|
async readBusinessRMSSettlements(t) {
|
|
150
150
|
return o(
|
|
151
|
-
await
|
|
151
|
+
await s().get("/settlements/rms", {
|
|
152
152
|
params: t
|
|
153
153
|
})
|
|
154
154
|
);
|
|
155
|
+
},
|
|
156
|
+
async downloadBusinessRMSSettlementReport(t) {
|
|
157
|
+
return l(
|
|
158
|
+
await s().get("/settlements/report/rms", {
|
|
159
|
+
params: {
|
|
160
|
+
start: n(t.start).startOf("day").toISOString(),
|
|
161
|
+
end: n(t.end).endOf("day").toISOString(),
|
|
162
|
+
event: t.event,
|
|
163
|
+
id: t.id
|
|
164
|
+
}
|
|
165
|
+
}),
|
|
166
|
+
`rms-settlement-report-${t.start}-${t.end}.xlsx`
|
|
167
|
+
);
|
|
155
168
|
}
|
|
156
169
|
};
|
|
157
170
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as V, x as nR, v as rR } from "./app-
|
|
1
|
+
import { w as V, x as nR, v as rR } from "./app-1rw4JLKr.js";
|
|
2
2
|
import { useCoreStore as Bu } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as iR } from "vue";
|
|
4
4
|
var gh = {}, il = {}, y = {}, ah = {}, Vm = {}, Hm = {}, Oc = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as o, b as s, o as m, a as d } from "./index-
|
|
1
|
+
import { g as o, b as s, o as m, a as d } from "./index-DYl43WIP.js";
|
|
2
2
|
import { h as c } from "./moment-h96o7c8I.js";
|
|
3
|
-
import { d as b } from "./index-
|
|
3
|
+
import { d as b } from "./index-DTBJopG8.js";
|
|
4
4
|
async function g(t) {
|
|
5
5
|
if (t.type !== "image/png") return t;
|
|
6
6
|
const a = await p(t), e = document.createElement("canvas");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as q, ref as r, resolveComponent as f, openBlock as g, createBlock as z, withCtx as I, createElementVNode as i, normalizeStyle as E, createElementBlock as M, Fragment as N, renderList as O, createVNode as c, computed as _, watch as L, onMounted as R, unref as D, toDisplayString as B, createCommentVNode as G, nextTick as H, normalizeClass as J } from "vue";
|
|
2
|
-
import { u as K } from "./index-
|
|
2
|
+
import { u as K } from "./index-DYl43WIP.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
const Q = ["id"], U = /* @__PURE__ */ q({
|
|
5
5
|
__name: "FmTableSelection",
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as E, B as st } from "./index-
|
|
2
|
-
import { v as it, w as at, _ as ut } from "./app-
|
|
1
|
+
import { p as E, B as st } from "./index-DYl43WIP.js";
|
|
2
|
+
import { v as it, w as at, _ as ut } from "./app-1rw4JLKr.js";
|
|
3
3
|
import { useCoreStore as ot } from "@feedmepos/mf-common";
|
|
4
|
-
import { d as H } from "./index-
|
|
4
|
+
import { d as H } from "./index-DTBJopG8.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|