feat: alteração no db

This commit is contained in:
2024-12-20 09:40:33 -03:00
parent a91fe5abf6
commit dfb7418e7a
224 changed files with 35465 additions and 3 deletions

View File

@@ -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})