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:
@@ -7,3 +7,5 @@ python manage.py startapp polls
|
|||||||
python manage.py makemigrations
|
python manage.py makemigrations
|
||||||
python manage.py migrate
|
python manage.py migrate
|
||||||
python manage.py createsuperuser
|
python manage.py createsuperuser
|
||||||
|
pip freeze > requirements.txt
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|||||||
Binary file not shown.
@@ -13,6 +13,8 @@ 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.
Binary file not shown.
@@ -55,6 +55,7 @@ INSTALLED_APPS = [
|
|||||||
'balcao',
|
'balcao',
|
||||||
'orders',
|
'orders',
|
||||||
'login',
|
'login',
|
||||||
|
'django_extensions',
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
|||||||
Binary file not shown.
@@ -173,13 +173,9 @@ function teclado(event){
|
|||||||
}else{
|
}else{
|
||||||
console.log(event.keyCode)
|
console.log(event.keyCode)
|
||||||
}
|
}
|
||||||
}else{
|
|
||||||
if (event.keyCode == 13){
|
|
||||||
troco()
|
|
||||||
}else{
|
}else{
|
||||||
console.log('')
|
console.log('')
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
function addOrder(){
|
function addOrder(){
|
||||||
|
|||||||
Reference in New Issue
Block a user