@tesouro/embedded-components-react 0.5.279 → 0.5.281
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/index.css +8 -0
- package/dist/index.d.ts +23 -8
- package/dist/lib/BankAccountOnboardingWidget.d.ts +2 -2
- package/dist/lib/ReceivablesWidget.d.ts +21 -6
- package/dist/lib/WidgetSuite.d.ts +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/labels.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index18.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index13.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index14.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index15.js +8 -160
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index16.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index17.js +148 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index18.js +21 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index19.js +37 -79
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index20.js +98 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index21.js +83 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +3 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js +54 -184
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index24.js +108 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +181 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +74 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +27 -412
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index29.js +413 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index30.js +13 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +77 -226
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +78 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index33.js +216 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index34.js +44 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +233 -611
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index37.js +647 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index38.js +4 -243
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index39.js +42 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +250 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +2 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index42.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index43.js +67 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index12.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +47 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/reconcileCancelledPaymentQueries.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetNative/BillsTab.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/data-access/dist/index4.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +14 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +24 -168
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +173 -44
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +42 -94
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index13.js +91 -76
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index14.js +67 -173
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index15.js +186 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index16.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +42 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +28 -132
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +137 -16
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +16 -62
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +66 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +28 -34
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivableAttachmentsSection.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivableCustomerSection.js +38 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +304 -287
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/auditHistory/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/customer.js +58 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/paymentTerms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/permissions.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/preview.js +62 -62
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +41 -35
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/reminders.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/totals.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +124 -124
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableCustomerPicker.js +109 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +520 -476
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableIssuePreflight.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentTerms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePreview.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableRecurrence.js +92 -77
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +79 -75
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useSendReceivableWithPaymentLink.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +26 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +9 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +26 -228
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +227 -52
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +50 -212
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +193 -138
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +157 -12
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +2 -116
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +118 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +3 -39
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +209 -53
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +36 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +53 -77
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +17 -35
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +8 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +73 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +39 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +26 -33
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +34 -84
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +14 -492
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +79 -39
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +490 -68
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +2 -487
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +41 -217
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +70 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +440 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index45.js +224 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +21 -263
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index49.js +261 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +2 -237
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +100 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index52.js +21 -242
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index53.js +226 -82
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index54.js +3 -60
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index55.js +233 -178
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index56.js +85 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index57.js +60 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index58.js +194 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index59.js +45 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/CounterpartSelector.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +2 -51
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index15.js +4 -80
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index2.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/labels.js +2 -2
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index48.js +0 -100
|
@@ -9,7 +9,7 @@ import { useAnalyticsTrack as n } from "../../../../../shared/feature/dist/lib/a
|
|
|
9
9
|
import { useRefetchWidget as r, useWidgetConfig as i, useWidgetError as ee, useWidgetInitStaleForToken as te, useWidgetLoading as ne } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
10
10
|
import "../../../../../shared/feature/dist/index.js";
|
|
11
11
|
import { ReceivablesWidgetAnalyticsEvent as re } from "./analytics/events.js";
|
|
12
|
-
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as ie } from "../../../../ui/dist/
|
|
12
|
+
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as ie } from "../../../../ui/dist/index14.js";
|
|
13
13
|
import "../../../../ui/dist/index.js";
|
|
14
14
|
import { hasSelectedText as ae } from "../../../../../shared/product-catalog/feature/dist/lib/helpers.js";
|
|
15
15
|
import "../../../../../shared/product-catalog/feature/dist/index.js";
|
|
@@ -37,11 +37,11 @@ function u({ auditHistoryLabels: u, counterpartMessageLabels: he, embeddedBankNa
|
|
|
37
37
|
...k
|
|
38
38
|
}), [k]), [j, M] = l(), [N, P] = l(!1), [F, Te] = l(j);
|
|
39
39
|
j && j !== F && Te(j);
|
|
40
|
-
let [I, L] = l(!1), [Ee, R] = l(),
|
|
40
|
+
let [I, L] = l(!1), [Ee, R] = l(), z = e(_?.scopes, [t.CounterpartReadOrg]), De = a(() => R(void 0), []), [B, V] = l(!1), Oe = a(() => V(!0), []), H = a(() => V(!1), []), ke = a((e, t) => {
|
|
41
41
|
M(e), P(!0), h?.(e, t);
|
|
42
|
-
}, [h]),
|
|
42
|
+
}, [h]), U = de({ messages: O }), W = U.open, Ae = a((e, t, n) => {
|
|
43
43
|
let r = oe(n);
|
|
44
|
-
r.openDetails && (M(e), P(!0)), r.actionsModal &&
|
|
44
|
+
r.openDetails && (M(e), P(!0)), r.actionsModal && W({
|
|
45
45
|
action: n.mode,
|
|
46
46
|
receivableId: e,
|
|
47
47
|
documentType: t,
|
|
@@ -49,7 +49,7 @@ function u({ auditHistoryLabels: u, counterpartMessageLabels: he, embeddedBankNa
|
|
|
49
49
|
inlineItems: n.inlineItems,
|
|
50
50
|
showEmailStep: r.actionsModal.showEmailStep
|
|
51
51
|
}), h?.(e, t);
|
|
52
|
-
}, [h,
|
|
52
|
+
}, [h, W]), G = me({
|
|
53
53
|
initialCounterpartId: p === "create" ? void 0 : f,
|
|
54
54
|
messages: O,
|
|
55
55
|
statusLabels: A,
|
|
@@ -57,20 +57,20 @@ function u({ auditHistoryLabels: u, counterpartMessageLabels: he, embeddedBankNa
|
|
|
57
57
|
pageSizeOptions: ve,
|
|
58
58
|
enabled: w,
|
|
59
59
|
visible: S
|
|
60
|
-
}),
|
|
60
|
+
}), je = a((e) => {
|
|
61
61
|
M(e), P(!0), g?.(e, "invoice");
|
|
62
|
-
}, [g]),
|
|
62
|
+
}, [g]), K = fe({
|
|
63
63
|
selectedReceivableId: j,
|
|
64
64
|
enabled: N && w,
|
|
65
65
|
canWrite: C,
|
|
66
66
|
messages: O,
|
|
67
67
|
statusLabels: A,
|
|
68
68
|
auditHistoryLabels: u,
|
|
69
|
-
onOpenReceivable:
|
|
70
|
-
onOpenCustomer:
|
|
71
|
-
}),
|
|
72
|
-
let r = n.mode === "issue", i = r &&
|
|
73
|
-
(i || n.inlineItems.length !== 0) &&
|
|
69
|
+
onOpenReceivable: je,
|
|
70
|
+
onOpenCustomer: z ? R : void 0
|
|
71
|
+
}), q = c("edit"), Me = a((e, t, n) => {
|
|
72
|
+
let r = n.mode === "issue", i = r && q.current !== "issue" && n.hasCustomerEmail;
|
|
73
|
+
(i || n.inlineItems.length !== 0) && W({
|
|
74
74
|
action: r || n.mode === "recurrence" ? n.mode : "update",
|
|
75
75
|
receivableId: e,
|
|
76
76
|
documentType: t,
|
|
@@ -78,35 +78,36 @@ function u({ auditHistoryLabels: u, counterpartMessageLabels: he, embeddedBankNa
|
|
|
78
78
|
inlineItems: n.inlineItems,
|
|
79
79
|
showEmailStep: i
|
|
80
80
|
});
|
|
81
|
-
}, [
|
|
81
|
+
}, [W]), J = pe({
|
|
82
82
|
messages: O,
|
|
83
83
|
counterpartMessageLabels: he,
|
|
84
84
|
embeddedBankName: ge,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
canCreateCustomer: x.canCreateCustomer,
|
|
86
|
+
onCreated: Ae,
|
|
87
|
+
onUpdated: Me
|
|
88
|
+
}), Ne = a(() => {
|
|
89
|
+
T && J.openCreate("invoice");
|
|
90
|
+
}, [T, J.openCreate]), Y = c(!1);
|
|
90
91
|
o(() => {
|
|
91
|
-
|
|
92
|
+
Y.current || p === "create" && T && (Y.current = !0, J.openCreate("invoice", { customerId: f }));
|
|
92
93
|
}, [
|
|
93
94
|
T,
|
|
94
|
-
|
|
95
|
+
J.openCreate,
|
|
95
96
|
f,
|
|
96
97
|
p
|
|
97
98
|
]);
|
|
98
|
-
let
|
|
99
|
-
selectedReceivable:
|
|
100
|
-
selectedRecurrence:
|
|
99
|
+
let X = ue({
|
|
100
|
+
selectedReceivable: K.receivable,
|
|
101
|
+
selectedRecurrence: K.recurrence,
|
|
101
102
|
messages: O,
|
|
102
|
-
onCreated:
|
|
103
|
+
onCreated: ke,
|
|
103
104
|
onDeleted: (e) => {
|
|
104
105
|
e === j && (M(void 0), P(!1));
|
|
105
106
|
},
|
|
106
107
|
onCompleteBeforeIssue: (e, t) => {
|
|
107
|
-
|
|
108
|
+
q.current = t, J.openEdit(e, { highlightForIssue: !0 }), N && L(!0), P(!1);
|
|
108
109
|
},
|
|
109
|
-
onIssuedForSend: (e, t) =>
|
|
110
|
+
onIssuedForSend: (e, t) => W({
|
|
110
111
|
action: "issue",
|
|
111
112
|
receivableId: e,
|
|
112
113
|
documentType: "invoice",
|
|
@@ -116,23 +117,23 @@ function u({ auditHistoryLabels: u, counterpartMessageLabels: he, embeddedBankNa
|
|
|
116
117
|
})
|
|
117
118
|
});
|
|
118
119
|
o(() => {
|
|
119
|
-
|
|
120
|
-
}, [
|
|
121
|
-
!
|
|
122
|
-
}, [
|
|
123
|
-
let
|
|
120
|
+
J.open || (q.current = "edit");
|
|
121
|
+
}, [J.open]), o(() => {
|
|
122
|
+
!J.open && I && (L(!1), P(!0));
|
|
123
|
+
}, [J.open, I]);
|
|
124
|
+
let Z = b && !x.canWrite, Pe = J.open || J.counterpartView !== "none" || !!X.actionTarget || X.sendOpen || X.payment.isOpen || U.isOpen || B, Fe = J.close, Ie = J.counterpartForm.close, { closeAction: Le, closeSend: Re } = X, Q = X.payment.close, $ = U.close;
|
|
124
125
|
o(() => {
|
|
125
|
-
|
|
126
|
+
Z && Pe && (Fe(), Ie(), Le(), Re(), Q(), $(), H());
|
|
126
127
|
}, [
|
|
127
128
|
Le,
|
|
128
129
|
$,
|
|
129
130
|
Ie,
|
|
130
131
|
Fe,
|
|
131
|
-
|
|
132
|
+
H,
|
|
132
133
|
Q,
|
|
133
134
|
Re,
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
Pe,
|
|
136
|
+
Z
|
|
136
137
|
]);
|
|
137
138
|
let ze = a((e) => {
|
|
138
139
|
ae() || (M(e.id), P(!0), g?.(e.id, e.type));
|
|
@@ -141,20 +142,20 @@ function u({ auditHistoryLabels: u, counterpartMessageLabels: he, embeddedBankNa
|
|
|
141
142
|
}, []), Ve = a((e, t) => {
|
|
142
143
|
if (T) {
|
|
143
144
|
if (e === "edit") {
|
|
144
|
-
|
|
145
|
+
K.receivable && (q.current = "edit", J.openEdit(K.receivable), L(!0), P(!1));
|
|
145
146
|
return;
|
|
146
147
|
}
|
|
147
|
-
|
|
148
|
+
X.openAction(e, {
|
|
148
149
|
id: t.id,
|
|
149
|
-
title:
|
|
150
|
+
title: K.receivable ? se(K.receivable, O) : t.title,
|
|
150
151
|
type: t.type
|
|
151
|
-
},
|
|
152
|
+
}, K.receivable ?? null);
|
|
152
153
|
}
|
|
153
154
|
}, [
|
|
154
|
-
|
|
155
|
+
X,
|
|
155
156
|
T,
|
|
156
|
-
|
|
157
|
-
|
|
157
|
+
K.receivable,
|
|
158
|
+
J.openEdit,
|
|
158
159
|
O
|
|
159
160
|
]);
|
|
160
161
|
return {
|
|
@@ -162,56 +163,59 @@ function u({ auditHistoryLabels: u, counterpartMessageLabels: he, embeddedBankNa
|
|
|
162
163
|
canEditSettings: S && x.canEditSettings,
|
|
163
164
|
actionsSuspended: we,
|
|
164
165
|
isAccessRestricted: b && !x.canRead,
|
|
165
|
-
table: S ?
|
|
166
|
-
...
|
|
166
|
+
table: S ? G : {
|
|
167
|
+
...G,
|
|
167
168
|
rows: [],
|
|
168
169
|
statusCards: void 0,
|
|
169
170
|
isError: !1
|
|
170
171
|
},
|
|
171
|
-
isTableLoading: S ?
|
|
172
|
-
isError: E || S &&
|
|
173
|
-
onRetry: E ? Ce :
|
|
174
|
-
details:
|
|
172
|
+
isTableLoading: S ? G.isLoading || D && G.rows.length === 0 : D,
|
|
173
|
+
isError: E || S && G.isError,
|
|
174
|
+
onRetry: E ? Ce : G.onRetry,
|
|
175
|
+
details: K,
|
|
175
176
|
detailsOpen: N && S,
|
|
176
177
|
closeDetails: Be,
|
|
177
178
|
detailsPanelKey: F,
|
|
178
179
|
customerDetailsId: Ee,
|
|
179
|
-
closeCustomerDetails:
|
|
180
|
+
closeCustomerDetails: De,
|
|
181
|
+
openCustomerDetails: z ? R : void 0,
|
|
182
|
+
canCreateCustomer: x.canCreateCustomer,
|
|
183
|
+
messages: O,
|
|
180
184
|
form: {
|
|
181
|
-
...
|
|
182
|
-
open: C &&
|
|
183
|
-
counterpartView: C ?
|
|
185
|
+
...J,
|
|
186
|
+
open: C && J.open,
|
|
187
|
+
counterpartView: C ? J.counterpartView : "none",
|
|
184
188
|
counterpartForm: {
|
|
185
|
-
...
|
|
186
|
-
submit: d(T,
|
|
189
|
+
...J.counterpartForm,
|
|
190
|
+
submit: d(T, J.counterpartForm.submit)
|
|
187
191
|
},
|
|
188
|
-
submit: d(T,
|
|
189
|
-
submitDraft: d(T,
|
|
190
|
-
submitPrimary: d(T,
|
|
192
|
+
submit: d(T, J.submit),
|
|
193
|
+
submitDraft: d(T, J.submitDraft),
|
|
194
|
+
submitPrimary: d(T, J.submitPrimary)
|
|
191
195
|
},
|
|
192
|
-
openCreate:
|
|
193
|
-
measureUnitsOpen: C &&
|
|
194
|
-
openMeasureUnits:
|
|
195
|
-
closeMeasureUnits:
|
|
196
|
+
openCreate: Ne,
|
|
197
|
+
measureUnitsOpen: C && B,
|
|
198
|
+
openMeasureUnits: Oe,
|
|
199
|
+
closeMeasureUnits: H,
|
|
196
200
|
actions: {
|
|
197
|
-
...
|
|
198
|
-
actionDialog: C ?
|
|
199
|
-
sendOpen: C &&
|
|
200
|
-
openAction: d(T,
|
|
201
|
-
confirmAction: d(T,
|
|
202
|
-
submitSend: d(T,
|
|
201
|
+
...X,
|
|
202
|
+
actionDialog: C ? X.actionDialog : void 0,
|
|
203
|
+
sendOpen: C && X.sendOpen,
|
|
204
|
+
openAction: d(T, X.openAction),
|
|
205
|
+
confirmAction: d(T, X.confirmAction),
|
|
206
|
+
submitSend: d(T, X.submitSend),
|
|
203
207
|
payment: {
|
|
204
|
-
...
|
|
205
|
-
isOpen: C &&
|
|
206
|
-
save: d(T,
|
|
207
|
-
confirm: d(T,
|
|
208
|
+
...X.payment,
|
|
209
|
+
isOpen: C && X.payment.isOpen,
|
|
210
|
+
save: d(T, X.payment.save),
|
|
211
|
+
confirm: d(T, X.payment.confirm)
|
|
208
212
|
}
|
|
209
213
|
},
|
|
210
214
|
actionsModal: {
|
|
211
|
-
...
|
|
212
|
-
isOpen: C &&
|
|
213
|
-
send: d(T,
|
|
214
|
-
saveItems: d(T,
|
|
215
|
+
...U,
|
|
216
|
+
isOpen: C && U.isOpen,
|
|
217
|
+
send: d(T, U.send),
|
|
218
|
+
saveItems: d(T, U.saveItems)
|
|
215
219
|
},
|
|
216
220
|
handleRowClick: ze,
|
|
217
221
|
handleDetailsActionClick: Ve
|
|
@@ -10,9 +10,9 @@ import "../../../../../shared/data-access/dist/index.js";
|
|
|
10
10
|
import "../../../../../shared/ui/dist/index.js";
|
|
11
11
|
import { useWidgetConfig as i } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
12
12
|
import "../../../../../shared/feature/dist/index.js";
|
|
13
|
-
import { useEntityPaymentMethodsQuery as a } from "../../../../data-access/dist/
|
|
14
|
-
import { useCreatePaymentLinkMutation as o } from "../../../../data-access/dist/
|
|
15
|
-
import { useSendReceivableEmailMutation as s } from "../../../../data-access/dist/
|
|
13
|
+
import { useEntityPaymentMethodsQuery as a } from "../../../../data-access/dist/index5.js";
|
|
14
|
+
import { useCreatePaymentLinkMutation as o } from "../../../../data-access/dist/index7.js";
|
|
15
|
+
import { useSendReceivableEmailMutation as s } from "../../../../data-access/dist/index10.js";
|
|
16
16
|
import "../../../../data-access/dist/index.js";
|
|
17
17
|
import { getReceivePaymentMethods as c } from "./preview.js";
|
|
18
18
|
import { useCallback as l } from "react";
|
|
@@ -7,27 +7,30 @@ import { ReceivableActionsModal as n } from "./index9.js";
|
|
|
7
7
|
import "./index10.js";
|
|
8
8
|
import "./index11.js";
|
|
9
9
|
import "./index12.js";
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import "./index21.js";
|
|
10
|
+
import "./index13.js";
|
|
11
|
+
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as r } from "./index14.js";
|
|
12
|
+
import { ReceivableActionDialog as i } from "./index15.js";
|
|
13
|
+
import { ReceivableBankAccountSection as a } from "./index16.js";
|
|
14
|
+
import { ReceivableAttachmentsSection as o } from "./index17.js";
|
|
15
|
+
import { RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE as s, RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE as c } from "./index20.js";
|
|
16
|
+
import { ReceivableBillingSection as l } from "./index21.js";
|
|
17
17
|
import "./index22.js";
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import "./
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import "./
|
|
24
|
-
import {
|
|
25
|
-
import "./
|
|
26
|
-
import
|
|
27
|
-
import {
|
|
28
|
-
import "./
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import
|
|
32
|
-
import {
|
|
33
|
-
|
|
18
|
+
import { ReceivableCustomerSection as u } from "./index23.js";
|
|
19
|
+
import "./index24.js";
|
|
20
|
+
import "./index25.js";
|
|
21
|
+
import { RECEIVABLE_DETAILS_SECTION as d } from "./index28.js";
|
|
22
|
+
import { ReceivableDetailsPanel as f } from "./index40.js";
|
|
23
|
+
import "./index41.js";
|
|
24
|
+
import { ReceivableFormDialog as p } from "./index44.js";
|
|
25
|
+
import { ReceivablePaymentDialog as m } from "./index45.js";
|
|
26
|
+
import "./index46.js";
|
|
27
|
+
import { ReceivablePreview as h } from "./index49.js";
|
|
28
|
+
import "./index50.js";
|
|
29
|
+
import { ReceivableRecurrenceEmailDialog as g } from "./index51.js";
|
|
30
|
+
import { ReceivableRecurrenceSection as _ } from "./index53.js";
|
|
31
|
+
import "./index54.js";
|
|
32
|
+
import { ReceivableRemindersSection as v } from "./index55.js";
|
|
33
|
+
import { ReceivableSendDialog as y } from "./index56.js";
|
|
34
|
+
import { ReceivablesScreen as b } from "./index58.js";
|
|
35
|
+
import { UnsavedInvoiceDialog as x } from "./index59.js";
|
|
36
|
+
export { t as InvoicesFilterBar, e as InvoicesFilterField, d as RECEIVABLE_DETAILS_SECTION, s as RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE, c as RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE, r as RECEIVABLE_STATUS_BADGE_LABELS_EN, i as ReceivableActionDialog, n as ReceivableActionsModal, o as ReceivableAttachmentsSection, a as ReceivableBankAccountSection, l as ReceivableBillingSection, u as ReceivableCustomerSection, f as ReceivableDetailsPanel, p as ReceivableFormDialog, m as ReceivablePaymentDialog, h as ReceivablePreview, g as ReceivableRecurrenceEmailDialog, _ as ReceivableRecurrenceSection, v as ReceivableRemindersSection, y as ReceivableSendDialog, b as ReceivablesScreen, x as UnsavedInvoiceDialog };
|
|
@@ -1,29 +1,13 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js
|
|
2
2
|
var e = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
recurrenceCreationModeQuestion: "When an invoice in the series is created, what should happen?",
|
|
12
|
-
recurrenceCreationModeHint: "(You can change this at any time)",
|
|
13
|
-
recurrenceSetUpEmail: "Set up the email"
|
|
14
|
-
}, t = {
|
|
15
|
-
recurrenceEmailTitle: "Email sent with each invoice",
|
|
16
|
-
recurrenceEmailDescription: "The same recipients, subject, and message are used for every invoice in the series.",
|
|
17
|
-
recurrenceEmailTo: "To",
|
|
18
|
-
recurrenceEmailCc: "Cc",
|
|
19
|
-
recurrenceEmailBcc: "Bcc",
|
|
20
|
-
recurrenceEmailSubject: "Subject",
|
|
21
|
-
recurrenceEmailMessage: "Message",
|
|
22
|
-
recurrenceEmailRecipientPlaceholder: "name@example.com",
|
|
23
|
-
recurrenceEmailMessagePlaceholder: "e.g., Thank you for your business",
|
|
24
|
-
recurrenceEmailFootnote: "Each invoice is finalized and emailed automatically on its schedule.",
|
|
25
|
-
recurrenceEmailCancel: "Cancel",
|
|
26
|
-
recurrenceEmailSave: "Save"
|
|
3
|
+
customerHeading: "Customer details",
|
|
4
|
+
customerDescription: "Who are you billing?",
|
|
5
|
+
customerNameLabel: "Name",
|
|
6
|
+
customerListToggleButton: "Show customers",
|
|
7
|
+
customerEmailLabel: "Email",
|
|
8
|
+
addCustomerDetailsButton: "Add more details including address, phone, etc.",
|
|
9
|
+
viewCustomerDetailsButton: "View details",
|
|
10
|
+
clearCustomerButton: "Clear"
|
|
27
11
|
};
|
|
28
12
|
//#endregion
|
|
29
|
-
export {
|
|
13
|
+
export { e as RECEIVABLE_CUSTOMER_SECTION_LABELS_EN };
|
|
@@ -1,231 +1,29 @@
|
|
|
1
|
-
import { RECEIVABLE_BILLING_SECTION_LABELS_EN as e } from "./index11.js";
|
|
2
|
-
import { RECEIVABLE_RECURRENCE_EMAIL_DIALOG_LABELS_EN as t, RECEIVABLE_RECURRENCE_SECTION_LABELS_EN as n } from "./index12.js";
|
|
3
1
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
columnIssueDate: "Issue date",
|
|
30
|
-
columnAmount: "Amount",
|
|
31
|
-
openRow: (e) => `View invoice — ${e}`,
|
|
32
|
-
sortByDueDate: "Sort by due date",
|
|
33
|
-
sortByStatus: "Sort by status",
|
|
34
|
-
sortByNumber: "Sort by number",
|
|
35
|
-
sortByIssueDate: "Sort by issue date",
|
|
36
|
-
sortByAmount: "Sort by amount",
|
|
37
|
-
emptyTitle: "No Invoices",
|
|
38
|
-
emptyDescription: "You don’t have any invoices yet.",
|
|
39
|
-
filterEmptyTitle: "No Invoices Found",
|
|
40
|
-
errorTitle: "Failed to load Invoices",
|
|
41
|
-
errorDescription: "There was an error loading invoices.",
|
|
42
|
-
errorRetry: "Reload",
|
|
43
|
-
accessRestrictedTitle: "Access Restricted",
|
|
44
|
-
accessRestrictedDescription: "You don’t have permissions to view this page. Contact your system administrator for details.",
|
|
45
|
-
statusBadge: r
|
|
46
|
-
}, o = {
|
|
47
|
-
unsavedTitle: "Save this invoice as a draft?",
|
|
48
|
-
unsavedDescription: "This invoice has changes that have not been saved. Save it as a draft to finish later, or discard the changes.",
|
|
49
|
-
unsavedDiscardButton: "Discard changes",
|
|
50
|
-
unsavedSaveDraftButton: "Save as draft",
|
|
51
|
-
unsavedCloseButton: "Close"
|
|
52
|
-
}, s = {
|
|
53
|
-
...e,
|
|
54
|
-
...n,
|
|
55
|
-
...t,
|
|
56
|
-
...o,
|
|
57
|
-
createTitle: "Create invoice",
|
|
58
|
-
createDescription: "Create and issue an invoice to your customers",
|
|
59
|
-
editTitle: "Edit invoice",
|
|
60
|
-
editDescription: "Invoice details",
|
|
61
|
-
closeButton: "Close",
|
|
62
|
-
customerHeading: "Customer details",
|
|
63
|
-
customerDescription: "Who are you billing?",
|
|
64
|
-
customerEmailLabel: "Email",
|
|
65
|
-
addCustomerDetailsButton: "Add more details including address, phone, etc.",
|
|
66
|
-
dueDateLabel: "Due date",
|
|
67
|
-
lineItemsHeading: "Products and services",
|
|
68
|
-
lineItemsDescription: "Add the products and services on this invoice. You'll have the option to save new items to your inventory.",
|
|
69
|
-
productLabel: "Item name",
|
|
70
|
-
quantityLabel: "Quantity",
|
|
71
|
-
unitLabel: "Units",
|
|
72
|
-
unitPlaceholder: "Select",
|
|
73
|
-
unitNone: "None",
|
|
74
|
-
manageUnitsOption: "Manage measure units",
|
|
75
|
-
priceLabel: "Price",
|
|
76
|
-
taxableLabel: "Taxable",
|
|
77
|
-
taxRateLabel: "Tax rate",
|
|
78
|
-
taxRatePlaceholder: "e.g. 6.25",
|
|
79
|
-
taxRateSuffix: "%",
|
|
80
|
-
discountLabel: "Discount",
|
|
81
|
-
discountPercentageOption: "%",
|
|
82
|
-
discountAmountOptionAriaLabel: "Flat discount",
|
|
83
|
-
discountPercentageOptionAriaLabel: "Percentage discount",
|
|
84
|
-
subtotalLabel: "Subtotal",
|
|
85
|
-
discountTotalLabel: "Discount",
|
|
86
|
-
nonTaxableSubtotalLabel: "Non-taxable subtotal",
|
|
87
|
-
taxableSubtotalLabel: "Taxable subtotal",
|
|
88
|
-
taxTotalLabel: "Tax",
|
|
89
|
-
totalLabel: "Total",
|
|
90
|
-
decreaseQuantityButton: "Decrease quantity",
|
|
91
|
-
increaseQuantityButton: "Increase quantity",
|
|
92
|
-
addLineItemButton: "Add item",
|
|
93
|
-
removeLineItemButton: "Remove line item",
|
|
94
|
-
cancelButton: "Cancel",
|
|
95
|
-
notesHeading: "Notes",
|
|
96
|
-
notesDescription: "Provide additional information for your customer.",
|
|
97
|
-
optionalSuffix: "(optional)",
|
|
98
|
-
openingNoteLabel: "Opening note to the customer",
|
|
99
|
-
openingNotePlaceholder: "e.g., As discussed on our call, please find the attached invoice.",
|
|
100
|
-
openingNoteDescription: "Appears above your line items. Use it to reference a discussion, agreement, or project.",
|
|
101
|
-
closingNoteLabel: "Closing note to the customer",
|
|
102
|
-
closingNotePlaceholder: "e.g., Thank you for your business!",
|
|
103
|
-
closingNoteDescription: "Appears below your line items. Commonly used for thank you messages or payment instructions.",
|
|
104
|
-
bankAccountHeading: "Payment instructions",
|
|
105
|
-
bankAccountDescription: "Tells the customer how they can pay you. We'll include the selected info on the invoice",
|
|
106
|
-
bankAccountLabel: "Bank account",
|
|
107
|
-
bankAccountHint: "Display your bank account number and routing number",
|
|
108
|
-
bankAccountSelectorLabel: "Bank account selector",
|
|
109
|
-
bankAccountPlaceholder: "Select bank account",
|
|
110
|
-
bankAccountAddOption: "Add a new account",
|
|
111
|
-
bankAccountFormHeading: "Add a bank account",
|
|
112
|
-
bankAccountRoutingNumberLabel: "Routing number",
|
|
113
|
-
bankAccountRoutingNumberPlaceholder: "e.g. 123456789",
|
|
114
|
-
bankAccountAccountNumberLabel: "Account number",
|
|
115
|
-
bankAccountAccountNumberPlaceholder: "e.g. 123456789",
|
|
116
|
-
bankAccountHolderNameLabel: "Account holder name",
|
|
117
|
-
bankAccountHolderNamePlaceholder: "e.g. James Smith",
|
|
118
|
-
bankAccountNicknameLabel: "Account nickname",
|
|
119
|
-
bankAccountNicknamePlaceholder: "e.g. Empire Bank Checking",
|
|
120
|
-
bankAccountCancelButton: "Cancel",
|
|
121
|
-
bankAccountSaveButton: "Save account",
|
|
122
|
-
bankAccountRestrictedTitle: "There are no bank accounts on file for this account",
|
|
123
|
-
bankAccountRestrictedDescription: "A bank account is required in order to issue invoices. Contact your company admin to set one up.",
|
|
124
|
-
attachmentsHeading: "Attachments",
|
|
125
|
-
attachmentsDescription: "Associate additional documents with this invoice for your own reference or to share with the customer. e.g. contracts, photos, terms and conditions, etc.",
|
|
126
|
-
attachmentsDropPrompt: "Drop your files here, or",
|
|
127
|
-
attachmentsBrowseLink: "browse to upload",
|
|
128
|
-
attachmentsFormatsHint: "PDF, DOC, JPG, PNG (max. 3MB)",
|
|
129
|
-
remindersToggleLabel: "Payment reminders",
|
|
130
|
-
remindersDescription: "Send reminders when an invoice is approaching its due date or past due.",
|
|
131
|
-
remindersLibraryNote: "New reminders will be saved to your organization's library and can be managed via Invoice settings",
|
|
132
|
-
reminderNumberOfDays: "Number of days",
|
|
133
|
-
reminderBefore: "BEFORE",
|
|
134
|
-
reminderAfter: "AFTER",
|
|
135
|
-
reminderDueDate: "due date",
|
|
136
|
-
reminderNone: "No reminder",
|
|
137
|
-
reminderBeforeDueInputLabel: "Days before due date",
|
|
138
|
-
reminderPlaceholder: "e.g., 3",
|
|
139
|
-
reminderAddTermButton: "Add",
|
|
140
|
-
reminderClearButton: "Clear",
|
|
141
|
-
reminderSaveButton: "Save"
|
|
142
|
-
}, c = {
|
|
143
|
-
hiddenDescription: "Invoice details",
|
|
144
|
-
loadingTitle: "Loading invoice details",
|
|
145
|
-
moreActionsLabel: "More actions",
|
|
146
|
-
viewPdfButton: "View PDF",
|
|
147
|
-
closeButton: "Close",
|
|
148
|
-
invoiceDateCaption: "Invoice date",
|
|
149
|
-
paymentHistoryHeading: "Payment history",
|
|
150
|
-
paymentHistoryEmpty: "You've received no payments yet.",
|
|
151
|
-
paymentHistoryTotalLabel: "Total received",
|
|
152
|
-
paymentHistoryLoading: "Loading payment history",
|
|
153
|
-
customerDetailsHeading: "Customer details",
|
|
154
|
-
recurringAmountCaption: "Recurring amount",
|
|
155
|
-
startsOnCaption: "Starts on",
|
|
156
|
-
endsOnCaption: "Ends on",
|
|
157
|
-
recurringSeriesRowLabel: "Recurring series",
|
|
158
|
-
scheduleIssueDateColumn: "Issue date",
|
|
159
|
-
scheduleAmountColumn: "Amount",
|
|
160
|
-
scheduleStatusColumn: "Status",
|
|
161
|
-
scheduleNumberColumn: "Number",
|
|
162
|
-
scheduleEmpty: "No invoices are scheduled.",
|
|
163
|
-
auditHistoryHeading: "Audit history",
|
|
164
|
-
auditHistoryEmpty: "No history yet.",
|
|
165
|
-
auditHistoryLoading: "Loading history",
|
|
166
|
-
auditHistoryError: "The audit history could not be loaded.",
|
|
167
|
-
auditHistoryNamesError: "Some names could not be loaded.",
|
|
168
|
-
billingHeading: "Billing details",
|
|
169
|
-
lineItemsHeading: "Line items",
|
|
170
|
-
notesHeading: "Notes",
|
|
171
|
-
notesOpeningLabel: "Opening note to customer",
|
|
172
|
-
notesClosingLabel: "Closing note to customer",
|
|
173
|
-
attachmentsHeading: "Attachments",
|
|
174
|
-
attachmentsEmpty: "No attached files",
|
|
175
|
-
attachmentsFileColumn: "File",
|
|
176
|
-
attachmentsEmailedColumn: "Emailed",
|
|
177
|
-
lineItemMultiplier: "x",
|
|
178
|
-
lineItemEaLabel: "ea",
|
|
179
|
-
noLineItems: "No line items.",
|
|
180
|
-
editButton: "Edit",
|
|
181
|
-
issueButton: "Issue",
|
|
182
|
-
issueAndSendButton: "Issue and send",
|
|
183
|
-
recordPaymentButton: "Record payment",
|
|
184
|
-
sendButton: "Resend",
|
|
185
|
-
acceptButton: "Accept",
|
|
186
|
-
declineButton: "Decline",
|
|
187
|
-
markPaidButton: "Mark as paid",
|
|
188
|
-
markUncollectibleButton: "Mark as uncollectible",
|
|
189
|
-
cancelButton: "Cancel invoice",
|
|
190
|
-
cloneButton: "Duplicate",
|
|
191
|
-
deleteButton: "Delete",
|
|
192
|
-
pauseRecurrenceButton: "Pause series",
|
|
193
|
-
resumeRecurrenceButton: "Resume series",
|
|
194
|
-
cancelRecurrenceButton: "Cancel series",
|
|
195
|
-
recurringBadge: "Recurring"
|
|
196
|
-
}, l = {
|
|
197
|
-
title: "Send receivable",
|
|
198
|
-
description: "Send this document to the customer by email.",
|
|
199
|
-
toLabel: "To",
|
|
200
|
-
ccLabel: "CC",
|
|
201
|
-
bccLabel: "BCC",
|
|
202
|
-
subjectLabel: "Subject",
|
|
203
|
-
bodyLabel: "Message",
|
|
204
|
-
cancelButton: "Cancel",
|
|
205
|
-
sendButton: "Send"
|
|
206
|
-
}, u = {
|
|
207
|
-
title: "Record payment",
|
|
208
|
-
amountLabel: "Amount",
|
|
209
|
-
amountPlaceholder: "0",
|
|
210
|
-
fullAmountDuePrefix: "Enter full amount due of",
|
|
211
|
-
dateLabel: "Date",
|
|
212
|
-
datePlaceholder: "Pick a date",
|
|
213
|
-
timeLabel: "Time",
|
|
214
|
-
timeZoneSuffix: "UTC",
|
|
215
|
-
cancelButton: "Cancel",
|
|
216
|
-
saveButton: "Save",
|
|
217
|
-
reviewTitle: "Manual payment record",
|
|
218
|
-
receivedLabel: "Received",
|
|
219
|
-
referenceLabel: "Reference",
|
|
220
|
-
createdByLabel: "Created by",
|
|
221
|
-
reviewWarning: "Please, check the details of your payment record. You won't be able to change or delete it after.",
|
|
222
|
-
editRecordButton: "Edit record",
|
|
223
|
-
confirmButton: "Confirm"
|
|
224
|
-
}, d = {
|
|
225
|
-
cancelButton: "Cancel",
|
|
226
|
-
confirmButton: "Confirm",
|
|
227
|
-
commentLabel: "Comment (optional)",
|
|
228
|
-
commentPlaceholder: "Add a comment"
|
|
2
|
+
var e = {
|
|
3
|
+
recurrenceRepeatLabel: "Repeat this invoice",
|
|
4
|
+
recurrenceMonthDayLead: "on the",
|
|
5
|
+
recurrenceMonthDayTrail: "day of every month",
|
|
6
|
+
recurrenceWeekdayLead: "on",
|
|
7
|
+
recurrenceStartOnLabel: "Start on",
|
|
8
|
+
recurrenceEndChoiceLead: "and end",
|
|
9
|
+
recurrenceEndCountLead: "and end after",
|
|
10
|
+
recurrenceDatePlaceholder: "Mon DD, YYYY",
|
|
11
|
+
recurrenceCreationModeQuestion: "When an invoice in the series is created, what should happen?",
|
|
12
|
+
recurrenceCreationModeHint: "(You can change this at any time)",
|
|
13
|
+
recurrenceSetUpEmail: "Set up the email"
|
|
14
|
+
}, t = {
|
|
15
|
+
recurrenceEmailTitle: "Email sent with each invoice",
|
|
16
|
+
recurrenceEmailDescription: "The same recipients, subject, and message are used for every invoice in the series.",
|
|
17
|
+
recurrenceEmailTo: "To",
|
|
18
|
+
recurrenceEmailCc: "Cc",
|
|
19
|
+
recurrenceEmailBcc: "Bcc",
|
|
20
|
+
recurrenceEmailSubject: "Subject",
|
|
21
|
+
recurrenceEmailMessage: "Message",
|
|
22
|
+
recurrenceEmailRecipientPlaceholder: "name@example.com",
|
|
23
|
+
recurrenceEmailMessagePlaceholder: "e.g., Thank you for your business",
|
|
24
|
+
recurrenceEmailFootnote: "Each invoice is finalized and emailed automatically on its schedule.",
|
|
25
|
+
recurrenceEmailCancel: "Cancel",
|
|
26
|
+
recurrenceEmailSave: "Save"
|
|
229
27
|
};
|
|
230
28
|
//#endregion
|
|
231
|
-
export {
|
|
29
|
+
export { t as RECEIVABLE_RECURRENCE_EMAIL_DIALOG_LABELS_EN, e as RECEIVABLE_RECURRENCE_SECTION_LABELS_EN };
|