{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {*Table displays contribution totals for a contact or search result-set *} {if !empty($annual.count) OR $contributionSummary.total.count OR $contributionSummary.cancel.count OR $contributionSummary.soft_credit.count} {if !empty($annual.count)} {if $contributionSummary.cancel.amount|smarty:nodefaults} {/if} {/if} {if $contributionSummary } {if $contributionSummary.total.amount} {/if} {if $contributionSummary.cancel.amount|smarty:nodefaults} {/if} {if $contributionSummary.soft_credit.count|smarty:nodefaults} {include file="CRM/Contribute/Page/ContributionSoftTotals.tpl" softCreditTotals=$contributionSummary.soft_credit|smarty:nodefaults} {/if} {/if}
{ts}Current Year-to-Date{/ts} – {$annual.amount|smarty:nodefaults}   {ts}# Completed Contributions{/ts} – {$annual.count|smarty:nodefaults}   {ts}Avg Amount{/ts} – {$annual.avg|smarty:nodefaults} 
{ts}Total{/ts} – {$contributionSummary.total.amount|smarty:nodefaults}   {ts}# Completed{/ts} – {$contributionSummary.total.count|smarty:nodefaults}   {ts}Avg{/ts} – {$contributionSummary.total.avg|smarty:nodefaults}   {ts}Cancelled/Refunded{/ts} – {$contributionSummary.cancel.amount|smarty:nodefaults}
{/if}