bug: add product balcao resolved

This commit is contained in:
2025-01-15 13:42:15 -03:00
parent 43d9cd9c5b
commit 8a13a8806a
14 changed files with 16 additions and 14 deletions

View File

@@ -18,6 +18,7 @@
<div class="grid-container">
<div style="text-align: center;">
<h1>Venda Balcão</h1>
<input hidden id="id-comanda-balcao" type="text" name="id-comanda-balcao" value="{{comanda.id}}">
<div>
<button id="pagarComanda" onclick="modal_payment_comanda()"
@@ -74,7 +75,7 @@
<article
name="productBox"
id="productId-{{ product.id }}"
onclick="addProductClick({{product.id}} , {{comanda.id}})"
onclick="addProductClick({{product.id}})"
style="background-color: #293552;">
<p hidden id="{{forloop.counter0}}">{{product.id}}</p>
<p hidden id="comanda{{forloop.counter0}}">{{comanda.id}}</p>
@@ -88,7 +89,7 @@
<article
name="productBox"
id="productId-{{ product.id }}"
onclick="addProductClick({{product.id}} , {{comanda.id}})"
onclick="addProductClick({{product.id}} )"
style="background-color: #293552;">
{{product.name}} <br>
R$ {{product.price}}