From fa95dbb7210be98cd714aeb973e608f16f2167b4 Mon Sep 17 00:00:00 2001 From: Monil Bhavsar Date: Tue, 14 May 2024 11:12:45 +0530 Subject: [PATCH] Pass policy argument to fix system messages --- src/pages/iou/request/step/IOURequestStepAmount.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/iou/request/step/IOURequestStepAmount.tsx b/src/pages/iou/request/step/IOURequestStepAmount.tsx index c0f4349506fc..f013d0e0517e 100644 --- a/src/pages/iou/request/step/IOURequestStepAmount.tsx +++ b/src/pages/iou/request/step/IOURequestStepAmount.tsx @@ -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(); };