ordem add produtos na comanda

This commit is contained in:
2025-01-07 20:00:06 -03:00
parent b2641691fe
commit 6633110140
8 changed files with 37 additions and 23 deletions

View File

@@ -1,9 +1,8 @@
{% for product in products %}
{{co}}
<article style="background-color: #293552;" hx-get="{% url 'addProduct' product.id comanda_id %} " hx-trigger="click" hx-target="#list-products-comanda">
<article onclick="addProductComanda({{product.id}})" style="background-color: #293552;" hx-get="{% url 'addProduct' product.id comanda_id %} " hx-trigger="click" hx-target="#list-products-comanda">
{{product.name}} <br>
R$ {{product.price}}
</article>