Merge pull request #13283 from aydun/token_note_fix
[civicrm-core.git] / templates / CRM / Contribute / Page / ManagePremiums.tpl
index e85be285f3d9013f021d753cca940108e3a3c8ad..3059490c6df4a1a1ac88b6049221a76aa51aefeb 100644 (file)
@@ -2,7 +2,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018                                |
+ | Copyright CiviCRM LLC (c) 2004-2019                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -43,7 +43,7 @@
 <div id="ltype">
     {strip}
   {* handle enable/disable actions*}
-   {include file="CRM/common/enableDisableApi.tpl"}
+  {include file="CRM/common/enableDisableApi.tpl"}
   {include file="CRM/common/jsortable.tpl"}
         <table id="options" class="display">
           <thead>
@@ -51,8 +51,9 @@
             <th id="sortable">{ts}Name{/ts}</th>
             <th>{ts}SKU{/ts}</th>
             <th>{ts}Market Value{/ts}</th>
-            <th>{ts}Financial Type{/ts}</th>
             <th>{ts}Min Contribution{/ts}</th>
+            <th>{ts}Actual Cost{/ts}</th>
+            <th>{ts}Financial Type{/ts}</th>
             <th>{ts}Active?{/ts}</th>
             <th></th>
            </tr>
         <tr id="product-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
           <td class="crm-contribution-form-block-name crm-editable" data-field="name">{$row.name}</td>
           <td class="crm-contribution-form-block-sku crm-editable" data-field="sku">{$row.sku}</td>
-          <td class="crm-contribution-form-block-price">{$row.price }</td>
-          <td class="crm-contribution-form-block-financial_type">{$row.financial_type_id}</td>
-          <td class="crm-contribution-form-block-min_contribution">{$row.min_contribution}</td>
+          <td class="crm-contribution-form-block-price">{$row.price|crmMoney}</td>
+          <td class="crm-contribution-form-block-min_contribution">{$row.min_contribution|crmMoney}</td>
+          <td class="crm-contribution-form-block-cost">{$row.cost|crmMoney}</td>
+          <td class="crm-contribution-form-block-financial_type">{$row.financial_type}</td>
           <td id="row_{$row.id}_status" >{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
           <td id={$row.id}>{$row.action|replace:'xx':$row.id}</td>
         </tr>