first commit
This commit is contained in:
22
Base/templates/Login/Dashboard/Sum_of_product.html
Normal file
22
Base/templates/Login/Dashboard/Sum_of_product.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user