{*
+--------------------------------------------------------------------+
| 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 |
+--------------------------------------------------------------------+
*}
{* Display monthly and yearly contributions using Google charts (Bar and Pie) *}
{if $hasContributions}
{if $hasByMonthChart}
{* display monthly chart *}
{else}
{ts}There were no contributions during the selected year.{/ts}
{/if}
|
{* display yearly chart *}
|
{else}
{/if}
{if $hasChart}
{include file="CRM/common/chart.tpl" contriChart=true}
{literal}
{/literal}
{/if}