{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {if $context EQ 'Search'} {include file="CRM/common/pager.tpl" location="top"} {/if} {strip} {if ! $single and $context eq 'Search' } {/if} {foreach from=$columnHeaders item=header} {/foreach} {counter start=0 skip=1 print=false} {foreach from=$rows item=row} {if !$single } {if $context eq 'Search' } {assign var=cbName value=$row.checkbox} {/if} {/if} {/foreach} {if ($context EQ 'dashboard') AND $pager->_totalItems GT $limit} {/if}
{$form.toggleSelect.html} {if $header.sort} {assign var='key' value=$header.sort} {$sort->_response.$key.link} {else} {$header.name} {/if}
{$form.$cbName.html}{$row.contact_type} {$row.sort_name}{$row.grant_status} {$row.grant_type} {$row.grant_amount_total|crmMoney} {$row.grant_amount_granted|crmMoney} {$row.grant_application_received_date|truncate:10:''|crmDate} {if $row.grant_report_received}{ts}Yes{/ts}{else}{ts}No{/ts}{/if} {$row.grant_money_transfer_date|truncate:10:''|crmDate} {$row.action|replace:'xx':$row.grant_id}
» {ts}List more Grants{/ts}...
{/strip} {if $context EQ 'Search'} {include file="CRM/common/pager.tpl" location="bottom"} {/if}