Skip to content

Commit

Permalink
Pass policy argument to fix system messages
Browse files Browse the repository at this point in the history
  • Loading branch information
MonilBhavsar committed May 14, 2024
1 parent 1e57b99 commit fa95dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepAmount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ function IOURequestStepAmount({
const taxAmount = getTaxAmount(transaction, policy, newAmount, currency);
const taxCode = TransactionUtils.getDefaultTaxCode(policy, transaction, currency) ?? '';

IOU.updateMoneyRequestAmountAndCurrency({transactionID, transactionThreadReportID: reportID, currency, amount: newAmount, taxAmount, taxCode});
IOU.updateMoneyRequestAmountAndCurrency({transactionID, transactionThreadReportID: reportID, currency, amount: newAmount, taxAmount, policy, taxCode});
Navigation.dismissModal();
};

Expand Down

0 comments on commit fa95dbb

Please sign in to comment.