Skip to content

Commit e4dca68

Browse files
Merge pull request #51458 from mananjadhav/mj-pay-with-expensify-manual-reimb
fix: remove reimbursement manual check for payment option
2 parents c3dde46 + dd90bdd commit e4dca68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/SettlementButton/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function SettlementButton({
7070
const isLoadingLastPaymentMethod = isLoadingOnyxValue(lastPaymentMethodResult);
7171
const [policy] = useOnyx(`${ONYXKEYS.COLLECTION.POLICY}${policyID}`);
7272
const isInvoiceReport = (!isEmptyObject(iouReport) && ReportUtils.isInvoiceReport(iouReport)) || false;
73-
const shouldShowPaywithExpensifyOption = !shouldHidePaymentOptions && policy?.reimbursementChoice !== CONST.POLICY.REIMBURSEMENT_CHOICES.REIMBURSEMENT_MANUAL;
73+
const shouldShowPaywithExpensifyOption = !shouldHidePaymentOptions;
7474
const shouldShowPayElsewhereOption = !shouldHidePaymentOptions && !isInvoiceReport;
7575
const paymentButtonOptions = useMemo(() => {
7676
const buttonOptions = [];

0 commit comments

Comments
 (0)