mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
refactor:alteração modal de add product na comanda
This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
{% for product in products %}
|
||||
|
||||
<div
|
||||
onclick="addProductComanda({{product.id}})"
|
||||
onclick="addProductComanda({{product.id}}, {{comanda_id}}, '{{product.cuisine}}')"
|
||||
class="card-product"
|
||||
hx-get="{% url 'addProduct' product.id comanda_id %} "
|
||||
hx-trigger="click"
|
||||
hx-target="#list-products-comanda">
|
||||
>
|
||||
{{product.name}} <br>
|
||||
R$ {{product.price}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user