2014-07-16 12:48:34 +00:00
|
|
|
<table class="table table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Sr</th>
|
|
|
|
<th>Item Name</th>
|
|
|
|
<th>Description</th>
|
2014-07-18 11:09:31 +00:00
|
|
|
<th class="text-right">Qty</th>
|
|
|
|
<th class="text-right">Rate</th>
|
|
|
|
<th class="text-right">Amount</th>
|
2014-07-16 12:48:34 +00:00
|
|
|
</tr>
|
|
|
|
{%- for row in data -%}
|
|
|
|
<tr>
|
|
|
|
<td style="width: 3%;">{{ row.idx }}</td>
|
|
|
|
<td style="width: 20%;">
|
|
|
|
{{ row.item_name }}
|
|
|
|
{% if row.item_code != row.item_name -%}
|
|
|
|
<br>Item Code: {{ row.item_code}}
|
|
|
|
{%- endif %}
|
|
|
|
</td>
|
|
|
|
<td style="width: 37%;">
|
|
|
|
<div style="border: 0px;">{{ row.description }}</div></td>
|
2014-07-18 11:09:31 +00:00
|
|
|
<td style="width: 10%; text-align: right;">{{ row.qty }} {{ row.stock_uom }}</td>
|
2014-07-16 12:48:34 +00:00
|
|
|
<td style="width: 15%; text-align: right;">{{
|
|
|
|
format(row.rate, table_meta.get_field("rate"), doc) }}</td>
|
|
|
|
<td style="width: 15%; text-align: right;">{{ format(row.amount, table_meta.get_field("amount"), doc) }}</td>
|
|
|
|
</tr>
|
|
|
|
{%- endfor -%}
|
|
|
|
</tbody>
|
|
|
|
</table>
|