File: //proc/self/cwd/nueva/modules/roja45quotationsprofree/views/templates/front/_charge_table.tpl
{*
* 2016 ROJA45
* All rights reserved.
*
* DISCLAIMER
*
* Changing this file will render any support provided by us null and void.
*
* @author Roja45
* @copyright 2016 Roja45
* @license /license.txt
*}
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th><span class="title_box ">{l s='Charge Name' mod='roja45quotationsprofree'}</span></th>
<th><span class="title_box ">{l s='Shipping' mod='roja45quotationsprofree'}</span></th>
<th><span class="title_box ">{l s='Handling' mod='roja45quotationsprofree'}</span></th>
<th><span class="title_box ">{l s='Value (exc. tax)' mod='roja45quotationsprofree'}</span></th>
<th><span class="title_box ">{l s='Value (inc. tax)' mod='roja45quotationsprofree'}</span></th>
</tr>
</thead>
<tbody>
{foreach from=$charges item=charge}
<tr class="charge_row" data-id-quotation-charge="{$charge['id_roja45_quotation_charge']|escape:"html":"UTF-8"}">
<td>{$charge['charge_name']|escape:"html":"UTF-8"}</td>
<td>{if $charge['charge_type']=='SHIPPING'}<i class="icon-check"></i>{/if}</td>
<td>{if $charge['charge_type']=='HANDLING'}<i class="icon-check"></i>{/if}</td>
<td>
<span>{displayPrice price=Tools::ps_round($charge['charge_amount'], 2) currency=$currency->id|escape:"html":"UTF-8"}</span>
</td>
<td>
<span>{displayPrice price=Tools::ps_round($charge['charge_amount_wt'], 2) currency=$currency->id|escape:"html":"UTF-8"}</span>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>