Contribution Summary Report: Taking the currency filtered in the "general total"...
authorDiego Muñio <muniodiego@gmail.com>
Tue, 10 Mar 2020 11:27:00 +0000 (08:27 -0300)
committerDiego Muñio <muniodiego@gmail.com>
Tue, 10 Mar 2020 11:27:00 +0000 (08:27 -0300)
templates/CRM/Report/Form/Layout/Table.tpl

index 09a31e218ec6c4e372dfcbb1054e2b75e7d19c03..4e0c9c2401d0edfd4bd72143a86f6e8a114354f9 100644 (file)
                 {foreach from=$columnHeaders item=header key=field}
                     <td class="report-label">
                         {if $header.type eq 1024}
-                            {$grandStat.$field|crmMoney}
+                            {if $currencyColumn}
+                                {$grandStat.$field|crmMoney:$row.$currencyColumn}
+                            {else}
+                                {$grandStat.$field|crmMoney}
+                            {/if}
                         {else}
                             {$grandStat.$field}
                         {/if}