captura de dados pra dashbooad

This commit is contained in:
2024-12-23 17:00:15 -03:00
parent a21b038868
commit 63c9859557
10 changed files with 104 additions and 35 deletions

View File

@@ -2,8 +2,15 @@
{% for product in products %}
<article onclick="reloadPage()" style="background-color: #293552;" hx-get="{% url 'addProduct' product.id comanda_id %} " hx-trigger="click" hx-swap="none">
{{product.name}} <br>
<article
id="product-{{ forloop.counter0 }}"
onclick="reloadPage()"
style="background-color: #293552;"
hx-get="{% url 'addProduct' product.id comanda_id %} "
hx-trigger="click"
hx-swap="none">
{{ forloop.counter0 }} {{product.name}} <br>
R$ {{product.price}}
</article>