mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
fix: bug ao add product in comanda
This commit is contained in:
@@ -86,7 +86,8 @@ def addProduct(request, product_id, comanda_id):
|
||||
'id':order.id,
|
||||
'speak': f'Novo pedido! {product.name}, para {comanda.name}.'
|
||||
})
|
||||
asyncio.run(enviar_mensagem(msg))
|
||||
|
||||
# asyncio.run(enviar_mensagem(msg))
|
||||
consumo = ProductComanda.objects.filter(comanda=comanda_id)
|
||||
valores = somar(consumo,comanda)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user