@tesouro/embedded-components-react 0.5.74 → 0.5.76
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/experimental/InvoiceSettings.d.ts +660 -0
- package/dist/experimental/InvoiceSettings.js +3 -0
- package/dist/experimental/index.d.ts +31 -2
- package/dist/experimental/index.js +4 -2
- package/dist/index.css +0 -8
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +140 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +46 -140
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +114 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +163 -112
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +75 -164
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +71 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +376 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +12 -381
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +84 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +54 -79
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +223 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +37 -223
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +245 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +21 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +571 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +4 -572
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +44 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +247 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +3 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +127 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -129
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +127 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +8 -124
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +47 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +18 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +82 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +47 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +250 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +123 -241
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +211 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +3 -219
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +98 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +1 -100
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +2 -72
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +12 -269
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +97 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +76 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +277 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +16 -369
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +15 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +32 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +374 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +87 -188
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +48 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +10 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +197 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +88 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +1 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +167 -161
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index2.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index3.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index4.js +2 -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/util/dist/lib/auditHistory/buildPayableAuditHistory.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +1391 -1369
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -27
|
@@ -1,572 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
-
import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
|
-
import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
8
|
-
import { useAllLedgerAccountsQuery as ee } from "../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
|
|
9
|
-
import "../../../shared/data-access/dist/index.js";
|
|
10
|
-
import "../../../shared/ui/dist/index.js";
|
|
11
|
-
import { formatCalendarDate as te } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
12
|
-
import { buildPayableAuditHistory as ne } from "../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
|
|
13
|
-
import { useWidgetConfig as re } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
14
|
-
import { useOrganizationUserNames as ie } from "../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
|
|
15
|
-
import "../../../shared/feature/dist/index.js";
|
|
16
|
-
import { usePayableApprovalRequestsQuery as ae } from "../../data-access/dist/index8.js";
|
|
17
|
-
import { usePayableHistoryQuery as oe } from "../../data-access/dist/index9.js";
|
|
18
|
-
import { useAllPayableLineItemsQuery as se } from "../../data-access/dist/index10.js";
|
|
19
|
-
import { useUpdatePayableMutation as ce } from "../../data-access/dist/index13.js";
|
|
20
|
-
import { usePayableQuery as le } from "../../data-access/dist/index17.js";
|
|
21
|
-
import "../../data-access/dist/index.js";
|
|
22
|
-
import { hasUnpaidBalance as ue } from "./index7.js";
|
|
23
|
-
import { resolveVendor as de } from "./index8.js";
|
|
24
|
-
import { BillCreateScreen as fe } from "../../ui/dist/index50.js";
|
|
25
|
-
import { BillDecisionDialog as pe } from "../../ui/dist/index56.js";
|
|
26
|
-
import { DiscardChangesDialog as me } from "../../ui/dist/index67.js";
|
|
27
|
-
import { BillDuplicateNotice as he } from "../../ui/dist/index72.js";
|
|
28
|
-
import { BillRejectedBanner as ge } from "../../ui/dist/index75.js";
|
|
29
|
-
import { ExtractionNotice as _e } from "../../ui/dist/index93.js";
|
|
30
|
-
import { MarkAsPaidDialog as ve } from "../../ui/dist/index102.js";
|
|
31
|
-
import { UnsavedBillDialog as ye } from "../../ui/dist/index112.js";
|
|
32
|
-
import "../../ui/dist/index.js";
|
|
33
|
-
import { usePayableDuplicateReview as be } from "./index13.js";
|
|
34
|
-
import "./index14.js";
|
|
35
|
-
import { isEditablePayableStatus as xe } from "./index19.js";
|
|
36
|
-
import { canOverrideApprovalPolicy as Se, canReadCounterpartBankAccounts as Ce } from "./index20.js";
|
|
37
|
-
import { resolveAmountDueMinorUnits as we } from "./index21.js";
|
|
38
|
-
import { usePayableAchInstructions as Te } from "../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
|
|
39
|
-
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
40
|
-
import { PayBillFlow as Ee } from "./index27.js";
|
|
41
|
-
import "./index28.js";
|
|
42
|
-
import { useMarkAsPaidFlow as De } from "./index17.js";
|
|
43
|
-
import "./index18.js";
|
|
44
|
-
import { BILL_CREATE_MESSAGE_LABELS_EN as Oe, mergeBillCreateScreenCopy as ke } from "./index49.js";
|
|
45
|
-
import { useBillCreateController as Ae } from "./index57.js";
|
|
46
|
-
import { useBillForm as je } from "./index59.js";
|
|
47
|
-
import { buildPaymentHistory as Me } from "./index3.js";
|
|
48
|
-
import { currentApprovalRound as Ne } from "./index4.js";
|
|
49
|
-
import { usePayableApprovalRoundStart as Pe } from "./index32.js";
|
|
50
|
-
import { useApprovalPolicyCardView as Fe } from "./index33.js";
|
|
51
|
-
import { resolveBillRejectionNotice as Ie } from "./index34.js";
|
|
52
|
-
import { useCurrentApprovalRequestId as Le } from "./index35.js";
|
|
53
|
-
import { usePayableDetailActions as Re } from "./index36.js";
|
|
54
|
-
import { useScheduledPayment as ze } from "./index37.js";
|
|
55
|
-
import { useDraftDelete as Be } from "./index38.js";
|
|
56
|
-
import { buildBillDetailView as Ve } from "./index43.js";
|
|
57
|
-
import { resolveEditorDismissal as He } from "./index44.js";
|
|
58
|
-
import { toBillDetailBodyHistory as Ue } from "./index45.js";
|
|
59
|
-
import { SourceDocumentContainer as We } from "./index50.js";
|
|
60
|
-
import { useVendorSectionProps as Ge } from "./index53.js";
|
|
61
|
-
import { billCreateTestIds as r } from "./index60.js";
|
|
62
|
-
import { cloneElement as Ke, isValidElement as qe, useCallback as i, useEffect as Je, useMemo as a, useRef as Ye, useState as o } from "react";
|
|
63
|
-
import { Fragment as Xe, jsx as s, jsxs as Ze } from "react/jsx-runtime";
|
|
64
|
-
import { Trash2Icon as Qe } from "lucide-react";
|
|
65
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js
|
|
66
|
-
function $e(e) {
|
|
67
|
-
let t = [...new Set(e)];
|
|
68
|
-
return t.length > 0 ? t : void 0;
|
|
69
|
-
}
|
|
70
|
-
function c({ open: c, onOpenChange: l, payableId: et, readOnly: u = !1, copy: tt, onCollapse: d, onEdit: nt, poweredByBankName: rt }) {
|
|
71
|
-
let f = a(() => ke(tt), [tt]), [it, at] = o(), [p, ot] = o(!1), [st, ct] = o(!1), [m, h] = o(!1), [lt, ut] = o(), dt = i((e) => {
|
|
72
|
-
ut(() => e);
|
|
73
|
-
}, []), [ft, pt] = o(), g = et ?? ft, _ = le(g, { pollWhileOcrProcessing: !0 }), v = se(g), { initResponse: y } = re(), mt = !!y, ht = t(y?.scopes, [n.AccountingConfigReadOrg]), b = ee({ enabled: ht }), x = _.data, S = !g || !!x, C = !u && S && !!g && x?.status !== "draft", gt = !u && !!x && !xe(x?.status), w = u || gt, T = je({
|
|
74
|
-
payable: x,
|
|
75
|
-
lineItems: v.lineItems
|
|
76
|
-
}), E = x?.counterpart_id;
|
|
77
|
-
Je(() => {
|
|
78
|
-
p || E && (at(E), ot(!0));
|
|
79
|
-
}, [p, E]);
|
|
80
|
-
let _t = i((e) => {
|
|
81
|
-
ot(!0), at(e);
|
|
82
|
-
}, []), D = ze({
|
|
83
|
-
payableId: g,
|
|
84
|
-
scheduledPaymentDate: x?.scheduled_payment_date,
|
|
85
|
-
enabled: u || C
|
|
86
|
-
}), O = Ce(y?.scopes), vt = t(y?.scopes, [n.PayableWriteOrg]), yt = t(y?.scopes, [n.CounterpartWriteOrg]) && vt, k = yt && ue(x?.status) && !D.hasScheduledPayment && !D.isResolving, bt = k && O, xt = k || yt && x?.status === "rejected", St = !u && S && (!g || x?.status === "draft") && !D.hasScheduledPayment && !D.isResolving, A = Ge({
|
|
87
|
-
payableId: g,
|
|
88
|
-
counterpartId: u ? E : it,
|
|
89
|
-
payableCounterpartId: E,
|
|
90
|
-
isVendorKnown: u ? !!x : S,
|
|
91
|
-
onCounterpartChange: _t,
|
|
92
|
-
requiredError: T.errors?.vendor,
|
|
93
|
-
payableCounterpartBankAccountId: x?.counterpart_bank_account_id ?? void 0,
|
|
94
|
-
extractedVendor: x?.counterpart_raw_data ?? void 0,
|
|
95
|
-
readOnly: u,
|
|
96
|
-
canEditVendor: !u || bt,
|
|
97
|
-
canEditPaymentInstructions: !u || k,
|
|
98
|
-
canAddPaymentInstructions: !u || xt,
|
|
99
|
-
confirmDiscard: dt
|
|
100
|
-
}), j = A.activePayToOperation === "missingInstructions" ? St || xt : A.activePayToOperation === "existingInstructions" ? St || k : A.activePayToOperation === "vendor" && u ? bt : !1, Ct = !!(g && p) && !it, M = _.refetch, wt = i(async () => {
|
|
101
|
-
let { data: e } = await M();
|
|
102
|
-
return e?.status ?? void 0;
|
|
103
|
-
}, [M]), Tt = ce(), [N, Et] = o(!1), P = Ye(void 0), Dt = i(async () => {
|
|
104
|
-
if (P.current) return P.current;
|
|
105
|
-
let t = (async () => {
|
|
106
|
-
if (j) {
|
|
107
|
-
Et(!0);
|
|
108
|
-
try {
|
|
109
|
-
let t;
|
|
110
|
-
try {
|
|
111
|
-
t = await A.prepareVendorForSave({ closeOnSuccess: !1 });
|
|
112
|
-
} catch {
|
|
113
|
-
e.error(f.detail.paymentInstructionsSaveError);
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
if (!t.ok) return;
|
|
117
|
-
if (!g) {
|
|
118
|
-
A.finalizePayToSave();
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
|
-
let n = t.counterpartBankAccountId;
|
|
122
|
-
if (n && n !== x?.counterpart_bank_account_id) {
|
|
123
|
-
let t = {
|
|
124
|
-
path: { payable_id: g },
|
|
125
|
-
body: { counterpart_bank_account_id: n }
|
|
126
|
-
};
|
|
127
|
-
try {
|
|
128
|
-
await Tt.mutateAsync(t);
|
|
129
|
-
} catch {
|
|
130
|
-
try {
|
|
131
|
-
await Tt.mutateAsync(t);
|
|
132
|
-
} catch {
|
|
133
|
-
e.error(f.detail.paymentInstructionsLinkError);
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
A.finalizePayToSave();
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
A.finalizePayToSave(), await M();
|
|
141
|
-
} finally {
|
|
142
|
-
Et(!1);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
})();
|
|
146
|
-
P.current = t;
|
|
147
|
-
try {
|
|
148
|
-
await t;
|
|
149
|
-
} finally {
|
|
150
|
-
P.current = void 0;
|
|
151
|
-
}
|
|
152
|
-
}, [
|
|
153
|
-
j,
|
|
154
|
-
f.detail.paymentInstructionsLinkError,
|
|
155
|
-
f.detail.paymentInstructionsSaveError,
|
|
156
|
-
Tt,
|
|
157
|
-
x?.counterpart_bank_account_id,
|
|
158
|
-
g,
|
|
159
|
-
M,
|
|
160
|
-
A
|
|
161
|
-
]), F = a(() => j ? A.mode === "creating" && qe(A.newVendorForm) ? {
|
|
162
|
-
...A,
|
|
163
|
-
newVendorForm: Ke(A.newVendorForm, {
|
|
164
|
-
onSave: Dt,
|
|
165
|
-
isSaving: N
|
|
166
|
-
})
|
|
167
|
-
} : A.mode === "resolved" && A.paymentInstructions ? {
|
|
168
|
-
...A,
|
|
169
|
-
paymentInstructions: {
|
|
170
|
-
...A.paymentInstructions,
|
|
171
|
-
onSave: Dt,
|
|
172
|
-
isSaving: N
|
|
173
|
-
}
|
|
174
|
-
} : A : A, [
|
|
175
|
-
j,
|
|
176
|
-
N,
|
|
177
|
-
Dt,
|
|
178
|
-
A
|
|
179
|
-
]);
|
|
180
|
-
Je(() => {
|
|
181
|
-
u && A.isEditingPayTo && !j && A.discardPayToEdits();
|
|
182
|
-
}, [
|
|
183
|
-
j,
|
|
184
|
-
u,
|
|
185
|
-
A.discardPayToEdits,
|
|
186
|
-
A.isEditingPayTo
|
|
187
|
-
]);
|
|
188
|
-
let Ot = a(() => C ? { draftSaved: Oe.submittedSaved } : void 0, [C]), I = Ae({
|
|
189
|
-
payableId: et,
|
|
190
|
-
form: T,
|
|
191
|
-
labels: Ot,
|
|
192
|
-
counterpartId: it,
|
|
193
|
-
isVendorPending: A.mode === "creating" || A.isPendingVendor,
|
|
194
|
-
clearCounterpart: Ct,
|
|
195
|
-
prepareVendorForSave: A.prepareVendorForSave,
|
|
196
|
-
onPayableCreated: pt,
|
|
197
|
-
onSaved: pt,
|
|
198
|
-
onDraftSaved: () => l(!1),
|
|
199
|
-
onFinalized: () => l(!1),
|
|
200
|
-
readSavedStatus: C ? wt : void 0
|
|
201
|
-
}), kt = !!(I.isSavingDraft || I.isFinalizing || A.isVendorSavePending), L = u ? g : void 0, R = Le({
|
|
202
|
-
payableId: L,
|
|
203
|
-
status: x?.status
|
|
204
|
-
}), At = Ye(null), jt = de(x), z = Te({
|
|
205
|
-
counterpartId: u ? E : void 0,
|
|
206
|
-
currency: x?.currency,
|
|
207
|
-
currentBankAccountId: u ? x?.counterpart_bank_account_id ?? void 0 : void 0,
|
|
208
|
-
enabled: O && u
|
|
209
|
-
}), B = De({
|
|
210
|
-
payableId: L,
|
|
211
|
-
amountDueMinorUnits: we(x) ?? 0,
|
|
212
|
-
amountToPayMinorUnits: x?.amount_to_pay ?? void 0,
|
|
213
|
-
currencyCode: x?.currency ?? void 0,
|
|
214
|
-
dueDate: x?.due_date,
|
|
215
|
-
hasScheduledPayment: D.hasScheduledPayment,
|
|
216
|
-
labels: f.markAsPaid
|
|
217
|
-
}), V = Fe({
|
|
218
|
-
payableId: L,
|
|
219
|
-
approvalPolicyId: x?.approval_policy_id,
|
|
220
|
-
enabled: u,
|
|
221
|
-
copy: f.approvalPolicyCopy
|
|
222
|
-
}), Mt = Se({
|
|
223
|
-
status: x?.status,
|
|
224
|
-
scopes: y?.scopes,
|
|
225
|
-
arePendingApproversUnknown: V.isLoading,
|
|
226
|
-
hasApprovalPolicy: !!x?.approval_policy_id,
|
|
227
|
-
hasWaitingRequest: R.hasWaitingRequest
|
|
228
|
-
}), Nt = !!R.id, Pt = R.isLoading || V.isLoading, Ft = a(() => $e(V.pendingApprovers.flatMap((e) => e.names)), [V.pendingApprovers]), It = u || C ? g : void 0, Lt = u ? nt : void 0, H = i((e) => {
|
|
229
|
-
let t = () => {
|
|
230
|
-
A.discardPayToEdits(), e?.();
|
|
231
|
-
};
|
|
232
|
-
A.hasUnsavedVendorChanges ? dt(t) : t();
|
|
233
|
-
}, [dt, A]), { actions: U, decisionDialog: Rt, isActionPending: zt } = Re({
|
|
234
|
-
payableId: It,
|
|
235
|
-
status: x?.status,
|
|
236
|
-
currentApprovalRequestId: R.id,
|
|
237
|
-
arePendingApproversUnknown: V.isLoading,
|
|
238
|
-
hasScheduledPayment: D.hasScheduledPayment,
|
|
239
|
-
scheduledPaymentIntentId: D.scheduledPaymentIntentId,
|
|
240
|
-
isScheduledPaymentUnknown: D.isResolving,
|
|
241
|
-
isPayabilityUnknown: z.isLoading,
|
|
242
|
-
hasApprovalPolicy: !!x?.approval_policy_id,
|
|
243
|
-
hasWaitingRequest: R.hasWaitingRequest,
|
|
244
|
-
pendingApprovers: V.pendingApprovers,
|
|
245
|
-
labels: f.actions,
|
|
246
|
-
isMarkAsPaidPending: B.isPending,
|
|
247
|
-
onMarkAsPaidSelect: B.open,
|
|
248
|
-
onPayBillSelect: () => H(() => At.current?.open()),
|
|
249
|
-
onEditSelect: Lt,
|
|
250
|
-
onActionSucceeded: (e) => {
|
|
251
|
-
if (e === "reopen") {
|
|
252
|
-
Lt?.();
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
C && l(!1);
|
|
256
|
-
}
|
|
257
|
-
}), W = Be({
|
|
258
|
-
payableId: g,
|
|
259
|
-
status: x?.status,
|
|
260
|
-
enabled: !u,
|
|
261
|
-
labels: f.deleteDraft,
|
|
262
|
-
onDeleted: () => l(!1)
|
|
263
|
-
}), G = kt || zt, Bt = x?.ocr_status === "processing", Vt = _.isLoading || v.isResolving || Bt, K = _.isLoading || v.isResolving || b.isResolving || z.isLoading, Ht = _.isError || v.isError || b.isError, Ut = a(() => [...W.menuItems, ...C || u && !K && !Ht ? U.menu.map((e) => ({
|
|
264
|
-
id: e.id,
|
|
265
|
-
label: e.label,
|
|
266
|
-
onSelect: e.onSelect,
|
|
267
|
-
disabled: e.disabled,
|
|
268
|
-
icon: e.icon,
|
|
269
|
-
sectionHeading: e.sectionHeading
|
|
270
|
-
})) : []], [
|
|
271
|
-
U.menu,
|
|
272
|
-
W.menuItems,
|
|
273
|
-
C,
|
|
274
|
-
u,
|
|
275
|
-
K,
|
|
276
|
-
Ht
|
|
277
|
-
]), q = a(() => (b.data?.data ?? []).map((e) => ({
|
|
278
|
-
value: e.id,
|
|
279
|
-
label: [e.nominal_code, e.name].filter(Boolean).join(" — ")
|
|
280
|
-
})), [b.data]), J;
|
|
281
|
-
mt && (ht ? b.isError ? J = f.lineItemsGlCodeUnavailable.loadError : !b.isResolving && q.length === 0 && (J = f.lineItemsGlCodeUnavailable.empty) : J = f.lineItemsGlCodeUnavailable.noAccess);
|
|
282
|
-
let Wt = !mt || !!J || b.isResolving, Gt = ht && !b.isResolving && !b.isError, Y = oe(L), Kt = x?.status === "rejected" || !u && C, qt = t(y?.scopes, [n.ApprovalRequestReadOrg]), Jt = Kt && qt, Yt = t(y?.scopes, [n.UserReadOrg]), { userNames: X } = ie({ enabled: (u || Kt) && Yt }), Xt = a(() => Ue(ne(Y.data?.data ?? [], X, f.history), f.detail), [
|
|
283
|
-
Y.data,
|
|
284
|
-
X,
|
|
285
|
-
f.history,
|
|
286
|
-
f.detail
|
|
287
|
-
]), Zt = Pe({
|
|
288
|
-
payableId: g,
|
|
289
|
-
enabled: Jt
|
|
290
|
-
}), Qt = ae(g, { enabled: Jt }), $t = a(() => Ne(Qt.data?.data, Zt.roundStartedAt), [Qt.data, Zt.roundStartedAt]), Z = a(() => Ie({
|
|
291
|
-
payableStatus: x?.status,
|
|
292
|
-
approvalRequests: $t,
|
|
293
|
-
userNames: X,
|
|
294
|
-
payableUpdatedAt: x?.updated_at,
|
|
295
|
-
labels: f.detail
|
|
296
|
-
}), [
|
|
297
|
-
x?.status,
|
|
298
|
-
x?.updated_at,
|
|
299
|
-
$t,
|
|
300
|
-
X,
|
|
301
|
-
f.detail
|
|
302
|
-
]), en = a(() => Me({
|
|
303
|
-
records: D.paymentRecords,
|
|
304
|
-
events: Y.data?.data ?? [],
|
|
305
|
-
currencyCode: x?.currency,
|
|
306
|
-
labels: f.detail
|
|
307
|
-
}), [
|
|
308
|
-
D.paymentRecords,
|
|
309
|
-
Y.data,
|
|
310
|
-
x?.currency,
|
|
311
|
-
f.detail
|
|
312
|
-
]), tn = a(() => {
|
|
313
|
-
if (!u || !x) return;
|
|
314
|
-
let e = Ve({
|
|
315
|
-
payable: x,
|
|
316
|
-
lineItems: v.lineItems,
|
|
317
|
-
glCodeOptions: q,
|
|
318
|
-
glCodeRosterAvailable: Gt,
|
|
319
|
-
history: Xt,
|
|
320
|
-
paymentHistory: en,
|
|
321
|
-
approvalPolicy: V.view,
|
|
322
|
-
labels: f.detail,
|
|
323
|
-
hasScheduledPayment: D.hasScheduledPayment,
|
|
324
|
-
rejection: Z,
|
|
325
|
-
payableAchInstructions: z.achInstructions,
|
|
326
|
-
payableAchInstructionsReadable: O && !z.isError
|
|
327
|
-
});
|
|
328
|
-
return A.mode === "resolved" && A.summary ? {
|
|
329
|
-
...e,
|
|
330
|
-
payTo: A.summary
|
|
331
|
-
} : e;
|
|
332
|
-
}, [
|
|
333
|
-
D.hasScheduledPayment,
|
|
334
|
-
V.view,
|
|
335
|
-
O,
|
|
336
|
-
f.detail,
|
|
337
|
-
q,
|
|
338
|
-
Gt,
|
|
339
|
-
Xt,
|
|
340
|
-
v.lineItems,
|
|
341
|
-
x,
|
|
342
|
-
z.achInstructions,
|
|
343
|
-
z.isError,
|
|
344
|
-
en,
|
|
345
|
-
u,
|
|
346
|
-
Z,
|
|
347
|
-
A.mode,
|
|
348
|
-
A.summary
|
|
349
|
-
]), nn = x?.source_of_payable_data === "ocr", Q = jt?.name, rn = u ? Q ? f.viewTitle(Q) : f.readOnlyTitle : Q && (nn || C) ? f.extractedTitle(Q) : f.newTitle, an = u && x?.created_at ? f.addedOn(te(x.created_at.slice(0, 10))) : void 0, on = i(() => {
|
|
350
|
-
if (u && A.isEditingPayTo) {
|
|
351
|
-
H(() => l(!1));
|
|
352
|
-
return;
|
|
353
|
-
}
|
|
354
|
-
let e = T.isDirty || A.hasUnsavedVendorChanges || !!I.stagedFile || I.isFileDeletionPending;
|
|
355
|
-
switch (He({
|
|
356
|
-
isUnsavedPromptOpen: m,
|
|
357
|
-
isLocked: w,
|
|
358
|
-
isDirty: e
|
|
359
|
-
})) {
|
|
360
|
-
case "dismiss-prompt":
|
|
361
|
-
h(!1);
|
|
362
|
-
return;
|
|
363
|
-
case "prompt":
|
|
364
|
-
h(!0);
|
|
365
|
-
return;
|
|
366
|
-
default: l(!1);
|
|
367
|
-
}
|
|
368
|
-
}, [
|
|
369
|
-
I.isFileDeletionPending,
|
|
370
|
-
I.stagedFile,
|
|
371
|
-
T.isDirty,
|
|
372
|
-
w,
|
|
373
|
-
m,
|
|
374
|
-
H,
|
|
375
|
-
l,
|
|
376
|
-
u,
|
|
377
|
-
A.hasUnsavedVendorChanges,
|
|
378
|
-
A.isEditingPayTo
|
|
379
|
-
]), sn = i(() => {
|
|
380
|
-
if (A.isEditingPayTo) {
|
|
381
|
-
H(d);
|
|
382
|
-
return;
|
|
383
|
-
}
|
|
384
|
-
d?.();
|
|
385
|
-
}, [
|
|
386
|
-
H,
|
|
387
|
-
d,
|
|
388
|
-
A.isEditingPayTo
|
|
389
|
-
]), cn = i(() => {
|
|
390
|
-
h(!1), l(!1);
|
|
391
|
-
}, [l]), ln = Vt || A.mode === "creating", un = i(async () => {
|
|
392
|
-
if (ln) return;
|
|
393
|
-
let e = await I.saveDraft();
|
|
394
|
-
h(!1), e && l(!1);
|
|
395
|
-
}, [
|
|
396
|
-
I,
|
|
397
|
-
ln,
|
|
398
|
-
l
|
|
399
|
-
]), $ = be({
|
|
400
|
-
payable: x,
|
|
401
|
-
onRemoved: () => l(!1),
|
|
402
|
-
canManage: vt
|
|
403
|
-
}), dn = i((e) => {
|
|
404
|
-
if (!(G || $.isBusy)) return e ? l(!0) : on();
|
|
405
|
-
}, [
|
|
406
|
-
$.isBusy,
|
|
407
|
-
G,
|
|
408
|
-
on,
|
|
409
|
-
l
|
|
410
|
-
]), fn = $.isPossibleDuplicate, pn = !u && nn && !st, mn = !u && !!Z, hn = mn || fn || pn ? /* @__PURE__ */ Ze(Xe, { children: [
|
|
411
|
-
mn && Z ? /* @__PURE__ */ s(ge, {
|
|
412
|
-
...Z,
|
|
413
|
-
labels: f.rejectedBanner
|
|
414
|
-
}) : null,
|
|
415
|
-
fn ? /* @__PURE__ */ s(he, {
|
|
416
|
-
onNotADuplicate: $.onNotADuplicate,
|
|
417
|
-
onRemoveBill: $.onRemoveBill,
|
|
418
|
-
isActionDisabled: $.isBusy,
|
|
419
|
-
labels: $.removeBillLabel ? { removeBillButton: $.removeBillLabel } : void 0,
|
|
420
|
-
testId: r.duplicateNotice
|
|
421
|
-
}) : null,
|
|
422
|
-
pn ? /* @__PURE__ */ s(_e, { onDismiss: () => ct(!0) }) : null
|
|
423
|
-
] }) : void 0;
|
|
424
|
-
return /* @__PURE__ */ Ze(Xe, { children: [
|
|
425
|
-
/* @__PURE__ */ s(fe, {
|
|
426
|
-
open: c,
|
|
427
|
-
onOpenChange: dn,
|
|
428
|
-
title: rn,
|
|
429
|
-
subtitle: an,
|
|
430
|
-
notice: hn,
|
|
431
|
-
vendor: {
|
|
432
|
-
...F,
|
|
433
|
-
testId: r.vendorSection
|
|
434
|
-
},
|
|
435
|
-
values: T.values,
|
|
436
|
-
errors: T.errors,
|
|
437
|
-
onChange: T.onChange,
|
|
438
|
-
lineItems: {
|
|
439
|
-
items: T.lineItemRows,
|
|
440
|
-
glCodeOptions: q,
|
|
441
|
-
glCodeDisabled: Wt,
|
|
442
|
-
glCodeUnavailableMessage: J,
|
|
443
|
-
discount: T.discount,
|
|
444
|
-
onDiscountChange: T.onDiscountChange,
|
|
445
|
-
onDiscountBlur: T.onDiscountBlur,
|
|
446
|
-
tax: T.tax,
|
|
447
|
-
onTaxChange: T.onTaxChange,
|
|
448
|
-
onTaxBlur: T.onTaxBlur,
|
|
449
|
-
total: T.total,
|
|
450
|
-
onTotalChange: T.onTotalChange,
|
|
451
|
-
onTotalBlur: T.onTotalBlur,
|
|
452
|
-
onAddLineItem: T.onAddLineItem,
|
|
453
|
-
errors: T.lineItemErrors,
|
|
454
|
-
totalsErrors: T.totalsErrors,
|
|
455
|
-
testId: r.lineItems
|
|
456
|
-
},
|
|
457
|
-
documentPanel: /* @__PURE__ */ s(We, {
|
|
458
|
-
payableId: g,
|
|
459
|
-
readOnly: w,
|
|
460
|
-
isDocumentPending: !!g && !x?.file && (_.isLoading || x?.ocr_status === "processing"),
|
|
461
|
-
file: x?.file ? {
|
|
462
|
-
id: x.file.id,
|
|
463
|
-
name: x.file.name,
|
|
464
|
-
url: x.file.url,
|
|
465
|
-
mimetype: x.file.mimetype
|
|
466
|
-
} : void 0,
|
|
467
|
-
staging: {
|
|
468
|
-
stagedFile: I.stagedFile,
|
|
469
|
-
onFileStaged: I.stageFile,
|
|
470
|
-
onClearStagedFile: I.clearStagedFile,
|
|
471
|
-
isSaving: kt
|
|
472
|
-
},
|
|
473
|
-
deletion: {
|
|
474
|
-
isPending: I.isFileDeletionPending,
|
|
475
|
-
onRequest: I.requestFileDeletion,
|
|
476
|
-
onDetachNow: I.detachFileNow,
|
|
477
|
-
isDeleting: I.isDeletingFile,
|
|
478
|
-
hasFailed: I.hasFileDeletionFailed
|
|
479
|
-
}
|
|
480
|
-
}),
|
|
481
|
-
menuItems: Ut,
|
|
482
|
-
readOnly: w,
|
|
483
|
-
detail: u ? {
|
|
484
|
-
view: tn,
|
|
485
|
-
actions: U,
|
|
486
|
-
scheduledSummary: D.hasScheduledPayment && D.scheduledDateLabel ? f.scheduledSummary(D.scheduledDateLabel) : void 0,
|
|
487
|
-
scheduledStatusLabel: D.hasScheduledPayment && D.scheduledDateLabel ? f.scheduledStatusBadge(D.scheduledDateLabel) : void 0,
|
|
488
|
-
showApprovalOverrideNotice: !Pt && Mt,
|
|
489
|
-
awaitingApprovalNotice: !Pt && !Nt && !Mt && x?.status === "approve_in_progress" && x?.approval_policy_id ? Ft ? f.awaitingApprovalNotice(Ft) : f.awaitingApprovalUnknownNotice : void 0,
|
|
490
|
-
payTo: {
|
|
491
|
-
onEdit: F.mode === "resolved" ? F.onEdit : void 0,
|
|
492
|
-
paymentInstructions: F.paymentInstructions,
|
|
493
|
-
editForm: F.mode === "creating" ? F.newVendorForm : void 0
|
|
494
|
-
},
|
|
495
|
-
hideMissingPaymentInstructions: x?.status === "paid" || x?.status === "canceled",
|
|
496
|
-
isLoading: K,
|
|
497
|
-
isError: Ht,
|
|
498
|
-
paymentHistoryError: D.isError || Y.isError,
|
|
499
|
-
paymentHistoryLoading: D.isResolving || Y.isLoading
|
|
500
|
-
} : void 0,
|
|
501
|
-
isLineItemsLoading: Vt,
|
|
502
|
-
isSaving: G || N,
|
|
503
|
-
isSavingDraft: I.isSavingDraft,
|
|
504
|
-
isSubmitting: I.isFinalizing,
|
|
505
|
-
onCancel: on,
|
|
506
|
-
onCollapse: u ? sn : void 0,
|
|
507
|
-
onSaveDraft: I.saveDraft,
|
|
508
|
-
onFinalize: I.finalize,
|
|
509
|
-
scrollToErrorToken: I.scrollToErrorToken,
|
|
510
|
-
showSubmit: !w && S,
|
|
511
|
-
testId: r.dialog
|
|
512
|
-
}),
|
|
513
|
-
/* @__PURE__ */ s(ye, {
|
|
514
|
-
open: m,
|
|
515
|
-
onSaveDraft: un,
|
|
516
|
-
onDiscard: cn,
|
|
517
|
-
onCancel: () => h(!1),
|
|
518
|
-
isSaving: I.isSavingDraft,
|
|
519
|
-
isSaveDraftDisabled: ln,
|
|
520
|
-
labels: f.unsavedChanges,
|
|
521
|
-
testId: r.unsavedDialog,
|
|
522
|
-
saveDraftTestId: r.unsavedSaveDraft,
|
|
523
|
-
discardTestId: r.unsavedDiscard,
|
|
524
|
-
closeTestId: r.unsavedClose
|
|
525
|
-
}),
|
|
526
|
-
/* @__PURE__ */ s(me, {
|
|
527
|
-
open: !!lt,
|
|
528
|
-
onDiscard: () => {
|
|
529
|
-
let e = lt;
|
|
530
|
-
ut(void 0), e?.();
|
|
531
|
-
},
|
|
532
|
-
onKeepEditing: () => ut(void 0),
|
|
533
|
-
labels: f.discardChanges,
|
|
534
|
-
testId: r.discardDialog,
|
|
535
|
-
discardTestId: r.discardConfirm
|
|
536
|
-
}),
|
|
537
|
-
/* @__PURE__ */ s(pe, {
|
|
538
|
-
...Rt,
|
|
539
|
-
labels: { cancelButton: f.actions.decisionDialog.cancelButton },
|
|
540
|
-
testId: r.decisionDialog,
|
|
541
|
-
confirmTestId: r.decisionConfirm,
|
|
542
|
-
reasonTestId: r.decisionReason
|
|
543
|
-
}),
|
|
544
|
-
/* @__PURE__ */ s(pe, {
|
|
545
|
-
...W.dialog,
|
|
546
|
-
labels: { cancelButton: f.actions.decisionDialog.cancelButton },
|
|
547
|
-
testId: r.deleteDraftDialog,
|
|
548
|
-
confirmTestId: r.deleteDraftConfirm
|
|
549
|
-
}),
|
|
550
|
-
/* @__PURE__ */ s(pe, {
|
|
551
|
-
open: $.removeConfirmation.open,
|
|
552
|
-
copy: $.removeConfirmation.copy,
|
|
553
|
-
onConfirm: $.removeConfirmation.onConfirm,
|
|
554
|
-
onCancel: $.removeConfirmation.onCancel,
|
|
555
|
-
isPending: $.removeConfirmation.isPending,
|
|
556
|
-
confirmIcon: /* @__PURE__ */ s(Qe, {}),
|
|
557
|
-
labels: { cancelButton: $.removeConfirmation.cancelButtonLabel },
|
|
558
|
-
testId: r.duplicateRemoveDialog,
|
|
559
|
-
confirmTestId: r.duplicateRemoveConfirm
|
|
560
|
-
}),
|
|
561
|
-
/* @__PURE__ */ s(ve, { ...B.dialogProps }),
|
|
562
|
-
u && x ? /* @__PURE__ */ s(Ee, {
|
|
563
|
-
ref: At,
|
|
564
|
-
payable: x,
|
|
565
|
-
onMissingAchInstructions: yt ? A.openPaymentInstructions : void 0,
|
|
566
|
-
poweredByBankName: rt,
|
|
567
|
-
labels: f.payBill
|
|
568
|
-
}) : null
|
|
569
|
-
] });
|
|
570
|
-
}
|
|
571
|
-
//#endregion
|
|
572
|
-
export { c as BillCreateDialog, c as default };
|
|
1
|
+
import "./index48.js";
|
|
2
|
+
import "./index56.js";
|
|
3
|
+
import "./index58.js";
|
|
4
|
+
import "./index60.js";
|
|
@@ -1,4 +1,44 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
1
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as e } from "../../ui/dist/index36.js";
|
|
2
|
+
import "../../ui/dist/index.js";
|
|
3
|
+
import { MARK_AS_PAID_FLOW_LABELS_EN as t } from "./index15.js";
|
|
4
|
+
import "./index18.js";
|
|
5
|
+
import { APPROVAL_POLICY_RULE_COPY_EN as n } from "./index29.js";
|
|
6
|
+
import { AWAITING_APPROVAL_LABEL_EN as r, AWAITING_APPROVAL_UNKNOWN_LABEL_EN as i, BILL_DETAIL_ACTIONS_LABELS_EN as a, PAYMENT_HISTORY_LABELS_EN as o, SCHEDULED_STATUS_BADGE_LABEL_EN as s, SCHEDULED_SUMMARY_LABEL_EN as c } from "./index45.js";
|
|
7
|
+
import { PAYABLE_AUDIT_HISTORY_LABELS_EN as l } from "./index46.js";
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js
|
|
9
|
+
var u = {
|
|
10
|
+
subtitle: "Accounts payable",
|
|
11
|
+
vendorRow: "Vendor",
|
|
12
|
+
bankAccountRow: "ACH bank account",
|
|
13
|
+
bankAccountValue: (e) => `Account ending in ${e}`,
|
|
14
|
+
...o,
|
|
15
|
+
invoiceNumberRow: "Number",
|
|
16
|
+
issueDateRow: "Issue date",
|
|
17
|
+
dueDateRow: "Due date",
|
|
18
|
+
poNumberRow: "PO number",
|
|
19
|
+
notProvided: "Not provided",
|
|
20
|
+
glCodeMissing: "GL code not specified",
|
|
21
|
+
quantityValue: (e, t) => `${e} x ${t}`,
|
|
22
|
+
quantityOnlyValue: (e) => e,
|
|
23
|
+
subtotalRow: "Subtotal",
|
|
24
|
+
discountsRow: "Discounts",
|
|
25
|
+
taxRow: "Tax",
|
|
26
|
+
totalRow: "Total",
|
|
27
|
+
actionError: a.actionError,
|
|
28
|
+
actionSuccess: a.actionSuccess,
|
|
29
|
+
scheduledSummary: c,
|
|
30
|
+
scheduledStatusBadge: s,
|
|
31
|
+
awaitingApprovalNotice: r,
|
|
32
|
+
awaitingApprovalUnknownNotice: i,
|
|
33
|
+
paidOnLabel: (e) => `Paid on ${e}`,
|
|
34
|
+
rejectedByOn: (e, t) => `Rejected by ${e} on ${t}`,
|
|
35
|
+
rejectedOn: (e) => `Rejected on ${e}`,
|
|
36
|
+
rejectionMessage: (e) => `"${e}"`,
|
|
37
|
+
sheet: e,
|
|
38
|
+
history: l,
|
|
39
|
+
decisionDialog: a.decisionDialog,
|
|
40
|
+
approvalPolicyCopy: n,
|
|
41
|
+
markAsPaid: t
|
|
42
|
+
};
|
|
43
|
+
//#endregion
|
|
44
|
+
export { u as BILL_DETAILS_LABELS_EN };
|