mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
add permissoes as views
This commit is contained in:
@@ -5,10 +5,11 @@ from products.models import Product
|
||||
from mesas.models import Mesa
|
||||
from django.db.models import Count, F
|
||||
from django.contrib.auth.models import User
|
||||
from gestaoRaul.decorators import group_required
|
||||
|
||||
|
||||
|
||||
|
||||
@group_required(groupName='Garçom')
|
||||
def viewBalcao(request):
|
||||
try:
|
||||
comanda = Comanda.objects.get(name='VENDA BALCÃO')
|
||||
|
||||
Reference in New Issue
Block a user