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