// @todo return this & fix query to do pseudoconstant thing.
'contribution_status' => 1,
'currency' => 1,
- 'cancel_date' => 1,
+ 'contribution_cancel_date' => 1,
'contribution_recur_id' => 1,
];
if (self::isSiteHasProducts()) {
{counter start=0 skip=1 print=false}
{foreach from=$rows item=row}
- <tr id="rowid{$row.contribution_id}" class="{cycle values="odd-row,even-row"} {if $row.cancel_date} cancelled{/if} crm-contribution_{$row.contribution_id}">
+ <tr id="rowid{$row.contribution_id}" class="{cycle values="odd-row,even-row"} {if $row.contribution_cancel_date} cancelled{/if} crm-contribution_{$row.contribution_id}">
{if !$single }
{if $context eq 'Search' }
{assign var=cbName value=$row.checkbox}
{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'}
+ {elseif $columnName == 'contribution_status'}
<td class="crm-contribution-status">
{$row.contribution_status}<br/>
- {if $row.cancel_date}
- {$row.cancel_date|crmDate}
+ {if $row.contribution_cancel_date}
+ {$row.contribution_cancel_date|crmDate}
{/if}
</td>
{else}
<td class="crm-contribution-thankyou_date">{$row.thankyou_date|truncate:10:''|crmDate}</td>
<td class="crm-contribution-status crm-contribution-status_{$row.contribution_status_id}">
{$row.contribution_status_id}<br />
- {if $row.cancel_date}
- {$row.cancel_date|truncate:10:''|crmDate}
+ {if $row.contribution_cancel_date}
+ {$row.contribution_cancel_date|truncate:10:''|crmDate}
{/if}
</td>
<td class="crm-contribution-product_name">{$row.product_name}</td>