{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
- {include file="CRM/common/crmeditable.tpl"}
<table id="options" class="row-highlight">
<thead>
<tr>
<th>{ts}Default{/ts}</th>
<th>{ts}Financial Type{/ts}</th>
<th>{ts}Order{/ts}</th>
+ {if $getTaxDetails}
+ <th>{ts}Tax Label{/ts}</th>
+ <th>{ts}Tax Amount{/ts}</th>
+ {/if}
<th>{ts}Enabled?{/ts}</th>
<th></th>
</tr>
<td class="crm-price-option-is_default">{if $row.is_default}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}" />{/if}</td>
<td class="nowrap crm-price-option-financial-type-id">{$row.financial_type_id}</td>
<td class="nowrap crm-price-option-order">{$row.weight}</td>
+ {if $getTaxDetails}
+ <td>{if $row.tax_rate != '' }
+ {$taxTerm} ({$row.tax_rate|string_format:"%.2f"}%)
+ {/if}
+ </td>
+ <td>{$row.tax_amount|crmMoney}</td>
+ {/if}
<td id="row_{$row.id}_status" class="crm-price-option-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/if}
{if $addMoreFields && !$isReserved}
<div class="action-link">
- <a href="{crmURL q="reset=1&action=add&fid=$fid&sid=$sid"}" class="button"><span><div class="icon add-icon"></div> {ts 1=$fieldTitle}New Option for '%1'{/ts}</span></a>
+ <a href="{crmURL q="reset=1&action=add&fid=$fid&sid=$sid"}" class="button"><span><div class="icon ui-icon-circle-plus"></div> {ts 1=$fieldTitle}New Option for '%1'{/ts}</span></a>
<a href="{crmURL p="civicrm/admin/price/field" q="reset=1&sid=$sid"}" class="button cancel no-popup"><span><div class="icon ui-icon-close"></div> {ts}Done{/ts}</span></a>
</div>
{/if}