Skip to content

Commit

Permalink
Merge pull request #39682 from Expensify/monil-fixTaxAmountOptimistic…
Browse files Browse the repository at this point in the history
…Message

Fix optimistic system message when updating tax amount
  • Loading branch information
MonilBhavsar authored Apr 5, 2024
2 parents b0a50cb + a0ce1d5 commit f95bf85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2779,6 +2779,7 @@ function getModifiedExpenseOriginalMessage(
if ('taxAmount' in transactionChanges) {
originalMessage.oldTaxAmount = TransactionUtils.getTaxAmount(oldTransaction, isFromExpenseReport);
originalMessage.taxAmount = transactionChanges?.taxAmount;
originalMessage.currency = TransactionUtils.getCurrency(oldTransaction);
}

if ('taxCode' in transactionChanges) {
Expand Down

0 comments on commit f95bf85

Please sign in to comment.