Skip to content

Commit

Permalink
Update getTransactionAmount call to allow negative
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed Jan 30, 2025
1 parent 150ea82 commit edc0902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3331,7 +3331,7 @@ function getTransactionDetails(transaction: OnyxInputOrEntry<Transaction>, creat
const report = getReportOrDraftReport(transaction?.reportID);
return {
created: getFormattedCreated(transaction, createdDateFormat),
amount: getTransactionAmount(transaction, !isEmptyObject(report) && isExpenseReport(report), true),
amount: getTransactionAmount(transaction, !isEmptyObject(report) && isExpenseReport(report), undefined, true),
attendees: getAttendees(transaction),
taxAmount: getTaxAmount(transaction, !isEmptyObject(report) && isExpenseReport(report)),
taxCode: getTaxCode(transaction),
Expand Down

0 comments on commit edc0902

Please sign in to comment.