mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
feat: alteração no db
This commit is contained in:
@@ -6,7 +6,7 @@ from mesas.models import Mesa
|
||||
|
||||
|
||||
def comandas(request):
|
||||
comandas = Comanda.objects.all()
|
||||
comandas = Comanda.objects.filter(status__in=["OPEN", "PAYING"])
|
||||
mesas = Mesa.objects.all()
|
||||
return render(request, 'comandas.html', {'comandas': comandas, 'mesas': mesas})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user