22 lines
826 B
HTML
22 lines
826 B
HTML
<h3> Produtos </h3>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Produto</th>
|
|
<th>Total</th>
|
|
<th>Quant.</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for name, value in Sum_of_product.product_report.items %}
|
|
{% if value.product_item != 0 %}
|
|
<tr class="table table-striped" >
|
|
<td>{{ name }}</td>
|
|
<td>R$ {{ value.product_item|floatformat:2 }}</td>
|
|
<td>{{ value.product_cont }}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% empty %} <tr> <td colspan="2"> Vazio. </td> </tr> {% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<p>Total da Venda : R$: {{ Sum_of_product.sum_of_product|floatformat:2 }}</p> |