{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.7 |
+ | CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2018 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
</div>
{/if}
+
+<div class="crm-content-block crm-block">
{if $rows}
<div id="ltype">
-<p></p>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
<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}Financial Type{/ts}</th>
<th>{ts}Min Contribution{/ts}</th>
<th>{ts}Active?{/ts}</th>
<th></th>
<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-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 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>
+ </tr>
{/foreach}
</table>
{/strip}
</div>
{/if}
{/if}
+</div>
{/if}
{/if}