From 87a825c45d278041494bb56930a47e01a65d5532 Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Fri, 7 Jan 2022 11:04:33 -0800 Subject: [PATCH] Fixed missing code in previous update --- .../finance/reports/debtors/openDebtors.handlebars | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/controllers/finance/reports/debtors/openDebtors.handlebars b/server/controllers/finance/reports/debtors/openDebtors.handlebars index dcfad7e552..a644fc384c 100644 --- a/server/controllers/finance/reports/debtors/openDebtors.handlebars +++ b/server/controllers/finance/reports/debtors/openDebtors.handlebars @@ -43,7 +43,7 @@ {{debtor.display_name }} {{#if ../details.showDetailedView}}{{date debtor.latestInvoiceDate}}{{/if}} {{#if ../details.showDetailedView}}{{date debtor.latestCashDate}}{{/if}} - {{currency debtor.balance ../metadata.enterprise.currency_id}} + {{currency (multiply debtor.balance ../rate) ../currencyId}} {{else}} {{> emptyTable columns=5}} @@ -54,7 +54,7 @@ {{translate "TABLE.COLUMNS.TOTAL"}} {{aggregates.numDebtors}} {{translate "TABLE.AGGREGATES.RECORDS"}} {{#if details.showDetailedView}}{{/if}} - {{currency aggregates.balance metadata.enterprise.currency_id}} + {{currency (multiply aggregates.balance rate) currencyId}} {{/if}}