diff --git a/comandos.txt b/comandos.txt index 4158d05..b6d76f9 100644 --- a/comandos.txt +++ b/comandos.txt @@ -9,3 +9,4 @@ python manage.py migrate python manage.py createsuperuser pip freeze > requirements.txt pip install -r requirements.txt +python manage.py runserver_plus 192.168.0.100:8000 --cert-file /tmp/cert.crt diff --git a/gestaoRaul/db.sqlite3 b/gestaoRaul/db.sqlite3 index 4701ea8..6abb85a 100644 Binary files a/gestaoRaul/db.sqlite3 and b/gestaoRaul/db.sqlite3 differ diff --git a/gestaoRaul/orders/templates/orders.html b/gestaoRaul/orders/templates/orders.html index 56274f5..0e73a7d 100644 --- a/gestaoRaul/orders/templates/orders.html +++ b/gestaoRaul/orders/templates/orders.html @@ -1,5 +1,7 @@ {% extends "base.html" %} {% load static %} +{% load custom_filter_tag %} + @@ -51,9 +53,11 @@

{{order.id_comanda.name}} - {{order.id_comanda.mesa.name}}

Atendente: {{order.id_comanda.user.first_name}}

{{order.queue|date:"D"}} {{order.queue|date:"d/m/Y - H:i"}}

+ {% if user|groupUser:"Cozinha" %} + {% endif %} {% endif %} {% endfor %} @@ -75,9 +79,11 @@

{{order.id_comanda.name}} - {{order.id_comanda.mesa.name}}

Atendente: {{order.id_comanda.user.first_name}}

{{order.queue|date:"D"}} {{order.queue|date:"d/m/Y - H:i"}}

+ {% if user|groupUser:"Cozinha" %} + {% endif %} {% endif %} {% endfor %} @@ -98,9 +104,11 @@

{{order.id_comanda.name}} - {{order.id_comanda.mesa.name}}

Atendente: {{order.id_comanda.user.first_name}}

{{order.queue|date:"D"}} {{order.queue|date:"d/m/Y - H:i"}}

+ {% if user|groupUser:"Garçom" %} + {% endif %} {% endif %} {% endfor %} diff --git a/gestaoRaul/templates/base.html b/gestaoRaul/templates/base.html index d9573bf..e390554 100644 --- a/gestaoRaul/templates/base.html +++ b/gestaoRaul/templates/base.html @@ -4,7 +4,7 @@ - + @@ -24,7 +24,6 @@