We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3dde46 + dd90bdd commit e4dca68Copy full SHA for e4dca68
src/components/SettlementButton/index.tsx
@@ -70,7 +70,7 @@ function SettlementButton({
70
const isLoadingLastPaymentMethod = isLoadingOnyxValue(lastPaymentMethodResult);
71
const [policy] = useOnyx(`${ONYXKEYS.COLLECTION.POLICY}${policyID}`);
72
const isInvoiceReport = (!isEmptyObject(iouReport) && ReportUtils.isInvoiceReport(iouReport)) || false;
73
- const shouldShowPaywithExpensifyOption = !shouldHidePaymentOptions && policy?.reimbursementChoice !== CONST.POLICY.REIMBURSEMENT_CHOICES.REIMBURSEMENT_MANUAL;
+ const shouldShowPaywithExpensifyOption = !shouldHidePaymentOptions;
74
const shouldShowPayElsewhereOption = !shouldHidePaymentOptions && !isInvoiceReport;
75
const paymentButtonOptions = useMemo(() => {
76
const buttonOptions = [];
0 commit comments