mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
update: comanda.js
This commit is contained in:
Binary file not shown.
@@ -13,8 +13,6 @@ from mesas.models import Mesa
|
|||||||
from gestaoRaul.decorators import group_required
|
from gestaoRaul.decorators import group_required
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@group_required(groupName='Garçom')
|
@group_required(groupName='Garçom')
|
||||||
def comandas(request):
|
def comandas(request):
|
||||||
comandas = Comanda.objects.filter(status__in=["OPEN", "PAYING"])
|
comandas = Comanda.objects.filter(status__in=["OPEN", "PAYING"])
|
||||||
|
|||||||
Binary file not shown.
@@ -70,13 +70,13 @@ function notificacao(){
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
alert('Erro verificar notificação:', error)
|
alert('Erro verificar notificação:', error,data['notificacao'])
|
||||||
console.error('Erro verificar notificação:', error);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
setInterval(()=> {
|
setInterval(()=> {
|
||||||
notificacao()
|
notificacao()
|
||||||
}, 10000)
|
}, 10000)
|
||||||
|
|||||||
Reference in New Issue
Block a user