feat: alert product add comanda

This commit is contained in:
2025-01-05 18:15:18 -03:00
parent 26af988846
commit 7ab0e99e6b
3 changed files with 18 additions and 1 deletions

View File

@@ -110,7 +110,7 @@ Detalhes {{comanda.name}}
<div id="product-list" class="grid-list-products">
{% for product in products %}
<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 >