diff --git a/gestaoRaul/db.sqlite3 b/gestaoRaul/db.sqlite3 index cf2fb2f..7ba8012 100644 Binary files a/gestaoRaul/db.sqlite3 and b/gestaoRaul/db.sqlite3 differ diff --git a/gestaoRaul/mesas/__pycache__/views.cpython-310.pyc b/gestaoRaul/mesas/__pycache__/views.cpython-310.pyc index 890fb2c..ebe9136 100644 Binary files a/gestaoRaul/mesas/__pycache__/views.cpython-310.pyc and b/gestaoRaul/mesas/__pycache__/views.cpython-310.pyc differ diff --git a/gestaoRaul/mesas/templates/mesas.html b/gestaoRaul/mesas/templates/mesas.html index edcd27a..32753be 100644 --- a/gestaoRaul/mesas/templates/mesas.html +++ b/gestaoRaul/mesas/templates/mesas.html @@ -15,8 +15,13 @@ RRB&C - Mesas
-
{{nome}} 1
-
Card 2
+ + {% for mesa in mesas %} + +
Mesa {{mesa}}
+ + {% endfor %} + {% comment %}
Card 2
Card 3
Card 4
Card 5
@@ -30,25 +35,8 @@ RRB&C - Mesas
Card 10
Card 8
Card 9
-
Card 10
-
Card 8
-
Card 9
-
Card 10
-
Card 8
-
Card 9
-
Card 10
-
Card 8
-
Card 9
-
Card 10
-
Card 8
-
Card 9
-
Card 10
-
Card 8
-
Card 9
-
Card 10
-
Card 8
-
Card 9
-
Card 10
+
Card 10
{% endcomment %} +
diff --git a/gestaoRaul/mesas/views.py b/gestaoRaul/mesas/views.py index 6721bad..97821cb 100644 --- a/gestaoRaul/mesas/views.py +++ b/gestaoRaul/mesas/views.py @@ -3,4 +3,4 @@ from django.shortcuts import render # Create your views here. def mesas(request): - return render(request, 'mesas.html') \ No newline at end of file + return render(request, 'mesas.html', {'mesas': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12']}) \ No newline at end of file diff --git a/gestaoRaul/templates/static/categories/css/categories.css b/gestaoRaul/templates/static/categories/css/categories.css new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/categories/js/categories.js b/gestaoRaul/templates/static/categories/js/categories.js new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/clients/css/clients.css b/gestaoRaul/templates/static/clients/css/clients.css new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/clients/js/clients.js b/gestaoRaul/templates/static/clients/js/clients.js new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/comandas/css/comandas.css b/gestaoRaul/templates/static/comandas/css/comandas.css new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/comandas/js/comandas.js b/gestaoRaul/templates/static/comandas/js/comandas.js new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/mesas/js/mesas.js b/gestaoRaul/templates/static/mesas/js/mesas.js new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/products/css/products.css b/gestaoRaul/templates/static/products/css/products.css new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/products/js/products.js b/gestaoRaul/templates/static/products/js/products.js new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/typePay/css/typePay.css b/gestaoRaul/templates/static/typePay/css/typePay.css new file mode 100644 index 0000000..e69de29 diff --git a/gestaoRaul/templates/static/typePay/js/typePay.js b/gestaoRaul/templates/static/typePay/js/typePay.js new file mode 100644 index 0000000..e69de29