@feedmepos/mf-payment 1.5.83-dev → 1.5.86-dev
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-BuA5le7k.js → Actions.vue_vue_type_script_setup_true_lang-DPL1FQ0w.js} +1 -1
- package/dist/{Chargeback-Cvw7puPc.js → Chargeback-DLomR6kq.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-Z0HBMZe9.js → DocumentViewer.vue_vue_type_script_setup_true_lang-PzlmfuxB.js} +1 -1
- package/dist/{OnboardForm-CfXpCXNP.js → OnboardForm-B8MWcDpY.js} +5 -5
- package/dist/{OnboardForm-CwEbNwbk.js → OnboardForm-CA2KRT-T.js} +5 -5
- package/dist/{OnboardSubmission-BDUmmZxi.js → OnboardSubmission-B9zUJptp.js} +5 -5
- package/dist/{OnboardSubmission-BWrbfjYw.js → OnboardSubmission-Ckz2mXQM.js} +2 -2
- package/dist/{PayoutAccount-B3LZg_Vo.js → PayoutAccount-BbJu4kCT.js} +5 -5
- package/dist/{PayoutAccount-DsEvMC8o.js → PayoutAccount-MDXEX7Th.js} +5 -5
- package/dist/{PayoutAccountSetting-Ds2T9w9a.js → PayoutAccountSetting-BsdJZy14.js} +6 -6
- package/dist/{Restaurant-D4TH0GN2.js → Restaurant-BK2rGiG3.js} +4 -4
- package/dist/{RestaurantSetting-DMj5_4KI.js → RestaurantSetting-CPkQa84x.js} +3 -3
- package/dist/{Settlement-ChiMTDFe.js → Settlement-DN-ekJpR.js} +4 -4
- package/dist/{Settlement-BriVs7yc.js → Settlement-DPnh67F5.js} +50 -40
- package/dist/{SettlementTransactions-JDoTepUq.js → SettlementTransactions-CFYPs-Sq.js} +4 -4
- package/dist/{SettlementTransactions-Cb3vVQBD.js → SettlementTransactions-Hm5WNl4C.js} +4 -4
- package/dist/{Status.vue_vue_type_script_setup_true_lang-C0UxbJ1-.js → Status.vue_vue_type_script_setup_true_lang-CoBJ_zAq.js} +1 -1
- package/dist/{Terminal-UiefGCWM.js → Terminal-VNireoeV.js} +5 -5
- package/dist/{TerminalSetting-DjrdUwQl.js → TerminalSetting-BIoMNc91.js} +4 -4
- package/dist/{Transaction-DdsRqL1Y.js → Transaction-CQk_2uP_.js} +10 -10
- package/dist/{Transaction-DSX4_3jx.js → Transaction-Ce3iHoTb.js} +6 -6
- package/dist/{TransactionOld-D5kcAyC-.js → TransactionOld-D1XIlL3D.js} +7 -7
- package/dist/api/settlement/index.d.ts +4 -0
- package/dist/{app-BvSUydSO.js → app-Dx3gd4xN.js} +2291 -1820
- package/dist/app.js +1 -1
- package/dist/{assets-DuKyfCJ3.js → assets-aA5fBa2q.js} +1 -1
- package/dist/{grafana-CclnHvAt.js → grafana-DoTVAyHa.js} +1 -1
- package/dist/{index-D4DswXsl.js → index-BSnBNUUm.js} +46 -35
- package/dist/{index-CifiaKmu.js → index-Ba3zQjUN.js} +1 -1
- package/dist/{index-DY3F0uPq.js → index-Bz9vctSG.js} +1 -1
- package/dist/{index-fa5FwEIO.js → index-D-EGTeWt.js} +2 -2
- package/dist/{index-B7YxJ8yc.js → index-DIy3LgyK.js} +1 -1
- package/dist/{index-C6a-bg3p.js → index-DyJJua-G.js} +1 -1
- package/dist/{index-zG-1IYz-.js → index-igz1L_A7.js} +1 -1
- package/dist/{index-3vSe7oxw.js → index-n-c7UdM0.js} +1 -1
- package/dist/{index-ByVuTOD6.js → index-w2SlkBHa.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-D5c1x4CC.js → index.vue_vue_type_script_setup_true_lang-qSFHg6rF.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-B24fgdEA.js → payout-account-D8fb-n_N.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Q } from "./index-
|
|
1
|
+
import { p as Q } from "./index-Ba3zQjUN.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-Ba3zQjUN.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,36 +1,36 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import { h as
|
|
1
|
+
import { g as o, c as m, b as s, d as l, l as c, f as d, h as y } from "./index-Ba3zQjUN.js";
|
|
2
|
+
import { h as a } 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
|
|
4
|
+
function* p(t, r) {
|
|
5
|
+
const e = t[Symbol.iterator](), i = e.next();
|
|
6
|
+
if (!i.done) {
|
|
7
|
+
yield i.value;
|
|
8
8
|
for (const n of e)
|
|
9
|
-
yield
|
|
9
|
+
yield r, yield n;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const g = {
|
|
13
13
|
async updateRemark(t) {
|
|
14
|
-
return
|
|
15
|
-
await
|
|
14
|
+
return o(
|
|
15
|
+
await s().put("/settlements/remark", t)
|
|
16
16
|
);
|
|
17
17
|
},
|
|
18
18
|
async readByDate(t) {
|
|
19
|
-
return
|
|
20
|
-
await
|
|
19
|
+
return o(
|
|
20
|
+
await s().get("/settlements", {
|
|
21
21
|
params: t
|
|
22
22
|
})
|
|
23
23
|
);
|
|
24
24
|
},
|
|
25
25
|
async downloadBankInstructionFile(t) {
|
|
26
|
-
const
|
|
26
|
+
const r = "7161151059";
|
|
27
27
|
if (t.length === 0)
|
|
28
28
|
throw Error("no settlement for export");
|
|
29
29
|
const e = t.map((n) => ({
|
|
30
30
|
productCode: "P2A",
|
|
31
|
-
settlementDate:
|
|
31
|
+
settlementDate: a().format("DDMMYYYY"),
|
|
32
32
|
myRefNo: "",
|
|
33
|
-
companyAccNo:
|
|
33
|
+
companyAccNo: r,
|
|
34
34
|
amount: f(n.totalPayout).toUnit().toString(),
|
|
35
35
|
currency: t[0].totalPayout.currency,
|
|
36
36
|
proxyType: "",
|
|
@@ -43,7 +43,7 @@ const S = {
|
|
|
43
43
|
pf_payment: "",
|
|
44
44
|
notifyMethod: "",
|
|
45
45
|
emailAddress: ""
|
|
46
|
-
})),
|
|
46
|
+
})), i = new Blob(
|
|
47
47
|
Array.from(
|
|
48
48
|
p(
|
|
49
49
|
e.map(
|
|
@@ -57,13 +57,13 @@ const S = {
|
|
|
57
57
|
type: "text/plain;charset=utf-8"
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
|
-
return y(
|
|
60
|
+
return y(i, "duitnow_bulk_transfer.txt");
|
|
61
61
|
},
|
|
62
|
-
async downloadSummaryReport(t,
|
|
62
|
+
async downloadSummaryReport(t, r) {
|
|
63
63
|
return c(
|
|
64
64
|
t.map((e) => d(e)),
|
|
65
65
|
{
|
|
66
|
-
filename: `summary-report-${
|
|
66
|
+
filename: `summary-report-${r.start}-${r.end}.xlsx`,
|
|
67
67
|
exclude: [
|
|
68
68
|
"beneficiaryBank.swiftCode",
|
|
69
69
|
"beneficiaryBank.holderName",
|
|
@@ -86,7 +86,7 @@ const S = {
|
|
|
86
86
|
"store.id": "store"
|
|
87
87
|
},
|
|
88
88
|
transformers: {
|
|
89
|
-
createdAt: (e) =>
|
|
89
|
+
createdAt: (e) => a(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,21 @@ const S = {
|
|
|
96
96
|
},
|
|
97
97
|
async downloadSettlementReport(t) {
|
|
98
98
|
return l(
|
|
99
|
-
await
|
|
99
|
+
await s().get("/settlements/audit/v2", {
|
|
100
100
|
params: {
|
|
101
|
-
start:
|
|
102
|
-
end:
|
|
101
|
+
start: a(t.start).startOf("day").toISOString(),
|
|
102
|
+
end: a(t.end).endOf("day").toISOString()
|
|
103
|
+
}
|
|
104
|
+
}),
|
|
105
|
+
`settlement-report-${t.start}-${t.end}.xlsx`
|
|
106
|
+
);
|
|
107
|
+
},
|
|
108
|
+
async downloadSettlementReportV3(t) {
|
|
109
|
+
return l(
|
|
110
|
+
await s().get("/settlements/audit/v3", {
|
|
111
|
+
params: {
|
|
112
|
+
start: a(t.start).startOf("day").toISOString(),
|
|
113
|
+
end: a(t.end).endOf("day").toISOString()
|
|
103
114
|
}
|
|
104
115
|
}),
|
|
105
116
|
`settlement-report-${t.start}-${t.end}.xlsx`
|
|
@@ -107,10 +118,10 @@ const S = {
|
|
|
107
118
|
},
|
|
108
119
|
async downloadBusinessSettlementReport(t) {
|
|
109
120
|
return l(
|
|
110
|
-
await
|
|
121
|
+
await m().get("/settlements/report", {
|
|
111
122
|
params: {
|
|
112
|
-
start:
|
|
113
|
-
end:
|
|
123
|
+
start: a(t.start).startOf("day").toISOString(),
|
|
124
|
+
end: a(t.end).endOf("day").toISOString(),
|
|
114
125
|
event: t.event,
|
|
115
126
|
id: t.id
|
|
116
127
|
}
|
|
@@ -119,30 +130,30 @@ const S = {
|
|
|
119
130
|
);
|
|
120
131
|
},
|
|
121
132
|
async readById(t) {
|
|
122
|
-
return
|
|
123
|
-
await
|
|
133
|
+
return o(
|
|
134
|
+
await s().get(`/settlements/${t}`)
|
|
124
135
|
);
|
|
125
136
|
},
|
|
126
137
|
async readBusinessSettlementById(t) {
|
|
127
|
-
return
|
|
128
|
-
await
|
|
138
|
+
return o(
|
|
139
|
+
await m().get(`/settlements/${t}`)
|
|
129
140
|
);
|
|
130
141
|
},
|
|
131
142
|
async readBusinessSettlements(t) {
|
|
132
|
-
return
|
|
133
|
-
await
|
|
143
|
+
return o(
|
|
144
|
+
await m().get("/settlements", {
|
|
134
145
|
params: t
|
|
135
146
|
})
|
|
136
147
|
);
|
|
137
148
|
},
|
|
138
149
|
async readBusinessRMSSettlements(t) {
|
|
139
|
-
return
|
|
140
|
-
await
|
|
150
|
+
return o(
|
|
151
|
+
await m().get("/settlements/rms", {
|
|
141
152
|
params: t
|
|
142
153
|
})
|
|
143
154
|
);
|
|
144
155
|
}
|
|
145
156
|
};
|
|
146
157
|
export {
|
|
147
|
-
|
|
158
|
+
g as s
|
|
148
159
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as H, a as Iv, g as Av } from "./app-
|
|
1
|
+
import { c as H, a as Iv, g as Av } from "./app-Dx3gd4xN.js";
|
|
2
2
|
import { useCoreStore as Tu } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as pv } from "vue";
|
|
4
4
|
var eh = {}, Hd = {}, F = {}, Vm = {}, p_ = {}, S_ = {}, hc = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as n, b as e, a as o, d as m, l, c as i, r as f } from "./index-
|
|
1
|
+
import { g as n, b as e, a as o, d as m, l, c as i, r as f } from "./index-Ba3zQjUN.js";
|
|
2
2
|
import { h as a } from "./moment-h96o7c8I.js";
|
|
3
3
|
const w = {
|
|
4
4
|
async readBySettlementId(t) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as n, b as a, o as u, a as m } from "./index-
|
|
1
|
+
import { g as n, b as a, o as u, a as m } from "./index-Ba3zQjUN.js";
|
|
2
2
|
import { h as b } from "./moment-h96o7c8I.js";
|
|
3
|
-
import { d } from "./index-
|
|
3
|
+
import { d } from "./index-igz1L_A7.js";
|
|
4
4
|
const w = {
|
|
5
5
|
async read(s) {
|
|
6
6
|
return m(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as U, ref as r, resolveComponent as f, openBlock as g, createBlock as S, withCtx as z, createElementVNode as s, normalizeStyle as j, createElementBlock as B, Fragment as N, renderList as E, createVNode as c, computed as _, watch as I, onMounted as O, unref as C, toDisplayString as D, createCommentVNode as R, nextTick as G, normalizeClass as H } from "vue";
|
|
2
|
-
import { u as J } from "./index-
|
|
2
|
+
import { u as J } from "./index-Ba3zQjUN.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
const K = ["id"], L = /* @__PURE__ */ U({
|
|
5
5
|
__name: "FmTableSelection",
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-payment",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.86-dev",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@casl/ability": "^3.2.0",
|
|
38
38
|
"@feedmepos/core": "^2.6.0",
|
|
39
|
-
"@feedmepos/hrm-permission": "1.0.6
|
|
39
|
+
"@feedmepos/hrm-permission": "1.0.6",
|
|
40
40
|
"@feedmepos/mf-common": "^1.26.8",
|
|
41
41
|
"@feedmepos/mf-financing": "0.0.24-dev",
|
|
42
42
|
"@feedmepos/payment-entity": "0.1.80",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as E, B as st } from "./index-
|
|
2
|
-
import { g as it, c as at, _ as ut } from "./app-
|
|
1
|
+
import { p as E, B as st } from "./index-Ba3zQjUN.js";
|
|
2
|
+
import { g as it, c as at, _ as ut } from "./app-Dx3gd4xN.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-igz1L_A7.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|