diff --git a/gestaoRaul/db.sqlite3 b/gestaoRaul/db.sqlite3 index 60b004b..0d5ce01 100644 Binary files a/gestaoRaul/db.sqlite3 and b/gestaoRaul/db.sqlite3 differ diff --git a/gestaoRaul/home/templates/home.html b/gestaoRaul/home/templates/home.html index 5095859..73c4085 100644 --- a/gestaoRaul/home/templates/home.html +++ b/gestaoRaul/home/templates/home.html @@ -30,15 +30,15 @@ RRB&C - DashBoard

Mais Vendidos

- - - - +
ProdutoQuantidade
+ + + {% for produto in produtos_mais_vendidos %} - - + + {% endfor %} diff --git a/gestaoRaul/mesas/__pycache__/views.cpython-313.pyc b/gestaoRaul/mesas/__pycache__/views.cpython-313.pyc index c5c2333..6b75481 100644 Binary files a/gestaoRaul/mesas/__pycache__/views.cpython-313.pyc and b/gestaoRaul/mesas/__pycache__/views.cpython-313.pyc differ diff --git a/gestaoRaul/mesas/templates/mesas_map.html b/gestaoRaul/mesas/templates/mesas_map.html index 7b73e33..f082d2b 100644 --- a/gestaoRaul/mesas/templates/mesas_map.html +++ b/gestaoRaul/mesas/templates/mesas_map.html @@ -14,7 +14,17 @@ RRB&C - Mapa de Mesas {% block 'body' %} -
+ + +
{% for eixo in eixosXY %}
response.json()) .then(data => { console.log(data); - if(data.status == 'ok'){ - alert('Mesa movida com sucesso!') + if(data.status != 'ok'){ + alert('Erro ao salvar local:', error) } }) .catch(error => { diff --git a/gestaoRaul/templates/static/midia/mapMesa.webp b/gestaoRaul/templates/static/midia/mapMesa.webp new file mode 100644 index 0000000..03256b3 Binary files /dev/null and b/gestaoRaul/templates/static/midia/mapMesa.webp differ
ProdutoQuantidade
{{ produto.nome }} {{ produto.quantidade }} {{ produto.nome }} {{ produto.quantidade }}