{* +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2018 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {include file="CRM/common/pager.tpl" location="top"} {strip}
{$form.toggleSelect.html} | {/if} {if !$single}{/if} {foreach from=$columnHeaders item=header} | {if $header.sort} {assign var='key' value=$header.sort} {$sort->_response.$key.link} {else} {$header.name} {/if} | {/foreach}||||||||
---|---|---|---|---|---|---|---|---|---|---|
{$form.$cbName.html} | {/if}{$row.contact_type} | {$row.sort_name} | {/if}
{if !$row.contribution_soft_credit_amount}
{$row.total_amount|crmMoney:$row.currency}
{/if}
{if $row.amount_level } ({$row.amount_level}){/if} {if $row.contribution_recur_id} {ts}(Recurring){/ts}{/if} |
{if $softCreditColumns}
{$row.contribution_soft_credit_amount|crmMoney:$row.currency} | {/if} {foreach from=$columnHeaders item=column} {assign var='columnName' value=$column.field_name} {if !$columnName}{* if field_name has not been set skip, this helps with not changing anything not specifically edited *} {elseif $columnName === 'total_amount'}{* rendered above as soft credit columns = confusing *} {elseif $column.type === 'actions'}{* rendered below as soft credit column handling = not fixed *} {elseif $columnName == 'contribution-status'}
{$row.contribution_status} {if $row.cancel_date} {$row.cancel_date|crmDate} {/if} |
{else}
{if $column.type == 'date'}
{$row.$columnName|crmDate} | {else}{$row.$columnName} | {/if} {/if} {/foreach} {if $softCreditColumns}{$row.contribution_soft_credit_name} | {$row.contribution_soft_credit_type} | {/if}{$row.action|replace:'xx':$row.contribution_id} |