}
$this->assign('lineItem', empty($lineItems) ? FALSE : $lineItems);
$values['totalAmount'] = $values['total_amount'];
+ $this->assign('displayLineItemFinancialType', TRUE);
//do check for campaigns
if ($campaignId = CRM_Utils_Array::value('campaign_id', $values)) {
'entity_table' => $dao->entity_table,
'contribution_id' => $dao->contribution_id,
'financial_type_id' => $dao->financial_type_id,
+ 'financial_type' => CRM_Core_PseudoConstant::getLabel('CRM_Contribute_BAO_Contribution', 'financial_type_id', $dao->financial_type_id),
'membership_type_id' => $dao->membership_type_id,
'membership_num_terms' => $dao->membership_num_terms,
'tax_amount' => $dao->tax_amount,
<table>
<tr class="columnheader">
<th>{ts}Item{/ts}</th>
+ {if $displayLineItemFinancialType}
+ <th>{ts}Financial Type{/ts}</th>
+ {/if}
{if $context EQ "Membership"}
<th class="right">{ts}Fee{/ts}</th>
{else}
{foreach from=$value item=line}
<tr{if $line.qty EQ 0} class="cancelled"{/if}>
<td>{if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div class="description">{$line.description}</div>{/if}</td>
+ {if $displayLineItemFinancialType}
+ <td>{$line.financial_type}</td>
+ {/if}
{if $context NEQ "Membership"}
<td class="right">{$line.qty}</td>
<td class="right">{$line.unit_price|crmMoney}</td>