first commit
This commit is contained in:
24
Base/templates/Login/Dashboard/Service.html
Normal file
24
Base/templates/Login/Dashboard/Service.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<h3> Serviço </h3>
|
||||
<div class="row">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Produtos</th>
|
||||
<th>Total</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for Prod, sum in Service.Service.items %}
|
||||
{% if sum != 0 %}
|
||||
<tr class="table table-striped" >
|
||||
<td>{{ Prod }}</td>
|
||||
<td>R$ {{ sum|floatformat:2 }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% empty %} <tr> <td colspan="2"> Vazio. </td> </tr> {% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<p> Total R$: {{ Service.sum|floatformat:2 }}</p>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
Reference in New Issue
Block a user