@wisemen/wise-invoicing-web 0.5.0 → 0.7.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/{ApprovalReminderSettingsViewDataProvider-CD0Seawd.js → ApprovalReminderSettingsViewDataProvider-Dsp3ee3c.js} +4 -4
- package/dist/{BillingDocumentDetailViewDataProvider-BgVYrLu8.js → BillingDocumentDetailViewDataProvider-TX-tovKU.js} +1708 -1576
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-LYvPMzYT.js → BillingDocumentPdf-c-7N80u4.js} +266 -205
- package/dist/{CreditNoteDetailViewDataProvider-CpSIbMM2.js → CreditNoteDetailViewDataProvider-BNT0h67Q.js} +196 -189
- package/dist/{CreditNotePdfViewDataProvider-Dtnu9gS3.js → CreditNotePdfViewDataProvider-qgOuhUf_.js} +2 -2
- package/dist/{CustomFieldValueText-DA0aPKwC.js → CustomFieldValueText-BP4bKQh7.js} +68 -38
- package/dist/{DunningCaseDetailViewDataProvider-DutSCkco.js → DunningCaseDetailViewDataProvider-BNByfQTc.js} +13 -13
- package/dist/{DunningCaseOverviewView-D8o4VMQD.js → DunningCaseOverviewView-Dvwaw597.js} +23 -23
- package/dist/{DunningCaseReminderPdfViewDataProvider-I_ZQiAuK.js → DunningCaseReminderPdfViewDataProvider-D1avIVyK.js} +1 -1
- package/dist/{DunningCaseSendDialog-DGg7bXeZ.js → DunningCaseSendDialog-DwB_jFum.js} +17 -17
- package/dist/{InvoiceApprovalOutOfSyncIndicator-AJOQe8j8.js → InvoiceApprovalOutOfSyncIndicator-B_9HLzpt.js} +2 -2
- package/dist/{InvoiceApprovalOverviewView-C4MI4IqD.js → InvoiceApprovalOverviewView-jawT-M1t.js} +213 -213
- package/dist/{InvoiceApprovalStatusBadge-BJ3Q18bf.js → InvoiceApprovalStatusBadge-D6Sr6JmN.js} +4 -4
- package/dist/{InvoiceApproveDialogDataProvider-CMZ0zDZo.js → InvoiceApproveDialogDataProvider-Bwb8bP1e.js} +16 -16
- package/dist/{InvoiceDetailViewDataProvider-k1yIeHYP.js → InvoiceDetailViewDataProvider-B8mMYTQf.js} +648 -642
- package/dist/{InvoiceOverviewViewDataProvider-BrgmweRE.js → InvoiceOverviewViewDataProvider-CLgV-Jcv.js} +501 -501
- package/dist/{InvoicePdfView-CB8gx8TE.js → InvoicePdfView-C518PlHp.js} +2 -2
- package/dist/{InvoicePdfViewDataProvider-Cs4Gqa0h.js → InvoicePdfViewDataProvider-ClfBkHUZ.js} +3 -3
- package/dist/{InvoicePublicPdfViewDataProvider-BaSvVJ8W.js → InvoicePublicPdfViewDataProvider-CoXBj3Je.js} +3 -3
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-S3N9E91M.js → InvoicePublicProFormaPdfViewDataProvider-WlVD7sw1.js} +3 -3
- package/dist/{InvoicingFileUploadProvider-BLBjPKqx.js → InvoicingFileUploadProvider-Dl1LvCPm.js} +2 -2
- package/dist/{IssuerSettingsViewDataProvider-BStn0jFI.js → IssuerSettingsViewDataProvider-CXyyCvoZ.js} +51 -46
- package/dist/PeppolSettingsViewDataProvider-Cptga29B.js +276 -0
- package/dist/{ReminderSettingsViewDataProvider-BotrOSmS.js → ReminderSettingsViewDataProvider-BZgzQIxM.js} +63 -63
- package/dist/{api.util-D6m6OY3_.js → api.util-CR2xLnNj.js} +785 -670
- package/dist/{billingDocumentDetail.transformer-Da-Nt4bI.js → billingDocumentDetail.transformer-D1f6Nv-U.js} +9 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +4 -1
- package/dist/client/types.gen.d.ts +240 -56
- package/dist/client/zod.gen.d.ts +4206 -1343
- package/dist/composables/invoicingConfig.composable.d.ts +12 -0
- package/dist/{creditNoteDetail.query-Yb8TdZNm.js → creditNoteDetail.query-DGeG9_sO.js} +15 -15
- package/dist/{dist-DCbLgB6Y.js → dist-BMzyJZTx.js} +258 -114
- package/dist/{dist-BpDuRYDT.js → dist-DALBiuub.js} +134 -134
- package/dist/{documentTitle.composable-CRJjS6p-.js → documentTitle.composable-RvqrZTBa.js} +28 -26
- package/dist/{download.util-B5Q7KUC9.js → download.util-LyRpGWKA.js} +9 -0
- package/dist/{i18n.lib-DBxdqkbJ.js → i18n.lib-MOiHLIGc.js} +58 -2
- package/dist/index.d.ts +59 -2
- package/dist/index.js +232 -212
- package/dist/{invoice.service-DWDl9XRh.js → invoice.service-Fv4F4aZq.js} +39 -38
- package/dist/{invoiceApproval.service-Fwlxgd9o.js → invoiceApproval.service-DJvXagC7.js} +7 -7
- package/dist/{invoiceApprovalStatus.util-q-zHLdFV.js → invoiceApprovalStatus.util-B98WeAf0.js} +2 -2
- package/dist/{invoiceCustomer.service-DOexR54S.js → invoiceCustomer.service-CDyrtcwH.js} +6 -6
- package/dist/{invoiceDetail.query-B5w0Vlsy.js → invoiceDetail.query-UHE0NCLh.js} +1 -1
- package/dist/{invoiceIndexCache.util-CUlp4R7R.js → invoiceIndexCache.util-CLM7FO6z.js} +3 -3
- package/dist/{invoicingConfig.composable-CaWQMTP1.js → invoicingConfig.composable-UC7tGtBj.js} +14 -10
- package/dist/{issuerSettings.query-BHuLjV9P.js → issuerSettings.query-CoiXblSm.js} +2 -2
- package/dist/libs/i18n.lib.d.ts +56 -0
- package/dist/locales/en-US.json.d.ts +29 -1
- package/dist/locales/nl-BE.json.d.ts +29 -1
- package/dist/models/billing-document/billingDocumentAdvancePayment.util.d.ts +9 -0
- package/dist/models/billing-document/billingDocumentAdvancePayment.util.spec.d.ts +1 -0
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +1 -0
- package/dist/modules/custom-field/components/CustomFieldList.vue.d.ts +0 -1
- package/dist/modules/custom-field/components/customFieldList.spec.d.ts +1 -0
- package/dist/modules/custom-field/components/customFieldTypeIcon.d.ts +16 -0
- package/dist/modules/custom-field/components/customFieldValueText.spec.d.ts +1 -0
- package/dist/modules/custom-field/composables/customFieldReferenceLinks.composable.d.ts +16 -0
- package/dist/modules/custom-field/composables/customFieldReferenceLinks.composable.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.model.d.ts +6 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.transformer.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.d.ts +6 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldViewKey.model.d.ts +9 -0
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.model.d.ts +1 -1
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.d.ts +10 -0
- package/dist/modules/custom-field/test/builders/customFieldDefinition.builder.d.ts +3 -1
- package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.model.d.ts +1 -0
- package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailPaymentsTableColumns.composable.d.ts +1 -1
- package/dist/modules/invoice-delivery/api/mutations/peppolConnectionUpdate.mutation.d.ts +6 -0
- package/dist/modules/invoice-delivery/api/queries/peppolConnection.query.d.ts +1 -0
- package/dist/modules/invoice-delivery/api/query-keys/invoiceDelivery.queryKeys.d.ts +6 -0
- package/dist/modules/invoice-delivery/api/services/peppolConnection.service.d.ts +8 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormApiKeyField.vue.d.ts +8 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormCompanyField.vue.d.ts +11 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormEnabledField.vue.d.ts +7 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormProviderField.vue.d.ts +9 -0
- package/dist/modules/invoice-delivery/index.d.ts +1 -0
- package/dist/modules/invoice-delivery/models/deliveryReason.util.d.ts +6 -0
- package/dist/modules/invoice-delivery/models/peppolConnection.model.d.ts +18 -0
- package/dist/modules/invoice-delivery/models/peppolConnection.transformer.d.ts +9 -0
- package/dist/modules/invoice-delivery/models/peppolConnectionForm.model.d.ts +9 -0
- package/dist/modules/invoice-delivery/use-cases/settings/views/PeppolSettingsView.vue.d.ts +7 -0
- package/dist/modules/invoice-delivery/use-cases/settings/views/PeppolSettingsViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/settings/routes/settings.routes.d.ts +7 -0
- package/dist/{reminderConfig.query-C4J6m4ER.js → reminderConfig.query-aRFzY6uZ.js} +22 -22
- package/dist/style.css +1 -1
- package/dist/types/queryKey.type.d.ts +2 -1
- package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +114 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +57 -36
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.d.ts +6 -1
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.spec.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r,
|
|
2
|
-
import {
|
|
1
|
+
import { A as e, C as t, D as n, E as r, G as ee, I as i, L as a, M as o, N as s, S as c, T as l, U as u, W as d, Y as f, a as te, at as ne, b as re, c as ie, d as ae, dt as oe, g as se, h as ce, i as le, it as ue, j as de, k as fe, l as pe, m as me, mt as he, n as ge, ot as _e, p as ve, r as ye, s as be, t as p, ut as xe, v as Se, w as Ce, x as we, z as Te } from "./api.util-CR2xLnNj.js";
|
|
2
|
+
import { A as m, b as h, f as g, h as _, r as v, x as y } from "./documentTitle.composable-RvqrZTBa.js";
|
|
3
3
|
import { n as b } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
4
4
|
import { r as x } from "./src-DUSgQTKr.js";
|
|
5
5
|
import { t as S } from "./address.transformer-jGddczLV.js";
|
|
6
6
|
import { n as C, r as w, t as T } from "./plainDate.transformer-Bhiz9jW7.js";
|
|
7
7
|
import { n as E, t as D } from "./percentage.util-Bl78kSSk.js";
|
|
8
|
-
import { a as O, i as Ee, n as k, o as De, r as Oe, t as ke } from "./billingDocumentDetail.transformer-
|
|
8
|
+
import { a as O, i as Ee, n as k, o as De, r as Oe, t as ke } from "./billingDocumentDetail.transformer-D1f6Nv-U.js";
|
|
9
9
|
import { t as A } from "./dist-BFx8U4Su.js";
|
|
10
10
|
import j from "zod";
|
|
11
11
|
import { ref as Ae } from "vue";
|
|
@@ -144,11 +144,11 @@ var N = class e {
|
|
|
144
144
|
pagination: e.pagination,
|
|
145
145
|
search: F.toDto(e.search),
|
|
146
146
|
sort: je.toDto(e.sort, {
|
|
147
|
-
created_at:
|
|
148
|
-
issued_on:
|
|
149
|
-
customer:
|
|
150
|
-
netAmount:
|
|
151
|
-
sequence:
|
|
147
|
+
created_at: m.CREATED_AT,
|
|
148
|
+
issued_on: m.ISSUED_ON,
|
|
149
|
+
customer: m.CUSTOMER,
|
|
150
|
+
netAmount: m.NET_AMOUNT,
|
|
151
|
+
sequence: m.SEQUENCE
|
|
152
152
|
})
|
|
153
153
|
};
|
|
154
154
|
}
|
|
@@ -425,6 +425,7 @@ var Y = class e {
|
|
|
425
425
|
vatNumber: e.issuer.vatNumber,
|
|
426
426
|
website: e.issuer.website
|
|
427
427
|
},
|
|
428
|
+
advancePaymentAmount: C.fromNullableDto(e.advancePaymentAmount),
|
|
428
429
|
customer: {
|
|
429
430
|
uuid: e.customer.uuid,
|
|
430
431
|
name: e.customer.name,
|
|
@@ -446,7 +447,7 @@ var Y = class e {
|
|
|
446
447
|
poNumber: e.poNumber,
|
|
447
448
|
recipient: null,
|
|
448
449
|
sequence: null,
|
|
449
|
-
status:
|
|
450
|
+
status: h.READY,
|
|
450
451
|
subject: e.subject,
|
|
451
452
|
totalDiscountAmount: C.fromNullableDto(e.totalDiscountAmount),
|
|
452
453
|
type: y.STANDARD,
|
|
@@ -462,7 +463,7 @@ var Y = class e {
|
|
|
462
463
|
}, Ue = class {
|
|
463
464
|
static toDto(e) {
|
|
464
465
|
let t = Math.abs(e.value);
|
|
465
|
-
return e.type ===
|
|
466
|
+
return e.type === g.PERCENTAGE ? { discount: {
|
|
466
467
|
amount: null,
|
|
467
468
|
description: null,
|
|
468
469
|
percentage: E.toDto(new D(t)),
|
|
@@ -553,7 +554,7 @@ var We = class {
|
|
|
553
554
|
}
|
|
554
555
|
}, Ge = class {
|
|
555
556
|
static async applyDiscount(e, t) {
|
|
556
|
-
let n = await p.fromPromise(
|
|
557
|
+
let n = await p.fromPromise(ge({
|
|
557
558
|
body: Ue.toDto(t),
|
|
558
559
|
path: { uuid: e }
|
|
559
560
|
}));
|
|
@@ -572,30 +573,30 @@ var We = class {
|
|
|
572
573
|
}
|
|
573
574
|
static async bulkFinalize(e) {
|
|
574
575
|
return (await p.fromPromise(le({ query: { filter: { invoiceUuids: {
|
|
575
|
-
scope:
|
|
576
|
+
scope: _.INCLUDE,
|
|
576
577
|
values: e
|
|
577
578
|
} } } }))).map((e) => e.data);
|
|
578
579
|
}
|
|
579
580
|
static async bulkMarkAsReady(e) {
|
|
580
581
|
return (await p.fromPromise(te({ query: { filter: { invoiceUuids: {
|
|
581
|
-
scope:
|
|
582
|
+
scope: _.INCLUDE,
|
|
582
583
|
values: e
|
|
583
584
|
} } } }))).map((e) => e.data);
|
|
584
585
|
}
|
|
585
586
|
static async bulkSend(e) {
|
|
586
|
-
return (await p.fromPromise(
|
|
587
|
-
scope:
|
|
587
|
+
return (await p.fromPromise(ie({ query: { filter: { invoiceUuids: {
|
|
588
|
+
scope: _.INCLUDE,
|
|
588
589
|
values: e
|
|
589
590
|
} } } }))).map((e) => e.data);
|
|
590
591
|
}
|
|
591
592
|
static async bulkSendApproval(e) {
|
|
592
|
-
return (await p.fromPromise(
|
|
593
|
-
scope:
|
|
593
|
+
return (await p.fromPromise(be({ query: { filter: { invoiceUuids: {
|
|
594
|
+
scope: _.INCLUDE,
|
|
594
595
|
values: e
|
|
595
596
|
} } } }))).map((e) => e.data);
|
|
596
597
|
}
|
|
597
598
|
static async create(e) {
|
|
598
|
-
return (await p.fromPromise(
|
|
599
|
+
return (await p.fromPromise(ve({ body: Pe.toDto(e) }))).map((e) => e.data.uuid);
|
|
599
600
|
}
|
|
600
601
|
static async createCreditNote(e) {
|
|
601
602
|
return (await p.fromPromise(ae({ path: { uuid: e } }))).map((e) => e.data.uuid);
|
|
@@ -619,14 +620,14 @@ var We = class {
|
|
|
619
620
|
return p.void(n);
|
|
620
621
|
}
|
|
621
622
|
static async duplicate(e) {
|
|
622
|
-
return (await p.fromPromise(
|
|
623
|
+
return (await p.fromPromise(Se({ path: { uuid: e } }))).map((e) => e.data.uuid);
|
|
623
624
|
}
|
|
624
625
|
static async finalize(e) {
|
|
625
|
-
let t = await p.fromPromise(
|
|
626
|
+
let t = await p.fromPromise(re({ path: { uuid: e } }));
|
|
626
627
|
return p.void(t);
|
|
627
628
|
}
|
|
628
629
|
static async getActivityLogs(e, t) {
|
|
629
|
-
return (await p.fromPromise(
|
|
630
|
+
return (await p.fromPromise(f({ query: {
|
|
630
631
|
filter: {
|
|
631
632
|
entityUuids: [e],
|
|
632
633
|
roles: [v.INVOICE]
|
|
@@ -641,7 +642,7 @@ var We = class {
|
|
|
641
642
|
}));
|
|
642
643
|
}
|
|
643
644
|
static async getAll(e) {
|
|
644
|
-
return (await p.fromPromise(
|
|
645
|
+
return (await p.fromPromise(ne({
|
|
645
646
|
query: Le.toDto(e),
|
|
646
647
|
responseValidator: void 0
|
|
647
648
|
}))).map((e) => ({
|
|
@@ -650,19 +651,19 @@ var We = class {
|
|
|
650
651
|
}));
|
|
651
652
|
}
|
|
652
653
|
static async getByUuid(e) {
|
|
653
|
-
return (await p.fromPromise(
|
|
654
|
+
return (await p.fromPromise(ue({ path: { uuid: e } }))).map((e) => Fe.fromDto(e.data));
|
|
654
655
|
}
|
|
655
656
|
static async getPayments(e) {
|
|
656
|
-
return (await p.fromPromise(
|
|
657
|
+
return (await p.fromPromise(_e({ path: { uuid: e } }))).map((e) => e.data.items.map(Be.fromDto));
|
|
657
658
|
}
|
|
658
659
|
static async getPublicDetail(e) {
|
|
659
|
-
return (await p.fromPromise(
|
|
660
|
+
return (await p.fromPromise(xe({ query: { token: e } }))).map((e) => Y.fromPublicDto(e.data));
|
|
660
661
|
}
|
|
661
662
|
static async getPublicProFormaDetail(e) {
|
|
662
|
-
return (await p.fromPromise(
|
|
663
|
+
return (await p.fromPromise(oe({ query: { token: e } }))).map((e) => Y.fromPublicProFormaDto(e.data));
|
|
663
664
|
}
|
|
664
665
|
static async markAsDraft(e) {
|
|
665
|
-
let t = await p.fromPromise(
|
|
666
|
+
let t = await p.fromPromise(c({ path: { uuid: e } }));
|
|
666
667
|
return p.void(t);
|
|
667
668
|
}
|
|
668
669
|
static async markAsPaid(e) {
|
|
@@ -670,38 +671,38 @@ var We = class {
|
|
|
670
671
|
return p.void(n);
|
|
671
672
|
}
|
|
672
673
|
static async markAsPriorApprovalRequired(e) {
|
|
673
|
-
let t = await p.fromPromise(
|
|
674
|
+
let t = await p.fromPromise(Ce({ path: { uuid: e } }));
|
|
674
675
|
return p.void(t);
|
|
675
676
|
}
|
|
676
677
|
static async markAsProtested(e) {
|
|
677
|
-
let t = await p.fromPromise(
|
|
678
|
+
let t = await p.fromPromise(we({ path: { uuid: e } }));
|
|
678
679
|
return p.void(t);
|
|
679
680
|
}
|
|
680
681
|
static async markAsReady(e) {
|
|
681
|
-
let t = await p.fromPromise(
|
|
682
|
+
let t = await p.fromPromise(l({ path: { uuid: e } }));
|
|
682
683
|
return p.void(t);
|
|
683
684
|
}
|
|
684
685
|
static async previewBulkFinalize(e) {
|
|
685
686
|
return (await p.fromPromise(r({ query: { filter: { invoiceUuids: {
|
|
686
|
-
scope:
|
|
687
|
+
scope: _.INCLUDE,
|
|
687
688
|
values: e
|
|
688
689
|
} } } }))).map((e) => e.data);
|
|
689
690
|
}
|
|
690
691
|
static async previewBulkMarkAsReady(e) {
|
|
691
692
|
return (await p.fromPromise(n({ query: { filter: { invoiceUuids: {
|
|
692
|
-
scope:
|
|
693
|
+
scope: _.INCLUDE,
|
|
693
694
|
values: e
|
|
694
695
|
} } } }))).map((e) => e.data);
|
|
695
696
|
}
|
|
696
697
|
static async previewBulkSend(t) {
|
|
697
698
|
return (await p.fromPromise(e({ query: { filter: { invoiceUuids: {
|
|
698
|
-
scope:
|
|
699
|
+
scope: _.INCLUDE,
|
|
699
700
|
values: t
|
|
700
701
|
} } } }))).map((e) => e.data);
|
|
701
702
|
}
|
|
702
703
|
static async previewBulkSendApproval(e) {
|
|
703
704
|
return (await p.fromPromise(fe({ query: { filter: { invoiceUuids: {
|
|
704
|
-
scope:
|
|
705
|
+
scope: _.INCLUDE,
|
|
705
706
|
values: e
|
|
706
707
|
} } } }))).map((e) => e.data);
|
|
707
708
|
}
|
|
@@ -729,18 +730,18 @@ var We = class {
|
|
|
729
730
|
return p.void(t);
|
|
730
731
|
}
|
|
731
732
|
static async unmarkAsPriorApprovalRequired(e) {
|
|
732
|
-
let t = await p.fromPromise(
|
|
733
|
+
let t = await p.fromPromise(Te({ path: { uuid: e } }));
|
|
733
734
|
return p.void(t);
|
|
734
735
|
}
|
|
735
736
|
static async update(e, t) {
|
|
736
|
-
let n = await p.fromPromise(
|
|
737
|
+
let n = await p.fromPromise(ee({
|
|
737
738
|
body: Z.toDto(t),
|
|
738
739
|
path: { uuid: e }
|
|
739
740
|
}));
|
|
740
741
|
return p.void(n);
|
|
741
742
|
}
|
|
742
743
|
static async updateAttachments(e, t) {
|
|
743
|
-
let n = await p.fromPromise(
|
|
744
|
+
let n = await p.fromPromise(u({
|
|
744
745
|
body: X.toDto(t),
|
|
745
746
|
path: { uuid: e }
|
|
746
747
|
}));
|
|
@@ -754,7 +755,7 @@ var We = class {
|
|
|
754
755
|
return p.void(n);
|
|
755
756
|
}
|
|
756
757
|
static async withdrawProtest(e) {
|
|
757
|
-
let t = await p.fromPromise(
|
|
758
|
+
let t = await p.fromPromise(he({ path: { uuid: e } }));
|
|
758
759
|
return p.void(t);
|
|
759
760
|
}
|
|
760
761
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as e, X as t, rt as n, t as r } from "./api.util-CR2xLnNj.js";
|
|
2
2
|
import { n as i, r as a, t as o } from "./plainDate.transformer-Bhiz9jW7.js";
|
|
3
|
-
import { t as s } from "./invoiceApprovalStatus.util-
|
|
3
|
+
import { t as s } from "./invoiceApprovalStatus.util-B98WeAf0.js";
|
|
4
4
|
//#region src/modules/invoice-approval/models/approvalReminderConfig.transformer.ts
|
|
5
5
|
var c = class {
|
|
6
6
|
static toDto(e) {
|
|
@@ -55,17 +55,17 @@ var c = class {
|
|
|
55
55
|
}
|
|
56
56
|
}, d = class {
|
|
57
57
|
static async getAll(e) {
|
|
58
|
-
return (await
|
|
58
|
+
return (await r.fromPromise(n({ query: u.toDto(e) }))).map((e) => ({
|
|
59
59
|
data: e.data.items.map(l.fromDto),
|
|
60
60
|
meta: e.data.meta
|
|
61
61
|
}));
|
|
62
62
|
}
|
|
63
63
|
static async getReminderConfigs() {
|
|
64
|
-
return (await
|
|
64
|
+
return (await r.fromPromise(t())).map((e) => e.data.items);
|
|
65
65
|
}
|
|
66
|
-
static async updateReminderConfigs(
|
|
67
|
-
let n = await
|
|
68
|
-
return
|
|
66
|
+
static async updateReminderConfigs(t) {
|
|
67
|
+
let n = await r.fromPromise(e({ body: c.toDto(t) }));
|
|
68
|
+
return r.void(n);
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
//#endregion
|
package/dist/{invoiceApprovalStatus.util-q-zHLdFV.js → invoiceApprovalStatus.util-B98WeAf0.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./api.util-
|
|
2
|
-
import { _ as e, a as t, g as n, o as r } from "./documentTitle.composable-
|
|
1
|
+
import "./api.util-CR2xLnNj.js";
|
|
2
|
+
import { _ as e, a as t, g as n, o as r } from "./documentTitle.composable-RvqrZTBa.js";
|
|
3
3
|
//#region src/modules/invoice/models/invoice/invoiceApprovalStatus.util.ts
|
|
4
4
|
var i = {
|
|
5
5
|
[t.APPROVED]: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as r } from "./invoice.service-
|
|
1
|
+
import { $ as e, Q as t, t as n } from "./api.util-CR2xLnNj.js";
|
|
2
|
+
import { o as r } from "./invoice.service-Fv4F4aZq.js";
|
|
3
3
|
//#region src/models/customer/customerDetail.transformer.ts
|
|
4
4
|
var i = class {
|
|
5
5
|
static fromDto(e) {
|
|
@@ -25,14 +25,14 @@ var i = class {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
}, s = class {
|
|
28
|
-
static async getAll(
|
|
29
|
-
return (await n.fromPromise(
|
|
28
|
+
static async getAll(t) {
|
|
29
|
+
return (await n.fromPromise(e({ query: o.toDto(t) }))).map((e) => ({
|
|
30
30
|
data: e.data.items.map(a.fromDto),
|
|
31
31
|
meta: e.data.meta
|
|
32
32
|
}));
|
|
33
33
|
}
|
|
34
|
-
static async getByUuid(
|
|
35
|
-
return (await n.fromPromise(
|
|
34
|
+
static async getByUuid(e) {
|
|
35
|
+
return (await n.fromPromise(t({ path: { uuid: e } }))).map((e) => i.fromDto(e.data));
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./api.util-
|
|
2
|
-
import {
|
|
1
|
+
import "./api.util-CR2xLnNj.js";
|
|
2
|
+
import { E as e, v as t } from "./documentTitle.composable-RvqrZTBa.js";
|
|
3
3
|
import { r as n } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
4
|
-
import { n as r } from "./CustomFieldValueText-
|
|
4
|
+
import { n as r } from "./CustomFieldValueText-BP4bKQh7.js";
|
|
5
5
|
import { useI18n as i } from "vue-i18n";
|
|
6
6
|
import { computed as a, createBlock as o, createCommentVNode as s, createVNode as c, defineComponent as l, openBlock as u, unref as d, withCtx as f } from "vue";
|
|
7
7
|
import { QueryClient as p, getTanstackQueryClient as m } from "@wisemen/vue-core-api-utils";
|
package/dist/{invoicingConfig.composable-CaWQMTP1.js → invoicingConfig.composable-UC7tGtBj.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./i18n.lib-
|
|
2
|
-
import {
|
|
1
|
+
import { t as e } from "./i18n.lib-MOiHLIGc.js";
|
|
2
|
+
import { ht as t } from "./api.util-CR2xLnNj.js";
|
|
3
3
|
import { useI18n as n } from "vue-i18n";
|
|
4
4
|
import { computed as r, ref as i, shallowRef as a, toValue as o, watch as s } from "vue";
|
|
5
5
|
//#region src/libs/http.lib.ts
|
|
@@ -29,20 +29,23 @@ var p = i(!1), m = i(!0), h = i(!0), g = i(!0);
|
|
|
29
29
|
function _(e) {
|
|
30
30
|
return null;
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
function v(e) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
var y = i(_), b = i(v), x = a(null);
|
|
36
|
+
function S(t) {
|
|
34
37
|
return s(() => o(t.locale), (t) => {
|
|
35
38
|
e.global.locale.value = t;
|
|
36
39
|
}), f({
|
|
37
40
|
apiInvoicingBaseUrl: t.apiInvoicingBaseUrl,
|
|
38
41
|
getAccessToken: t.getAccessToken,
|
|
39
42
|
getLocale: () => o(t.locale)
|
|
40
|
-
}), m.value = t.config?.isDeliveryDateVisible ?? !0, h.value = t.config?.isGlobalDiscountEnabled ?? !0, g.value = t.config?.isLineDiscountEnabled ?? !0,
|
|
43
|
+
}), m.value = t.config?.isDeliveryDateVisible ?? !0, h.value = t.config?.isGlobalDiscountEnabled ?? !0, g.value = t.config?.isLineDiscountEnabled ?? !0, y.value = t.getCustomerDetailRoute ?? _, b.value = t.getCustomFieldReferenceRoute ?? v, x.value = t.invoicePdfComponent ?? null, p.value = !0, Promise.resolve();
|
|
41
44
|
}
|
|
42
|
-
function
|
|
45
|
+
function C() {
|
|
43
46
|
let e = n();
|
|
44
47
|
function t(t) {
|
|
45
|
-
return
|
|
48
|
+
return S({
|
|
46
49
|
...t,
|
|
47
50
|
locale: e.locale
|
|
48
51
|
});
|
|
@@ -52,10 +55,11 @@ function x() {
|
|
|
52
55
|
isGlobalDiscountEnabled: r(() => h.value),
|
|
53
56
|
isInitialized: r(() => p.value),
|
|
54
57
|
isLineDiscountEnabled: r(() => g.value),
|
|
55
|
-
getCustomerDetailRoute: (e) =>
|
|
58
|
+
getCustomerDetailRoute: (e) => y.value(e),
|
|
59
|
+
getCustomFieldReferenceRoute: (e) => b.value(e),
|
|
56
60
|
init: t,
|
|
57
|
-
invoicePdfComponent: r(() =>
|
|
61
|
+
invoicePdfComponent: r(() => x.value)
|
|
58
62
|
};
|
|
59
63
|
}
|
|
60
64
|
//#endregion
|
|
61
|
-
export {
|
|
65
|
+
export { C as n, S as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { p as r } from "./documentTitle.composable-
|
|
1
|
+
import { K as e, st as t, t as n } from "./api.util-CR2xLnNj.js";
|
|
2
|
+
import { p as r } from "./documentTitle.composable-RvqrZTBa.js";
|
|
3
3
|
import { n as i, t as a } from "./address.transformer-jGddczLV.js";
|
|
4
4
|
import { t as o } from "./dist-BFx8U4Su.js";
|
|
5
5
|
import { useQuery as s } from "@wisemen/vue-core-api-utils";
|
package/dist/libs/i18n.lib.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
|
|
|
19
19
|
"wise_invoicing.common.yes": string;
|
|
20
20
|
"wise_invoicing.custom_field.date.infinity": string;
|
|
21
21
|
"wise_invoicing.custom_field.date.negative_infinity": string;
|
|
22
|
+
"wise_invoicing.custom_field.reference.open": string;
|
|
22
23
|
"wise_invoicing.customer_invoice_list.title": string;
|
|
23
24
|
"wise_invoicing.customer_invoice_list.empty_state.title": string;
|
|
24
25
|
"wise_invoicing.customer_invoice_list.empty_state.description": string;
|
|
@@ -312,6 +313,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
|
|
|
312
313
|
"wise_invoicing.invoice.detail.line_items.collapse_all_groups": string;
|
|
313
314
|
"wise_invoicing.invoice.detail.line_items.expand_all_groups": string;
|
|
314
315
|
"wise_invoicing.invoice.detail.line_items.group_actions": string;
|
|
316
|
+
"wise_invoicing.invoice.detail.line_items.line_actions": string;
|
|
315
317
|
"wise_invoicing.invoice.detail.line_items.group_total_breakdown": string;
|
|
316
318
|
"wise_invoicing.invoice.detail.line_items.group_subgroup_count": string;
|
|
317
319
|
"wise_invoicing.invoice.detail.line_items.indent_row": string;
|
|
@@ -345,6 +347,8 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
|
|
|
345
347
|
"wise_invoicing.invoice.detail.totals.vat_rounding_tooltip": string;
|
|
346
348
|
"wise_invoicing.invoice.detail.totals.total_discount": string;
|
|
347
349
|
"wise_invoicing.invoice.detail.totals.total_incl_vat": string;
|
|
350
|
+
"wise_invoicing.invoice.detail.totals.advance_payment": string;
|
|
351
|
+
"wise_invoicing.invoice.detail.totals.amount_due": string;
|
|
348
352
|
"wise_invoicing.invoice.detail.budgets.title": string;
|
|
349
353
|
"wise_invoicing.invoice.detail.budgets.budget": string;
|
|
350
354
|
"wise_invoicing.invoice.detail.budgets.invoiced_without_vat": string;
|
|
@@ -919,6 +923,30 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
|
|
|
919
923
|
"wise_invoicing.invoice.approval_archive.description": string;
|
|
920
924
|
"wise_invoicing.invoice.approval_archive.submit": string;
|
|
921
925
|
"wise_invoicing.invoice.approval_archive.success": string;
|
|
926
|
+
"wise_invoicing.delivery.settings.title": string;
|
|
927
|
+
"wise_invoicing.delivery.settings.description": string;
|
|
928
|
+
"wise_invoicing.delivery.settings.saved": string;
|
|
929
|
+
"wise_invoicing.delivery.settings.provider": string;
|
|
930
|
+
"wise_invoicing.delivery.settings.api_key": string;
|
|
931
|
+
"wise_invoicing.delivery.settings.key_saved": string;
|
|
932
|
+
"wise_invoicing.delivery.settings.key_hint": string;
|
|
933
|
+
"wise_invoicing.delivery.settings.test": string;
|
|
934
|
+
"wise_invoicing.delivery.settings.test_success": string;
|
|
935
|
+
"wise_invoicing.delivery.settings.company": string;
|
|
936
|
+
"wise_invoicing.delivery.settings.enabled": string;
|
|
937
|
+
"wise_invoicing.delivery.provider.soluz": string;
|
|
938
|
+
"wise_invoicing.delivery.errors.generic": string;
|
|
939
|
+
"wise_invoicing.delivery.errors.provider_unavailable": string;
|
|
940
|
+
"wise_invoicing.delivery.errors.provider_http_401": string;
|
|
941
|
+
"wise_invoicing.delivery.errors.provider_http_403": string;
|
|
942
|
+
"wise_invoicing.delivery.errors.provider_http_429": string;
|
|
943
|
+
"wise_invoicing.delivery.errors.api_key_required": string;
|
|
944
|
+
"wise_invoicing.delivery.errors.credential_unavailable": string;
|
|
945
|
+
"wise_invoicing.delivery.errors.encryption_not_configured": string;
|
|
946
|
+
"wise_invoicing.delivery.errors.issuer_company_mismatch": string;
|
|
947
|
+
"wise_invoicing.delivery.errors.provider_not_configured": string;
|
|
948
|
+
"wise_invoicing.delivery.errors.invalid_provider_response": string;
|
|
949
|
+
"wise_invoicing.delivery.settings.company_option": string;
|
|
922
950
|
};
|
|
923
951
|
'nl-BE': {
|
|
924
952
|
"wise_invoicing.common.save": string;
|
|
@@ -934,6 +962,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
|
|
|
934
962
|
"wise_invoicing.common.yes": string;
|
|
935
963
|
"wise_invoicing.custom_field.date.infinity": string;
|
|
936
964
|
"wise_invoicing.custom_field.date.negative_infinity": string;
|
|
965
|
+
"wise_invoicing.custom_field.reference.open": string;
|
|
937
966
|
"wise_invoicing.customer_invoice_list.title": string;
|
|
938
967
|
"wise_invoicing.customer_invoice_list.empty_state.title": string;
|
|
939
968
|
"wise_invoicing.customer_invoice_list.empty_state.description": string;
|
|
@@ -1227,6 +1256,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
|
|
|
1227
1256
|
"wise_invoicing.invoice.detail.line_items.collapse_all_groups": string;
|
|
1228
1257
|
"wise_invoicing.invoice.detail.line_items.expand_all_groups": string;
|
|
1229
1258
|
"wise_invoicing.invoice.detail.line_items.group_actions": string;
|
|
1259
|
+
"wise_invoicing.invoice.detail.line_items.line_actions": string;
|
|
1230
1260
|
"wise_invoicing.invoice.detail.line_items.group_total_breakdown": string;
|
|
1231
1261
|
"wise_invoicing.invoice.detail.line_items.group_subgroup_count": string;
|
|
1232
1262
|
"wise_invoicing.invoice.detail.line_items.indent_row": string;
|
|
@@ -1260,6 +1290,8 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
|
|
|
1260
1290
|
"wise_invoicing.invoice.detail.totals.vat_rounding_tooltip": string;
|
|
1261
1291
|
"wise_invoicing.invoice.detail.totals.total_discount": string;
|
|
1262
1292
|
"wise_invoicing.invoice.detail.totals.total_incl_vat": string;
|
|
1293
|
+
"wise_invoicing.invoice.detail.totals.advance_payment": string;
|
|
1294
|
+
"wise_invoicing.invoice.detail.totals.amount_due": string;
|
|
1263
1295
|
"wise_invoicing.invoice.detail.budgets.title": string;
|
|
1264
1296
|
"wise_invoicing.invoice.detail.budgets.budget": string;
|
|
1265
1297
|
"wise_invoicing.invoice.detail.budgets.invoiced_without_vat": string;
|
|
@@ -1834,6 +1866,30 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
|
|
|
1834
1866
|
"wise_invoicing.invoice.approval_archive.description": string;
|
|
1835
1867
|
"wise_invoicing.invoice.approval_archive.submit": string;
|
|
1836
1868
|
"wise_invoicing.invoice.approval_archive.success": string;
|
|
1869
|
+
"wise_invoicing.delivery.settings.title": string;
|
|
1870
|
+
"wise_invoicing.delivery.settings.description": string;
|
|
1871
|
+
"wise_invoicing.delivery.settings.saved": string;
|
|
1872
|
+
"wise_invoicing.delivery.settings.provider": string;
|
|
1873
|
+
"wise_invoicing.delivery.settings.api_key": string;
|
|
1874
|
+
"wise_invoicing.delivery.settings.key_saved": string;
|
|
1875
|
+
"wise_invoicing.delivery.settings.key_hint": string;
|
|
1876
|
+
"wise_invoicing.delivery.settings.test": string;
|
|
1877
|
+
"wise_invoicing.delivery.settings.test_success": string;
|
|
1878
|
+
"wise_invoicing.delivery.settings.company": string;
|
|
1879
|
+
"wise_invoicing.delivery.settings.enabled": string;
|
|
1880
|
+
"wise_invoicing.delivery.provider.soluz": string;
|
|
1881
|
+
"wise_invoicing.delivery.errors.generic": string;
|
|
1882
|
+
"wise_invoicing.delivery.errors.provider_unavailable": string;
|
|
1883
|
+
"wise_invoicing.delivery.errors.provider_http_401": string;
|
|
1884
|
+
"wise_invoicing.delivery.errors.provider_http_403": string;
|
|
1885
|
+
"wise_invoicing.delivery.errors.provider_http_429": string;
|
|
1886
|
+
"wise_invoicing.delivery.errors.api_key_required": string;
|
|
1887
|
+
"wise_invoicing.delivery.errors.credential_unavailable": string;
|
|
1888
|
+
"wise_invoicing.delivery.errors.encryption_not_configured": string;
|
|
1889
|
+
"wise_invoicing.delivery.errors.issuer_company_mismatch": string;
|
|
1890
|
+
"wise_invoicing.delivery.errors.provider_not_configured": string;
|
|
1891
|
+
"wise_invoicing.delivery.errors.invalid_provider_response": string;
|
|
1892
|
+
"wise_invoicing.delivery.settings.company_option": string;
|
|
1837
1893
|
};
|
|
1838
1894
|
}, {}, {}, string, false>;
|
|
1839
1895
|
export {};
|
|
@@ -12,6 +12,7 @@ declare const _default: {
|
|
|
12
12
|
"wise_invoicing.common.yes": "Yes",
|
|
13
13
|
"wise_invoicing.custom_field.date.infinity": "∞",
|
|
14
14
|
"wise_invoicing.custom_field.date.negative_infinity": "-∞",
|
|
15
|
+
"wise_invoicing.custom_field.reference.open": "Open {label}",
|
|
15
16
|
"wise_invoicing.customer_invoice_list.title": "Invoices",
|
|
16
17
|
"wise_invoicing.customer_invoice_list.empty_state.title": "No invoices found",
|
|
17
18
|
"wise_invoicing.customer_invoice_list.empty_state.description": "This customer has no invoices yet.",
|
|
@@ -305,6 +306,7 @@ declare const _default: {
|
|
|
305
306
|
"wise_invoicing.invoice.detail.line_items.collapse_all_groups": "Collapse all groups",
|
|
306
307
|
"wise_invoicing.invoice.detail.line_items.expand_all_groups": "Expand all groups",
|
|
307
308
|
"wise_invoicing.invoice.detail.line_items.group_actions": "Group actions",
|
|
309
|
+
"wise_invoicing.invoice.detail.line_items.line_actions": "Line actions",
|
|
308
310
|
"wise_invoicing.invoice.detail.line_items.group_total_breakdown": "How this total is made up",
|
|
309
311
|
"wise_invoicing.invoice.detail.line_items.group_subgroup_count": "{count} subgroup | {count} subgroups",
|
|
310
312
|
"wise_invoicing.invoice.detail.line_items.indent_row": "Move into group above",
|
|
@@ -338,6 +340,8 @@ declare const _default: {
|
|
|
338
340
|
"wise_invoicing.invoice.detail.totals.vat_rounding_tooltip": "VAT calculated and rounded over total amount",
|
|
339
341
|
"wise_invoicing.invoice.detail.totals.total_discount": "Total discount excl. VAT",
|
|
340
342
|
"wise_invoicing.invoice.detail.totals.total_incl_vat": "Total incl. VAT",
|
|
343
|
+
"wise_invoicing.invoice.detail.totals.advance_payment": "Advance payment",
|
|
344
|
+
"wise_invoicing.invoice.detail.totals.amount_due": "Amount due",
|
|
341
345
|
"wise_invoicing.invoice.detail.budgets.title": "Linked budgets",
|
|
342
346
|
"wise_invoicing.invoice.detail.budgets.budget": "Budget",
|
|
343
347
|
"wise_invoicing.invoice.detail.budgets.invoiced_without_vat": "Invoiced (without VAT)",
|
|
@@ -911,7 +915,31 @@ declare const _default: {
|
|
|
911
915
|
"wise_invoicing.invoice.approval_archive.title": "Archive this approval request?",
|
|
912
916
|
"wise_invoicing.invoice.approval_archive.description": "The approval request is stopped and no more reminders are sent. The invoice itself is not deleted.",
|
|
913
917
|
"wise_invoicing.invoice.approval_archive.submit": "Archive",
|
|
914
|
-
"wise_invoicing.invoice.approval_archive.success": "Approval request archived."
|
|
918
|
+
"wise_invoicing.invoice.approval_archive.success": "Approval request archived.",
|
|
919
|
+
"wise_invoicing.delivery.settings.title": "Peppol integration",
|
|
920
|
+
"wise_invoicing.delivery.settings.description": "Choose the provider used to send your company’s invoices and credit notes over Peppol.",
|
|
921
|
+
"wise_invoicing.delivery.settings.saved": "Peppol settings saved.",
|
|
922
|
+
"wise_invoicing.delivery.settings.provider": "Provider",
|
|
923
|
+
"wise_invoicing.delivery.settings.api_key": "API key",
|
|
924
|
+
"wise_invoicing.delivery.settings.key_saved": "A key is saved. Leave blank to keep it, or enter a replacement.",
|
|
925
|
+
"wise_invoicing.delivery.settings.key_hint": "The key is encrypted and will never be displayed after saving.",
|
|
926
|
+
"wise_invoicing.delivery.settings.test": "Test access and load companies",
|
|
927
|
+
"wise_invoicing.delivery.settings.test_success": "Access verified. Select the company matching your issuer VAT number.",
|
|
928
|
+
"wise_invoicing.delivery.settings.company": "Company",
|
|
929
|
+
"wise_invoicing.delivery.settings.enabled": "Enable Peppol sending",
|
|
930
|
+
"wise_invoicing.delivery.provider.soluz": "Soluz",
|
|
931
|
+
"wise_invoicing.delivery.errors.generic": "The connection could not be saved. Check the provider and company details.",
|
|
932
|
+
"wise_invoicing.delivery.errors.provider_unavailable": "The provider is unavailable. Try again later.",
|
|
933
|
+
"wise_invoicing.delivery.errors.provider_http_401": "The provider rejected the API key. Update it in Peppol settings.",
|
|
934
|
+
"wise_invoicing.delivery.errors.provider_http_403": "The API key cannot access this company. Check your Peppol settings.",
|
|
935
|
+
"wise_invoicing.delivery.errors.provider_http_429": "The provider rate limit was reached. Retry later.",
|
|
936
|
+
"wise_invoicing.delivery.errors.api_key_required": "Enter an API key for the selected provider.",
|
|
937
|
+
"wise_invoicing.delivery.errors.credential_unavailable": "The saved API key could not be read. Ask an administrator to restore the encryption key or save a new API key.",
|
|
938
|
+
"wise_invoicing.delivery.errors.encryption_not_configured": "Peppol encryption is not configured. Contact your administrator.",
|
|
939
|
+
"wise_invoicing.delivery.errors.issuer_company_mismatch": "Choose a provider company with the same VAT number as the invoice issuer.",
|
|
940
|
+
"wise_invoicing.delivery.errors.provider_not_configured": "The Peppol provider is not configured. Contact your administrator.",
|
|
941
|
+
"wise_invoicing.delivery.errors.invalid_provider_response": "The provider returned an unexpected response. Try again later.",
|
|
942
|
+
"wise_invoicing.delivery.settings.company_option": "{name} ({vatNumber})"
|
|
915
943
|
}
|
|
916
944
|
;
|
|
917
945
|
|
|
@@ -12,6 +12,7 @@ declare const _default: {
|
|
|
12
12
|
"wise_invoicing.common.yes": "Ja",
|
|
13
13
|
"wise_invoicing.custom_field.date.infinity": "∞",
|
|
14
14
|
"wise_invoicing.custom_field.date.negative_infinity": "-∞",
|
|
15
|
+
"wise_invoicing.custom_field.reference.open": "{label} openen",
|
|
15
16
|
"wise_invoicing.customer_invoice_list.title": "Facturen",
|
|
16
17
|
"wise_invoicing.customer_invoice_list.empty_state.title": "Geen facturen gevonden",
|
|
17
18
|
"wise_invoicing.customer_invoice_list.empty_state.description": "Deze klant heeft nog geen facturen.",
|
|
@@ -305,6 +306,7 @@ declare const _default: {
|
|
|
305
306
|
"wise_invoicing.invoice.detail.line_items.collapse_all_groups": "Alle groepen inklappen",
|
|
306
307
|
"wise_invoicing.invoice.detail.line_items.expand_all_groups": "Alle groepen uitklappen",
|
|
307
308
|
"wise_invoicing.invoice.detail.line_items.group_actions": "Groepsacties",
|
|
309
|
+
"wise_invoicing.invoice.detail.line_items.line_actions": "Lijnacties",
|
|
308
310
|
"wise_invoicing.invoice.detail.line_items.group_total_breakdown": "Opbouw van dit totaal",
|
|
309
311
|
"wise_invoicing.invoice.detail.line_items.group_subgroup_count": "{count} subgroep | {count} subgroepen",
|
|
310
312
|
"wise_invoicing.invoice.detail.line_items.indent_row": "Naar groep erboven verplaatsen",
|
|
@@ -338,6 +340,8 @@ declare const _default: {
|
|
|
338
340
|
"wise_invoicing.invoice.detail.totals.vat_rounding_tooltip": "Btw berekend en afgerond over het totaalbedrag",
|
|
339
341
|
"wise_invoicing.invoice.detail.totals.total_discount": "Totale korting excl. BTW",
|
|
340
342
|
"wise_invoicing.invoice.detail.totals.total_incl_vat": "Totaal incl. BTW",
|
|
343
|
+
"wise_invoicing.invoice.detail.totals.advance_payment": "Voorschot",
|
|
344
|
+
"wise_invoicing.invoice.detail.totals.amount_due": "Te betalen",
|
|
341
345
|
"wise_invoicing.invoice.detail.budgets.title": "Gekoppelde budgetten",
|
|
342
346
|
"wise_invoicing.invoice.detail.budgets.budget": "Budget",
|
|
343
347
|
"wise_invoicing.invoice.detail.budgets.invoiced_without_vat": "Gefactureerd (zonder BTW)",
|
|
@@ -911,7 +915,31 @@ declare const _default: {
|
|
|
911
915
|
"wise_invoicing.invoice.approval_archive.title": "Deze goedkeuringsaanvraag archiveren?",
|
|
912
916
|
"wise_invoicing.invoice.approval_archive.description": "De goedkeuringsaanvraag wordt stopgezet en er worden geen herinneringen meer verstuurd. De factuur zelf wordt niet verwijderd.",
|
|
913
917
|
"wise_invoicing.invoice.approval_archive.submit": "Archiveren",
|
|
914
|
-
"wise_invoicing.invoice.approval_archive.success": "Goedkeuringsaanvraag gearchiveerd."
|
|
918
|
+
"wise_invoicing.invoice.approval_archive.success": "Goedkeuringsaanvraag gearchiveerd.",
|
|
919
|
+
"wise_invoicing.delivery.settings.title": "Peppol-integratie",
|
|
920
|
+
"wise_invoicing.delivery.settings.description": "Kies de provider waarmee je bedrijf facturen en creditnota’s via Peppol verstuurt.",
|
|
921
|
+
"wise_invoicing.delivery.settings.saved": "Peppol-instellingen opgeslagen.",
|
|
922
|
+
"wise_invoicing.delivery.settings.provider": "Provider",
|
|
923
|
+
"wise_invoicing.delivery.settings.api_key": "API-sleutel",
|
|
924
|
+
"wise_invoicing.delivery.settings.key_saved": "Er is een sleutel opgeslagen. Laat leeg om die te behouden of vul een nieuwe in.",
|
|
925
|
+
"wise_invoicing.delivery.settings.key_hint": "De sleutel wordt versleuteld opgeslagen en na het opslaan nooit weergegeven.",
|
|
926
|
+
"wise_invoicing.delivery.settings.test": "Toegang testen en bedrijven laden",
|
|
927
|
+
"wise_invoicing.delivery.settings.test_success": "Toegang bevestigd. Selecteer het bedrijf met het btw-nummer van je facturatiegegevens.",
|
|
928
|
+
"wise_invoicing.delivery.settings.company": "Bedrijf",
|
|
929
|
+
"wise_invoicing.delivery.settings.enabled": "Verzenden via Peppol inschakelen",
|
|
930
|
+
"wise_invoicing.delivery.provider.soluz": "Soluz",
|
|
931
|
+
"wise_invoicing.delivery.errors.generic": "De verbinding kon niet worden opgeslagen. Controleer de provider en bedrijfsgegevens.",
|
|
932
|
+
"wise_invoicing.delivery.errors.provider_unavailable": "De provider is niet beschikbaar. Probeer het later opnieuw.",
|
|
933
|
+
"wise_invoicing.delivery.errors.provider_http_401": "De provider heeft de API-sleutel geweigerd. Werk deze bij in de Peppol-instellingen.",
|
|
934
|
+
"wise_invoicing.delivery.errors.provider_http_403": "De API-sleutel heeft geen toegang tot dit bedrijf. Controleer je Peppol-instellingen.",
|
|
935
|
+
"wise_invoicing.delivery.errors.provider_http_429": "De limiet van de provider is bereikt. Probeer later opnieuw.",
|
|
936
|
+
"wise_invoicing.delivery.errors.api_key_required": "Voer een API-sleutel in voor de gekozen provider.",
|
|
937
|
+
"wise_invoicing.delivery.errors.credential_unavailable": "De opgeslagen API-sleutel kon niet worden gelezen. Vraag een beheerder de encryptiesleutel te herstellen of een nieuwe API-sleutel op te slaan.",
|
|
938
|
+
"wise_invoicing.delivery.errors.encryption_not_configured": "Peppol-encryptie is niet ingesteld. Neem contact op met je beheerder.",
|
|
939
|
+
"wise_invoicing.delivery.errors.issuer_company_mismatch": "Kies een bedrijf bij de provider met hetzelfde btw-nummer als de factuuruitgever.",
|
|
940
|
+
"wise_invoicing.delivery.errors.provider_not_configured": "De Peppol-provider is niet ingesteld. Neem contact op met uw beheerder.",
|
|
941
|
+
"wise_invoicing.delivery.errors.invalid_provider_response": "De provider gaf een onverwacht antwoord. Probeer het later opnieuw.",
|
|
942
|
+
"wise_invoicing.delivery.settings.company_option": "{name} ({vatNumber})"
|
|
915
943
|
}
|
|
916
944
|
;
|
|
917
945
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Monetary } from '../../utils/monetary/monetary.model.ts';
|
|
2
|
+
export declare class BillingDocumentAdvancePaymentUtil {
|
|
3
|
+
/**
|
|
4
|
+
* The gross amount minus the advance payments, in the precision of the gross amount.
|
|
5
|
+
* Computed here instead of using the API's `amountDue`: once the invoice is finalized
|
|
6
|
+
* that becomes the live balance, which also deducts later payments and credit notes.
|
|
7
|
+
*/
|
|
8
|
+
static getAmountAfterAdvance(grossAmount: Monetary, advancePaymentAmount: Monetary): Monetary;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -92,6 +92,7 @@ export interface BillingDocumentDetail<TUuid extends string, TType extends Invoi
|
|
|
92
92
|
isDisputed: boolean;
|
|
93
93
|
isOverdue: boolean;
|
|
94
94
|
issuer: BillingDocumentIssuer;
|
|
95
|
+
advancePaymentAmount: Monetary | null;
|
|
95
96
|
approvalProofs: FileReference[];
|
|
96
97
|
attachments: FileReference[];
|
|
97
98
|
balanceDueAmount: Monetary | null;
|
|
@@ -2,7 +2,6 @@ import { CustomFieldDefinition } from '../models/custom-field-definition/customF
|
|
|
2
2
|
import { CustomFieldValue } from '../models/custom-field-value/customFieldValue.model.ts';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
definitions: CustomFieldDefinition[];
|
|
5
|
-
layout?: 'column' | 'row';
|
|
6
5
|
values: CustomFieldValue[];
|
|
7
6
|
};
|
|
8
7
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|