From: Diego Muñio Date: Tue, 10 Mar 2020 11:27:00 +0000 (-0300) Subject: Contribution Summary Report: Taking the currency filtered in the "general total"... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e4fd174530aaf9014ae98d060dc3a80085e590ab;p=civicrm-core.git Contribution Summary Report: Taking the currency filtered in the "general total" row. Implements dev/report#27 --- 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}