mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
trocado addProduct de htmx por ajax
This commit is contained in:
@@ -30,7 +30,7 @@ def addProductBalcao(request, product_id, comanda_id, qtd):
|
||||
total += produto.product.price
|
||||
return render(request, "htmx_components/htmx_list_products_in_balcao.html",{'consumo': consumo, 'total': total})
|
||||
|
||||
|
||||
@csrf_exempt
|
||||
def addProductBalcaoTeclado(request, product_id, comanda_id, qtd):
|
||||
qtd = int(request.COOKIES.get('qtd'))
|
||||
for i in range(qtd):
|
||||
|
||||
Reference in New Issue
Block a user