From 1d1049043e9115a0d442bf5e0d09460983122faf Mon Sep 17 00:00:00 2001 From: Ahmed Bouhuolia Date: Sat, 23 Sep 2023 14:19:59 +0200 Subject: [PATCH] fix(webapp): invoice total currency should be dynamic --- .../Sales/Invoices/InvoiceForm/InvoiceFormFooterRight.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webapp/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormFooterRight.tsx b/packages/webapp/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormFooterRight.tsx index c9ba4b687..a82db600e 100644 --- a/packages/webapp/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormFooterRight.tsx +++ b/packages/webapp/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormFooterRight.tsx @@ -22,7 +22,7 @@ export function InvoiceFormFooterRight() { } = useInvoiceTotals(); const { - values: { inclusive_exclusive_tax }, + values: { inclusive_exclusive_tax, currency_code }, } = useFormikContext(); const taxEntries = useInvoiceAggregatedTaxRates(); @@ -48,7 +48,7 @@ export function InvoiceFormFooterRight() { /> ))}