mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 21:45:41 +00:00
bug: add product balcao resolved
This commit is contained in:
@@ -3,13 +3,12 @@
|
||||
{% for product in products %}
|
||||
|
||||
{% if forloop.counter0 == 0 %}
|
||||
<input hidden type="text" id="idComanda0" value="{{comanda_id}}">
|
||||
|
||||
<article
|
||||
name="productBox"
|
||||
id="productId-{{ product.id }}"
|
||||
style="background-color: #293552;"
|
||||
onclick="addProductClick({{product.id}} , {{comanda_id}})"
|
||||
onclick="addProductClick({{product.id}} )"
|
||||
>
|
||||
<p hidden id="{{forloop.counter0}}" >{{product.id}}</p>
|
||||
<p hidden id="comanda{{forloop.counter0}}" >{{comanda.id}}</p>
|
||||
@@ -23,7 +22,7 @@
|
||||
name="productBox"
|
||||
id="productId-{{ product.id }}"
|
||||
style="background-color: #293552;"
|
||||
onclick="addProductClick({{product.id}} , {{comanda.id}})"
|
||||
onclick="addProductClick({{product.id}})"
|
||||
>
|
||||
{{product.name}} <br>
|
||||
R$ {{product.price}}
|
||||
|
||||
Reference in New Issue
Block a user