@wisemen/wise-invoicing-web 1.0.0 → 1.2.0
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/AccountingSettingsViewDataProvider-BtDPqr_P.js +981 -0
- package/dist/{ApprovalReminderSettingsViewDataProvider-DyrHExKn.js → ApprovalReminderSettingsViewDataProvider-CuFo2JF5.js} +287 -287
- package/dist/{BillingDocumentDetailViewDataProvider-kFzqhrxW.js → BillingDocumentDetailViewDataProvider-qKW6LiRR.js} +1629 -1604
- package/dist/{BillingDocumentPdf-Dp6HSypy.js → BillingDocumentPdf-CgnrE4eq.js} +5 -5
- package/dist/{DataProvider-BtnD-BzI.js → DataProvider-Dj5ckiN2.js} +6 -9
- package/dist/{DunningCaseSendDialog-1S6OD9wd.js → DunningCaseSendDialog-CQ1yvbUt.js} +36 -36
- package/dist/{InvoiceApprovalOutOfSyncIndicator-DaM5hQVT.js → InvoiceApprovalOutOfSyncIndicator-BeqzoD3H.js} +2 -2
- package/dist/{InvoiceApprovalOverviewView-DM_LiO19.js → InvoiceApprovalOverviewView-B0ulYsYy.js} +230 -230
- package/dist/{InvoiceApprovalStatusBadge-mbYHYU3x.js → InvoiceApprovalStatusBadge-BZuyVHKk.js} +4 -4
- package/dist/{InvoicePdfView-YbDJpTIA.js → InvoicePdfView-BBTa7EaO.js} +2 -2
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-BgAhcvB6.js → InvoicePublicProFormaPdfViewDataProvider-_Tbt2pTv.js} +4 -4
- package/dist/{InvoiceRejectDialogDataProvider-yegAlkDB.js → InvoiceRejectDialogDataProvider-ma2UsSzC.js} +33 -33
- package/dist/{InvoiceStatusBadge-Bo5PDjEy.js → InvoiceStatusBadge-JIR1gUDL.js} +3 -3
- package/dist/{InvoicingFileUploadProvider-DVh22OUB.js → InvoicingFileUploadProvider-B-eq6i9v.js} +14 -14
- package/dist/{IssuerSettingsViewDataProvider-BgSFemZr.js → IssuerSettingsViewDataProvider-CHyCCy9K.js} +66 -66
- package/dist/{PeppolSettingsViewDataProvider-_Bx0xx9e.js → PeppolSettingsViewDataProvider-j1btvXOf.js} +4 -4
- package/dist/{api.util-lGbimoKL.js → api.util-BkwbrwEm.js} +1026 -800
- package/dist/billingDocumentDetail.transformer-B-GSRQc0.js +324 -0
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +10 -1
- package/dist/client/types.gen.d.ts +452 -1
- package/dist/client/zod.gen.d.ts +524 -0
- package/dist/composables/invoicingConfig.composable.d.ts +3 -0
- package/dist/{creditNoteDetail.query-CqJeWeRV.js → creditNoteDetail.query-Tg4s5B8Q.js} +34 -34
- package/dist/{customFieldDefinitionIndex.query-Co7hoMow.js → customFieldDefinitionIndex.query-DtMibcTn.js} +28 -28
- package/dist/{deliveryReason.util-ny1rA7Sm.js → deliveryReason.util-BuCD1Fuz.js} +6 -6
- package/dist/{dist-CrNFh-CR.js → dist-AbMUaDf-.js} +93 -93
- package/dist/{dist-DmVrfBOT.js → dist-DaJ08k0k.js} +231 -119
- package/dist/{documentTitle.composable-aTEYXgaZ.js → documentTitle.composable-Bxu0YL71.js} +27 -19
- package/dist/{i18n.lib-B1H9r0km.js → i18n.lib-C8TA6PCf.js} +162 -2
- package/dist/index.d.ts +160 -0
- package/dist/index.js +1576 -1554
- package/dist/instant.transformer-KmBsH3E9.js +18 -0
- package/dist/{invoice.service-D9ubyWPb.js → invoice.service-BtgRZKrv.js} +152 -151
- package/dist/{invoiceApproval.service-BtDIOHIo.js → invoiceApproval.service-DEvaL-MH.js} +22 -21
- package/dist/invoiceApprovalStatus.util-NpxAuQ0t.js +83 -0
- package/dist/{invoiceCustomer.service-D0AtVrLg.js → invoiceCustomer.service-Cowdna7o.js} +6 -6
- package/dist/{invoiceDetail.query-BNL6MkvC.js → invoiceDetail.query-nEhWRrdL.js} +1 -1
- package/dist/{invoicingConfig.composable-DEF0lzNP.js → invoicingConfig.composable-CW47czLa.js} +20 -19
- package/dist/{issuerSettings.query-Cu-I6OAg.js → issuerSettings.query-CIWw1Zku.js} +27 -27
- package/dist/libs/i18n.lib.d.ts +160 -0
- package/dist/locales/en-US.json.d.ts +81 -1
- package/dist/locales/nl-BE.json.d.ts +81 -1
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +7 -1
- package/dist/modules/accounting/api/mutations/accountingConnectionDisconnect.mutation.d.ts +4 -0
- package/dist/modules/accounting/api/mutations/accountingPostingProfileUpdate.mutation.d.ts +15 -0
- package/dist/modules/accounting/api/mutations/exactAccountingConnect.mutation.d.ts +6 -0
- package/dist/modules/accounting/api/queries/accountingConnection.query.d.ts +1 -0
- package/dist/modules/accounting/api/queries/exactAuthorizationConfig.query.d.ts +1 -0
- package/dist/modules/accounting/api/queries/exactGlAccounts.query.d.ts +3 -0
- package/dist/modules/accounting/api/queries/exactJournals.query.d.ts +3 -0
- package/dist/modules/accounting/api/query-keys/accounting.queryKeys.d.ts +24 -0
- package/dist/modules/accounting/api/services/accountingConnection.service.d.ts +19 -0
- package/dist/modules/accounting/components/AccountingPostingProfileFields.vue.d.ts +14 -0
- package/dist/modules/accounting/components/AccountingSyncStatusBadge.vue.d.ts +7 -0
- package/dist/modules/accounting/components/ExactGlAccountField.vue.d.ts +12 -0
- package/dist/modules/accounting/components/ExactLogo.vue.d.ts +3 -0
- package/dist/modules/accounting/composables/exactLookupError.composable.d.ts +19 -0
- package/dist/modules/accounting/models/accountingConnection.model.d.ts +34 -0
- package/dist/modules/accounting/models/accountingConnection.transformer.d.ts +23 -0
- package/dist/modules/accounting/models/accountingConnection.transformer.spec.d.ts +1 -0
- package/dist/modules/accounting/models/accountingConnectionReadiness.util.d.ts +10 -0
- package/dist/modules/accounting/models/accountingConnectionUuid.model.d.ts +3 -0
- package/dist/modules/accounting/models/accountingError.util.d.ts +13 -0
- package/dist/modules/accounting/models/accountingError.util.spec.d.ts +1 -0
- package/dist/modules/accounting/models/accountingPostingProfileForm.model.d.ts +14 -0
- package/dist/modules/accounting/models/accountingPostingProfileForm.model.spec.d.ts +1 -0
- package/dist/modules/accounting/models/accountingPostingProfileUpdateForm.model.d.ts +17 -0
- package/dist/modules/accounting/models/exactAccountingConnectForm.model.d.ts +9 -0
- package/dist/modules/accounting/models/exactAccountingConnectForm.model.spec.d.ts +1 -0
- package/dist/modules/accounting/models/exactLookupOption.model.d.ts +5 -0
- package/dist/modules/accounting/models/exactLookupOption.util.d.ts +4 -0
- package/dist/modules/accounting/models/exactRegion.util.d.ts +5 -0
- package/dist/modules/accounting/models/exactRegion.util.spec.d.ts +1 -0
- package/dist/modules/accounting/routes/accounting.routes.d.ts +9 -0
- package/dist/modules/accounting/use-cases/settings/components/AccountingConnectionDetails.vue.d.ts +7 -0
- package/dist/modules/accounting/use-cases/settings/components/AccountingConnectionNotice.vue.d.ts +11 -0
- package/dist/modules/accounting/use-cases/settings/components/AccountingPostingProfileForm.vue.d.ts +8 -0
- package/dist/modules/accounting/use-cases/settings/components/ExactAccountingConnectForm.vue.d.ts +12 -0
- package/dist/modules/accounting/use-cases/settings/composables/accountingAuthorizationResult.composable.d.ts +5 -0
- package/dist/modules/accounting/use-cases/settings/composables/exactConnect.composable.d.ts +11 -0
- package/dist/modules/accounting/use-cases/settings/dialogs/AccountingConnectionDisconnectDialog.vue.d.ts +11 -0
- package/dist/modules/accounting/use-cases/settings/views/AccountingSettingsView.vue.d.ts +9 -0
- package/dist/modules/accounting/use-cases/settings/views/AccountingSettingsViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/settings/routes/settings.routes.d.ts +7 -0
- package/dist/{plainDate.transformer-Bhiz9jW7.js → plainDate.transformer-BxvJpJOv.js} +4 -17
- package/dist/{reminderConfig.query-DHMHVOeX.js → reminderConfig.query-nb1P7ufx.js} +38 -37
- package/dist/types/queryKey.type.d.ts +3 -2
- package/dist/ui/data-provider/DataProvider.vue.d.ts +5 -1
- package/package.json +1 -1
- package/dist/billingDocumentDetail.transformer-C5-zjIhL.js +0 -319
- package/dist/invoiceApprovalStatus.util-Bqq_bILG.js +0 -83
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./api.util-
|
|
2
|
-
import {
|
|
1
|
+
import "./api.util-BkwbrwEm.js";
|
|
2
|
+
import { D as e, O as t } from "./documentTitle.composable-Bxu0YL71.js";
|
|
3
3
|
import { n, t as r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
4
|
-
import { n as i } from "./invoicingConfig.composable-
|
|
4
|
+
import { n as i } from "./invoicingConfig.composable-CW47czLa.js";
|
|
5
5
|
import { n as a } from "./address.transformer-jGddczLV.js";
|
|
6
|
-
import { i as o } from "./billingDocumentDetail.transformer-
|
|
7
|
-
import {
|
|
6
|
+
import { i as o } from "./billingDocumentDetail.transformer-B-GSRQc0.js";
|
|
7
|
+
import { jt as s } from "./dist-DaJ08k0k.js";
|
|
8
8
|
import { useI18n as c } from "vue-i18n";
|
|
9
9
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, normalizeClass as v, normalizeStyle as y, openBlock as b, renderList as x, renderSlot as S, toDisplayString as C, unref as w, withCtx as T } from "vue";
|
|
10
10
|
import { UIColumnLayout as E, UIRowLayout as D, UISeparator as O, UIText as k } from "@wisemen/vue-core-design-system";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useI18n as e } from "vue-i18n";
|
|
2
|
-
import { computed as t, createBlock as n, createCommentVNode as r,
|
|
2
|
+
import { computed as t, createBlock as n, createCommentVNode as r, createElementVNode as i, createVNode as a, defineComponent as o, openBlock as s, renderSlot as c, unref as l } from "vue";
|
|
3
3
|
import { ApiErrorUtil as u } from "@wisemen/vue-core-api-utils";
|
|
4
4
|
import { useRouter as d } from "vue-router";
|
|
5
5
|
import { UIEmptyState as f } from "@wisemen/vue-core-design-system";
|
|
@@ -38,29 +38,26 @@ var p = /* @__PURE__ */ o({
|
|
|
38
38
|
"title"
|
|
39
39
|
]));
|
|
40
40
|
}
|
|
41
|
-
}), m = {
|
|
42
|
-
key: 1,
|
|
43
|
-
class: "flex h-full items-center justify-center"
|
|
44
|
-
}, h = /* @__PURE__ */ o({
|
|
41
|
+
}), m = { class: "flex h-full items-center justify-center" }, h = /* @__PURE__ */ o({
|
|
45
42
|
__name: "DataProvider",
|
|
46
43
|
props: { queries: {} },
|
|
47
44
|
setup(e) {
|
|
48
45
|
let n = e, o = t(() => {
|
|
49
46
|
for (let e in n.queries) if (n.queries[e].isLoading.value) return !0;
|
|
50
47
|
return !1;
|
|
51
|
-
}),
|
|
48
|
+
}), s = t(() => {
|
|
52
49
|
for (let e in n.queries) {
|
|
53
50
|
let t = n.queries[e].result.value;
|
|
54
51
|
if (t != null && t.isErr()) return t.getError();
|
|
55
52
|
}
|
|
56
53
|
return null;
|
|
57
|
-
}),
|
|
54
|
+
}), l = t(() => {
|
|
58
55
|
for (let e in n.queries) {
|
|
59
56
|
let t = n.queries[e].result.value;
|
|
60
57
|
if (t == null || t.isErr()) return !1;
|
|
61
58
|
}
|
|
62
59
|
return !0;
|
|
63
|
-
}),
|
|
60
|
+
}), u = t(() => {
|
|
64
61
|
let e = {};
|
|
65
62
|
for (let t in n.queries) {
|
|
66
63
|
let r = t, i = n.queries[r].result.value;
|
|
@@ -68,7 +65,7 @@ var p = /* @__PURE__ */ o({
|
|
|
68
65
|
}
|
|
69
66
|
return e;
|
|
70
67
|
});
|
|
71
|
-
return (e, t) => o.value ? c(e.$slots, "loading", {}, void 0, void 0, 0) :
|
|
68
|
+
return (e, t) => o.value ? c(e.$slots, "loading", {}, void 0, void 0, 0) : s.value === null ? l.value ? c(e.$slots, "default", { data: u.value }, void 0, void 0, 2) : r("", !0) : c(e.$slots, "error", { error: s.value }, () => [i("div", m, [a(p, { error: s.value }, null, 8, ["error"])])], void 0, 1);
|
|
72
69
|
}
|
|
73
70
|
});
|
|
74
71
|
//#endregion
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mt as e, pt as t, t as n } from "./api.util-BkwbrwEm.js";
|
|
2
2
|
import { r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
3
|
-
import { n as i } from "./invoicingConfig.composable-
|
|
4
|
-
import {
|
|
5
|
-
import { n as c, r as l, t as u } from "./reminderConfig.query-
|
|
3
|
+
import { n as i } from "./invoicingConfig.composable-CW47czLa.js";
|
|
4
|
+
import { It as a, St as o, h as s } from "./dist-DaJ08k0k.js";
|
|
5
|
+
import { n as c, r as l, t as u } from "./reminderConfig.query-nb1P7ufx.js";
|
|
6
6
|
import { t as d } from "./customerUuid.model-ClN4Vi9n.js";
|
|
7
7
|
import { z as f } from "zod";
|
|
8
8
|
import { useI18n as p } from "vue-i18n";
|
|
9
9
|
import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, normalizeClass as C, openBlock as w, ref as T, renderList as E, toDisplayString as D, unref as O, watch as k, withCtx as A } from "vue";
|
|
10
|
-
import { useMutation as j, useQuery as
|
|
11
|
-
import { useRouter as
|
|
10
|
+
import { useMutation as j, useQuery as ee } from "@wisemen/vue-core-api-utils";
|
|
11
|
+
import { useRouter as M } from "vue-router";
|
|
12
12
|
import { Temporal as N } from "temporal-polyfill";
|
|
13
|
-
import { err as
|
|
14
|
-
import { UIBadge as
|
|
13
|
+
import { err as te, ok as ne } from "neverthrow";
|
|
14
|
+
import { UIBadge as P, UIColumnLayout as F, UIDialogBody as I, UIDialogFooter as L, UIDialogFooterCancel as R, UIDialogFooterPrimary as z, UIDialogHeader as B, UIFormDialog as V, useToast as H } from "@wisemen/vue-core-design-system";
|
|
15
15
|
import { useForm as U } from "formango";
|
|
16
16
|
//#region src/modules/dunning-case/api/services/dunningCaseCustomer.service.ts
|
|
17
17
|
var W = class {
|
|
18
|
-
static async getAll(
|
|
19
|
-
return (await n.fromPromise(
|
|
18
|
+
static async getAll(e, r) {
|
|
19
|
+
return (await n.fromPromise(t({ query: {
|
|
20
20
|
pagination: r,
|
|
21
|
-
search:
|
|
21
|
+
search: e
|
|
22
22
|
} }))).map((e) => ({
|
|
23
23
|
data: e.data.items.map((e) => ({
|
|
24
24
|
uuid: e.uuid,
|
|
@@ -27,27 +27,27 @@ var W = class {
|
|
|
27
27
|
meta: e.data.meta
|
|
28
28
|
}));
|
|
29
29
|
}
|
|
30
|
-
static async getRecipients(
|
|
30
|
+
static async getRecipients(t) {
|
|
31
31
|
let r = [], i = 0, a = 0;
|
|
32
32
|
do {
|
|
33
|
-
let o = await n.fromPromise(
|
|
33
|
+
let o = await n.fromPromise(e({
|
|
34
34
|
query: { pagination: {
|
|
35
35
|
limit: 100,
|
|
36
36
|
offset: i
|
|
37
37
|
} },
|
|
38
|
-
path: { uuid:
|
|
38
|
+
path: { uuid: t }
|
|
39
39
|
}));
|
|
40
|
-
if (o.isErr()) return
|
|
40
|
+
if (o.isErr()) return te(o.error);
|
|
41
41
|
if (r.push(...o.value.data.items.map((e) => ({
|
|
42
42
|
isDefault: e.isDefault,
|
|
43
43
|
email: e.email
|
|
44
44
|
}))), a = o.value.data.meta.total, i += o.value.data.items.length, o.value.data.items.length === 0) break;
|
|
45
45
|
} while (i < a);
|
|
46
|
-
return
|
|
46
|
+
return ne(r);
|
|
47
47
|
}
|
|
48
|
-
static async getUuidByExternalId(
|
|
49
|
-
return (await n.fromPromise(
|
|
50
|
-
filter: { externalId:
|
|
48
|
+
static async getUuidByExternalId(e) {
|
|
49
|
+
return (await n.fromPromise(t({ query: {
|
|
50
|
+
filter: { externalId: e },
|
|
51
51
|
pagination: {
|
|
52
52
|
limit: 1,
|
|
53
53
|
offset: 0
|
|
@@ -56,7 +56,7 @@ var W = class {
|
|
|
56
56
|
}
|
|
57
57
|
}, G = 3e4;
|
|
58
58
|
function K(e) {
|
|
59
|
-
return
|
|
59
|
+
return ee("dunningCaseDetail", {
|
|
60
60
|
staleTime: G,
|
|
61
61
|
params: { dunningCaseUuid: e },
|
|
62
62
|
queryFn: () => l.getByUuid(e.value)
|
|
@@ -101,17 +101,17 @@ var X = /* @__PURE__ */ S({
|
|
|
101
101
|
},
|
|
102
102
|
setup(e) {
|
|
103
103
|
let t = e, n = p(), r = {
|
|
104
|
-
icon:
|
|
104
|
+
icon: o,
|
|
105
105
|
type: "icon"
|
|
106
106
|
};
|
|
107
|
-
return (e, i) => t.blockedReason === null ? t.status === "failed" ? (w(), g(O(
|
|
107
|
+
return (e, i) => t.blockedReason === null ? t.status === "failed" ? (w(), g(O(P), {
|
|
108
108
|
key: 1,
|
|
109
109
|
label: O(n).t("module.dunning_case.reminder_status.failed"),
|
|
110
110
|
left: r,
|
|
111
111
|
color: "warning",
|
|
112
112
|
size: "sm",
|
|
113
113
|
variant: "translucent"
|
|
114
|
-
}, null, 8, ["label"])) : _("", !0) : (w(), g(O(
|
|
114
|
+
}, null, 8, ["label"])) : _("", !0) : (w(), g(O(P), {
|
|
115
115
|
key: 0,
|
|
116
116
|
label: O(n).t(`module.dunning_case.blocked_reason.${t.blockedReason}`),
|
|
117
117
|
left: r,
|
|
@@ -198,7 +198,7 @@ var ue = { class: "min-w-0" }, de = { class: "flex min-w-0 items-center gap-sm"
|
|
|
198
198
|
setup(e) {
|
|
199
199
|
let t = e, n = p(), i = r(), a = h(() => le(t.dunningCase.invoices, t.dunningCase.totalFee.amount > 0)), o = h(() => t.dunningCase.level === 0 ? n.t("module.dunning_case.level.none") : n.t("module.dunning_case.level.reminder", { level: t.dunningCase.level }));
|
|
200
200
|
return (e, r) => (w(), v("section", ve, [
|
|
201
|
-
y("div", ye, [y("div", be, [y("p", xe, D(t.subject ?? O(n).t("module.dunning_case.detail.invoices")), 1)]), y("span", Se, [x(O(
|
|
201
|
+
y("div", ye, [y("div", be, [y("p", xe, D(t.subject ?? O(n).t("module.dunning_case.detail.invoices")), 1)]), y("span", Se, [x(O(P), {
|
|
202
202
|
label: o.value,
|
|
203
203
|
color: "gray",
|
|
204
204
|
size: "sm",
|
|
@@ -220,7 +220,7 @@ var ue = { class: "min-w-0" }, de = { class: "flex min-w-0 items-center gap-sm"
|
|
|
220
220
|
__name: "DunningCaseSendRecipientAlert",
|
|
221
221
|
props: { customerDetailRoute: {} },
|
|
222
222
|
setup(e) {
|
|
223
|
-
let t = e, n = p(), r =
|
|
223
|
+
let t = e, n = p(), r = M();
|
|
224
224
|
function i() {
|
|
225
225
|
t.customerDetailRoute !== null && r.push(t.customerDetailRoute);
|
|
226
226
|
}
|
|
@@ -271,20 +271,20 @@ var Ne = {
|
|
|
271
271
|
},
|
|
272
272
|
emits: ["close"],
|
|
273
273
|
setup(e, { emit: t }) {
|
|
274
|
-
let n = e, r = t,
|
|
274
|
+
let n = e, r = t, o = p(), c = H(), l = i(), u = Z(), d = K(h(() => n.dunningCaseUuid)), b = h(() => d.result.value.isOk() ? d.result.value.getValue() : null), S = Me(h(() => b.value?.customer.uuid ?? null)), C = je(h(() => b.value?.level ?? null)), T = h(() => {
|
|
275
275
|
let e = b.value?.customer.uuid;
|
|
276
276
|
return e === void 0 ? null : l.getCustomerDetailRoute(e);
|
|
277
|
-
}), E = h(() => b.value === null ? 0 : ce(b.value.invoices).length), k = h(() => typeof S.defaultEmail.value == "string" ?
|
|
277
|
+
}), E = h(() => b.value === null ? 0 : ce(b.value.invoices).length), k = h(() => typeof S.defaultEmail.value == "string" ? o.t("module.dunning_case.send.grouped_to", { email: S.defaultEmail.value }) : S.isMissing.value ? o.t("module.dunning_case.send.no_default_recipient") : o.t("module.dunning_case.send.description")), j = U({
|
|
278
278
|
schema: f.object({}),
|
|
279
279
|
onSubmit: async () => {
|
|
280
280
|
if (S.isMissing.value) {
|
|
281
|
-
c.show({ message:
|
|
281
|
+
c.show({ message: o.t("module.dunning_case.send.no_default_recipient_blocked") });
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
284
284
|
let e = await u.execute({ params: { dunningCaseUuid: n.dunningCaseUuid } });
|
|
285
285
|
e.isErr() ? c.apiError(e.error) : (c.show({
|
|
286
286
|
duration: Infinity,
|
|
287
|
-
message:
|
|
287
|
+
message: o.t("module.dunning_case.send.success", { customer: b.value?.customer.name ?? "" })
|
|
288
288
|
}), n.onSent?.(), r("close"));
|
|
289
289
|
}
|
|
290
290
|
});
|
|
@@ -295,21 +295,21 @@ var Ne = {
|
|
|
295
295
|
}, {
|
|
296
296
|
default: A(() => [
|
|
297
297
|
x(O(B), {
|
|
298
|
-
title: O(
|
|
298
|
+
title: O(o).t("module.dunning_case.send.title", {
|
|
299
299
|
customer: b.value?.customer.name ?? "",
|
|
300
300
|
level: b.value?.level ?? ""
|
|
301
301
|
}),
|
|
302
302
|
description: k.value,
|
|
303
303
|
"has-separator": !1,
|
|
304
|
-
icon: O(
|
|
304
|
+
icon: O(a)
|
|
305
305
|
}, null, 8, [
|
|
306
306
|
"title",
|
|
307
307
|
"description",
|
|
308
308
|
"icon"
|
|
309
309
|
]),
|
|
310
310
|
x(O(I), null, {
|
|
311
|
-
default: A(() => [x(O(
|
|
312
|
-
default: A(() => [O(d).isLoading.value ? (w(), v("p", Ne, D(O(
|
|
311
|
+
default: A(() => [x(O(F), { gap: "lg" }, {
|
|
312
|
+
default: A(() => [O(d).isLoading.value ? (w(), v("p", Ne, D(O(o).t("module.dunning_case.common.loading")), 1)) : b.value === null ? _("", !0) : (w(), v(m, { key: 1 }, [
|
|
313
313
|
O(S).isMissing.value ? (w(), g(ke, {
|
|
314
314
|
key: 0,
|
|
315
315
|
"customer-detail-route": T.value
|
|
@@ -318,7 +318,7 @@ var Ne = {
|
|
|
318
318
|
"dunning-case": b.value,
|
|
319
319
|
subject: O(C)
|
|
320
320
|
}, null, 8, ["dunning-case", "subject"]),
|
|
321
|
-
y("div", Pe, [x(O(
|
|
321
|
+
y("div", Pe, [x(O(s), { class: "mt-xxs size-(--spacing-xl) shrink-0" }), y("p", Fe, D(O(o).t("module.dunning_case.send.impact", {
|
|
322
322
|
count: E.value,
|
|
323
323
|
level: b.value.level
|
|
324
324
|
})), 1)])
|
|
@@ -329,10 +329,10 @@ var Ne = {
|
|
|
329
329
|
}),
|
|
330
330
|
x(O(L), { "has-separator": !1 }, {
|
|
331
331
|
right: A(() => [x(O(R)), x(O(z), {
|
|
332
|
-
"icon-right": O(
|
|
332
|
+
"icon-right": O(a),
|
|
333
333
|
"is-disabled": b.value === null || O(S).isPending.value || O(S).isMissing.value,
|
|
334
334
|
"is-loading": O(j).isSubmitting.value,
|
|
335
|
-
label: O(
|
|
335
|
+
label: O(o).t("module.dunning_case.send.send_now"),
|
|
336
336
|
onClick: O(j).submit
|
|
337
337
|
}, null, 8, [
|
|
338
338
|
"icon-right",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./invoiceCustomer.service-
|
|
1
|
+
import { St as e } from "./dist-DaJ08k0k.js";
|
|
2
|
+
import { t } from "./invoiceCustomer.service-Cowdna7o.js";
|
|
3
3
|
import { useI18n as n } from "vue-i18n";
|
|
4
4
|
import { computed as r, createBlock as i, createVNode as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
|
|
5
5
|
import { useOffsetInfiniteQuery as u } from "@wisemen/vue-core-api-utils";
|