diff --git a/gestaoRaul/clients/__pycache__/models.cpython-313.pyc b/gestaoRaul/clients/__pycache__/models.cpython-313.pyc index ddb9737..f08dd46 100644 Binary files a/gestaoRaul/clients/__pycache__/models.cpython-313.pyc and b/gestaoRaul/clients/__pycache__/models.cpython-313.pyc differ diff --git a/gestaoRaul/clients/__pycache__/urls.cpython-313.pyc b/gestaoRaul/clients/__pycache__/urls.cpython-313.pyc index 2e8cf4c..46cd597 100644 Binary files a/gestaoRaul/clients/__pycache__/urls.cpython-313.pyc and b/gestaoRaul/clients/__pycache__/urls.cpython-313.pyc differ diff --git a/gestaoRaul/clients/__pycache__/views.cpython-313.pyc b/gestaoRaul/clients/__pycache__/views.cpython-313.pyc index 2d14d09..3d3cef1 100644 Binary files a/gestaoRaul/clients/__pycache__/views.cpython-313.pyc and b/gestaoRaul/clients/__pycache__/views.cpython-313.pyc differ diff --git a/gestaoRaul/clients/migrations/__pycache__/0002_client_created_at_client_debt.cpython-313.pyc b/gestaoRaul/clients/migrations/__pycache__/0002_client_created_at_client_debt.cpython-313.pyc new file mode 100644 index 0000000..36ff3fd Binary files /dev/null and b/gestaoRaul/clients/migrations/__pycache__/0002_client_created_at_client_debt.cpython-313.pyc differ diff --git a/gestaoRaul/clients/templates/clients.html b/gestaoRaul/clients/templates/clients.html index 1073c83..36232a8 100644 --- a/gestaoRaul/clients/templates/clients.html +++ b/gestaoRaul/clients/templates/clients.html @@ -8,6 +8,10 @@ Clientes {% endblock %} +{% block 'head' %} + +{% endblock %} + {% block 'body' %} @@ -30,38 +34,34 @@ Clientes {% for client in clients %} - {{client.name}} - R$ {{client.debt}} - {{client.contact}} - {{client.active}} - -
- {{client.name}} + R$ {{client.debt}} + {{client.contact}} + {{client.active}} + +
+ + - - - -
+ + + + {% csrf_token %} + +
+
- - - - - - -
diff --git a/gestaoRaul/comandas/__pycache__/views.cpython-313.pyc b/gestaoRaul/comandas/__pycache__/views.cpython-313.pyc index 168de6e..ece44a5 100644 Binary files a/gestaoRaul/comandas/__pycache__/views.cpython-313.pyc and b/gestaoRaul/comandas/__pycache__/views.cpython-313.pyc differ diff --git a/gestaoRaul/comandas/templates/viewcomanda.html b/gestaoRaul/comandas/templates/viewcomanda.html index 2cff02d..41307cf 100644 --- a/gestaoRaul/comandas/templates/viewcomanda.html +++ b/gestaoRaul/comandas/templates/viewcomanda.html @@ -69,8 +69,8 @@ Detalhes {{comanda.name}} + src="{% static 'midia/icons/pen.svg' %}" + style="width: 30px; height: 35px; cursor: pointer;"> @@ -92,8 +92,8 @@ Detalhes {{comanda.name}} {% if item.product.cuisine == True %} + src="{% static 'midia/icons/note.svg' %}" + style="width: 25px; height: 35px; cursor: pointer;"> {% endif %} diff --git a/gestaoRaul/db.sqlite3 b/gestaoRaul/db.sqlite3 index 30396c3..57a8645 100644 Binary files a/gestaoRaul/db.sqlite3 and b/gestaoRaul/db.sqlite3 differ diff --git a/gestaoRaul/templates/static/clients/css/clients.css b/gestaoRaul/templates/static/clients/css/clients.css index 5bde6d7..07c2b11 100644 --- a/gestaoRaul/templates/static/clients/css/clients.css +++ b/gestaoRaul/templates/static/clients/css/clients.css @@ -53,19 +53,14 @@ input, textarea { * dialog { transform: scale(1); - /* display: flexbox; - max-width: 200; - max-height: 400; */ + } .grid-buttons { - display: grid; - grid-template-columns: repeat(2, 1fr); - gap: 10px; - max-width: 500px; /* Define a largura máxima do grid */ - /* margin: 0 auto; */ + display: flex; + gap: 10px; } .grid-container { @@ -88,7 +83,7 @@ input, textarea { border-radius: 15px; box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2); text-align: center; - line-height: 120px; /* Centraliza o texto verticalmente */ + line-height: 120px; font-size: 20px; font-weight: bold; color: #333; diff --git a/gestaoRaul/templates/static/clients/js/clients.js b/gestaoRaul/templates/static/clients/js/clients.js index 48055fd..6eff862 100644 --- a/gestaoRaul/templates/static/clients/js/clients.js +++ b/gestaoRaul/templates/static/clients/js/clients.js @@ -18,8 +18,14 @@ function openModal() { clientActive.checked = false } +function reloadPage(){ + setTimeout(function() { + location.reload();}, 100); + } + function closeModal() { - document.getElementById('Modal-create-client').style.display = 'none'; + reloadPage() + // document.getElementById('Modal-create-client').style.display = 'none'; } function editclient(id) { diff --git a/gestaoRaul/templates/static/midia/icons/note.svg b/gestaoRaul/templates/static/midia/icons/note.svg new file mode 100644 index 0000000..06c4e46 --- /dev/null +++ b/gestaoRaul/templates/static/midia/icons/note.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/gestaoRaul/templates/static/midia/icons/pay.svg b/gestaoRaul/templates/static/midia/icons/pay.svg new file mode 100644 index 0000000..7ec53f4 --- /dev/null +++ b/gestaoRaul/templates/static/midia/icons/pay.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/gestaoRaul/templates/static/midia/icons/pen.svg b/gestaoRaul/templates/static/midia/icons/pen.svg new file mode 100644 index 0000000..0420fb7 --- /dev/null +++ b/gestaoRaul/templates/static/midia/icons/pen.svg @@ -0,0 +1,12 @@ + + + + + + + + + + pen + + \ No newline at end of file