Skip to content

Commit

Permalink
Merge pull request Expensify#49463 from Expensify/robert-negAmt
Browse files Browse the repository at this point in the history
IOU optimistic amount coefficient
  • Loading branch information
nkuoch committed Sep 20, 2024
2 parents d009d8e + 3bfa88d commit c666296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6450,7 +6450,7 @@ function getReportFromHoldRequestsOnyxData(
chatReport.reportID,
chatReport.policyID ?? iouReport.policyID ?? '',
recipient.accountID ?? 1,
holdTransactions.reduce((acc, transaction) => acc + transaction.amount, 0) * -1,
holdTransactions.reduce((acc, transaction) => acc + transaction.amount, 0) * (ReportUtils.isIOUReport(iouReport) ? 1 : -1),
getCurrency(firstHoldTransaction),
false,
newParentReportActionID,
Expand Down

0 comments on commit c666296

Please sign in to comment.