mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
feat: ssl pra debug
This commit is contained in:
Binary file not shown.
@@ -13,6 +13,8 @@ from mesas.models import Mesa
|
||||
from gestaoRaul.decorators import group_required
|
||||
|
||||
|
||||
|
||||
|
||||
@group_required(groupName='Garçom')
|
||||
def comandas(request):
|
||||
comandas = Comanda.objects.filter(status__in=["OPEN", "PAYING"])
|
||||
@@ -93,7 +95,7 @@ def notificacao(request):
|
||||
if len(ordersPronto) > cookiesPronto:
|
||||
return JsonResponse({
|
||||
'notificacao': 'true',
|
||||
'pronto':len(ordersPronto),
|
||||
'pronto':len(ordersPronto),
|
||||
'titulo': ordersPronto[len(ordersPronto)-1].id_comanda.name,
|
||||
'corpo': ordersPronto[len(ordersPronto)-1].id_product.name,
|
||||
})
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -55,6 +55,7 @@ INSTALLED_APPS = [
|
||||
'balcao',
|
||||
'orders',
|
||||
'login',
|
||||
'django_extensions',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
||||
Binary file not shown.
@@ -174,11 +174,7 @@ function teclado(event){
|
||||
console.log(event.keyCode)
|
||||
}
|
||||
}else{
|
||||
if (event.keyCode == 13){
|
||||
troco()
|
||||
}else{
|
||||
console.log('')
|
||||
}
|
||||
console.log('')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user