Skip to content

Commit 64715ae

Browse files
remove guard for negative amount to display received payment option for admin
Co-authored-by: Pujan Shah <shahpujan1992@gmail.com>
1 parent f899b7a commit 64715ae

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/libs/ReportSecondaryActionUtils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,6 @@ function isReceivedPaymentAction(report: Report, reportActions: ReportAction[] =
445445
return false;
446446
}
447447

448-
const {reimbursableSpend} = getMoneyRequestSpendBreakdown(report);
449-
if (reimbursableSpend <= 0) {
450-
return false;
451-
}
452448

453449
if (policy?.role === CONST.POLICY.ROLE.ADMIN || report.isWaitingOnBankAccount) {
454450
return false;

0 commit comments

Comments
 (0)