From e4fd174530aaf9014ae98d060dc3a80085e590ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Mu=C3=B1io?= Date: Tue, 10 Mar 2020 08:27:00 -0300 Subject: [PATCH] Contribution Summary Report: Taking the currency filtered in the "general total" row. Implements dev/report#27 --- templates/CRM/Report/Form/Layout/Table.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/CRM/Report/Form/Layout/Table.tpl b/templates/CRM/Report/Form/Layout/Table.tpl index 09a31e218e..4e0c9c2401 100644 --- a/templates/CRM/Report/Form/Layout/Table.tpl +++ b/templates/CRM/Report/Form/Layout/Table.tpl @@ -136,7 +136,11 @@ {foreach from=$columnHeaders item=header key=field} {if $header.type eq 1024} - {$grandStat.$field|crmMoney} + {if $currencyColumn} + {$grandStat.$field|crmMoney:$row.$currencyColumn} + {else} + {$grandStat.$field|crmMoney} + {/if} {else} {$grandStat.$field} {/if} -- 2.25.1