{* +--------------------------------------------------------------------+ | 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 $annual.count OR $contributionSummary.total.count OR $contributionSummary.cancel.count OR $contributionSummary.soft_credit.count} {if $annual.count} {if $contributionSummary.cancel.amount} {/if} {/if} {if $contributionSummary } {if $contributionSummary.total.amount} {/if} {if $contributionSummary.cancel.amount} {/if} {if $contributionSummary.soft_credit.count} {include file="CRM/Contribute/Page/ContributionSoftTotals.tpl" softCreditTotals=$contributionSummary.soft_credit} {/if} {/if}
{ts}Current Year-to-Date{/ts} – {$annual.amount}   {ts}# Completed Contributions{/ts} – {$annual.count}   {ts}Avg Amount{/ts} – {$annual.avg} 
{ts}Total{/ts} – {$contributionSummary.total.amount}   {ts}# Completed{/ts} – {$contributionSummary.total.count}   {ts}Avg{/ts} – {$contributionSummary.total.avg}   {ts}Cancelled/Refunded{/ts} – {$contributionSummary.cancel.amount}
{/if}