{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* CiviMember DashBoard (launch page) *} {if $membershipSummary}

{ts}Membership Summary{/ts} {help id="id-member-intro"}

{if $preMonth} {/if} {if $preMonth} {/if} {foreach from=$membershipSummary item=row} {if $preMonth} {/if} {* member/search?reset=1&force=1&membership_type_id=1¤t=1 *} {/foreach} {if $preMonth} {/if}
{ts}Members by Type{/ts}{$premonth} – {ts}(Last Month){/ts}{$month}{if $isCurrent}{ts} (MTD){/ts}{/if} {if $year eq $currentYear} {$year} {ts}(YTD){/ts} {else} {$year} {ts 1=$month}through %1{/ts} {/if} {if $isCurrent} {ts}Current #{/ts} {else} {ts 1=$month 2=$year}Members as of %1 %2{/ts} {/if}
{ts}New{/ts}{ts}Renew{/ts}{ts}Total{/ts}{ts}New{/ts}{ts}Renew{/ts}{ts}Total{/ts} {ts}New{/ts}{ts}Renew{/ts}{ts}Total{/ts}
{$row.month.total.name} {if $row.premonth.new.url}{$row.premonth.new.count} {else}{$row.premonth.new.count}{/if} {if $row.premonth.renew.url}{$row.premonth.renew.count} {else}{$row.premonth.renew.count}{/if} {if $row.premonth.total.url} {$row.premonth.total.count} {else} {$row.premonth.total.count} {/if} [ {if $row.premonth_owner.premonth_owner.url} {$row.premonth_owner.premonth_owner.count} {else} {$row.premonth_owner.premonth_owner.count} {/if}] {if $row.month.new.url}{$row.month.new.count} {else}{$row.month.new.count}{/if} {if $row.month.renew.url}{$row.month.renew.count} {else}{$row.month.renew.count}{/if} {if $row.month.total.url} {$row.month.total.count} {else} {$row.month.total.count} {/if} [ {if $row.month_owner.month_owner.url} {$row.month_owner.month_owner.count} {else} {$row.month_owner.month_owner.count} {/if}] {if $row.year.new.url}{$row.year.new.count} {else}{$row.year.new.count}{/if} {if $row.year.renew.url}{$row.year.renew.count} {else}{$row.year.renew.count}{/if} {if $row.year.total.url} {$row.year.total.count} {else} {$row.year.total.count} {/if} [ {if $row.year_owner.year_owner.url} {$row.year_owner.year_owner.count} {else} {$row.year_owner.year_owner.count} {/if}] {if $isCurrent} {if $row.current.total.url} {$row.current.total.count} {else} {$row.current.total.count} {/if} [ {if $row.current_owner.current_owner.url} {$row.current_owner.current_owner.count} {else} {$row.current_owner.current_owner.count} {/if} ] {else} {if $row.total.total.url} {$row.total.total.count} {else} {$row.total.total.count} {/if} [ {if $row.total_owner.total_owner.url} {$row.total_owner.total_owner.count} {else} {$row.total_owner.total_owner.count} {/if} ] {/if}
{ts}Totals (all types){/ts} {if $totalCount.premonth.new.url}{$totalCount.premonth.new.count} {else}{$totalCount.premonth.new.count}{/if} {if $totalCount.premonth.renew.url}{$totalCount.premonth.renew.count} {else}{$totalCount.premonth.renew.count}{/if} {if $totalCount.premonth.total.url} {$totalCount.premonth.total.count} {else} {$totalCount.premonth.total.count} {/if} [ {if $totalCount.premonth_owner.premonth_owner.url} {$totalCount.premonth_owner.premonth_owner.count} {else} {$totalCount.premonth_owner.premonth_owner.count} {/if}] {if $totalCount.month.new.url}{$totalCount.month.new.count} {else}{$totalCount.month.new.count}{/if} {if $totalCount.month.renew.url}{$totalCount.month.renew.count} {else}{$totalCount.month.renew.count}{/if} {if $totalCount.month.total.url} {$totalCount.month.total.count} {else} {$totalCount.month.total.count} {/if} [ {if $totalCount.month_owner.month_owner.url} {$totalCount.month_owner.month_owner.count} {else} {$totalCount.month_owner.month_owner.count} {/if}] {if $totalCount.year.new.url}{$totalCount.year.new.count} {else}{$totalCount.year.new.count}{/if} {if $totalCount.year.renew.url}{$totalCount.year.renew.count} {else}{$totalCount.year.renew.count}{/if} {if $totalCount.year.total.url} {$totalCount.year.total.count} {else} {$totalCount.year.total.count} {/if} [ {if $totalCount.year_owner.year_owner.url} {$totalCount.year_owner.year_owner.count} {else} {$totalCount.year_owner.year_owner.count} {/if}] {if $isCurrent} {if $row.total.total.url} {$totalCount.current.total.count} {else} {$totalCount.current.total.count} {/if} [ {if $row.total_owner.total_owner.url} {$totalCount.current_owner.current_owner.count} {else} {$totalCount.current_owner.current_owner.count} {/if} ] {else} {if $totalCount.total.url} {$totalCount.total.total.count} {else} {$totalCount.total.total.count} {/if} [ {if $totalCount.total_owner.total_owner.url} {$totalCount.total_owner.total_owner.count} {else} {$totalCount.total_owner.total_owner.count} {/if} ] {/if}
{ts}Primary member counts (those who "own" the membership rather than receiving via relationship) are in [brackets].{/ts}
{/if}
{if $rows} {* if $pager->_totalItems *}

{ts}Recent Memberships{/ts}

{ include file="CRM/Member/Form/Selector.tpl" context="dashboard" }
{* /if *} {/if}