first commit

This commit is contained in:
2026-01-02 09:19:43 -03:00
parent 63cf724aaf
commit cc44b7ef4f
187 changed files with 2484 additions and 686 deletions

View File

@@ -0,0 +1,31 @@
<div class="container-fluid mt-2 bg-dark text-light p-2" style="font-size: 0.85rem;">
<h6 class="text-secondary text-uppercase border-bottom border-secondary pb-1 mb-2">
<i class="bi bi-cart me-1"></i>Produtos
</h6>
<div class="border border-secondary rounded overflow-hidden">
<div class="d-flex justify-content-between px-2 py-1 bg-black bg-opacity-40 text-secondary" style="font-size: 0.7rem;">
<span>PRODUTO (QTD)</span>
<span>TOTAL</span>
</div>
{% for name, value in Sum_of_product.product_report.items %}
{% if value.product_item != 0 %}
<div class="d-flex justify-content-between align-items-center p-1 px-2 border-bottom border-secondary border-opacity-25 bg-opacity-5">
<span class="text-truncate" style="max-width: 70%;">
{{ name }}
<span class="badge bg-secondary ms-1" style="font-size: 0.65rem;">{{ value.product_cont }}x</span>
</span>
<span class="fw-bold">R$ {{ value.product_item|floatformat:2 }}</span>
</div>
{% endif %}
{% empty %}
<div class="p-2 text-center text-muted italic">Vazio.</div>
{% endfor %}
<div class="d-flex justify-content-between align-items-center p-1 px-2 bg-black bg-opacity-50">
<span class="text-uppercase" style="font-size: 0.7rem;">Total da Venda</span>
<span class="text-warning fw-bold">R$ {{ Sum_of_product.sum_of_product|floatformat:2 }}</span>
</div>
</div>
</div>