diff --git a/gestaoRaul/balcao/templates/viewBalcao.html b/gestaoRaul/balcao/templates/viewBalcao.html index 5d1958e..7682493 100644 --- a/gestaoRaul/balcao/templates/viewBalcao.html +++ b/gestaoRaul/balcao/templates/viewBalcao.html @@ -72,30 +72,32 @@ {% for product in products %} {% if forloop.counter0 == 0 %} -
- - - {{product.name}}
-

- R$ {{product.price}} -
+
+ + +

{{product.name}}

+

+

R$ {{product.price}}

+
- {% else %} + {% else %} -
- {{product.name}}
- R$ {{product.price}} -
+
+

{{product.name}}

+

R$ {{product.price}}

+
{% endif %} diff --git a/gestaoRaul/comandas/templates/viewcomanda.html b/gestaoRaul/comandas/templates/viewcomanda.html index c13ab05..8d6ff2b 100644 --- a/gestaoRaul/comandas/templates/viewcomanda.html +++ b/gestaoRaul/comandas/templates/viewcomanda.html @@ -203,9 +203,12 @@ Detalhes {{comanda.name}}
{% for product in products %} -
- {{product.name}}
- R$ {{product.price}} +
+

{{product.name}}

+

R$ {{product.price}}

{% endfor %}
diff --git a/gestaoRaul/db.sqlite3 b/gestaoRaul/db.sqlite3 index 84aea1e..806612a 100644 Binary files a/gestaoRaul/db.sqlite3 and b/gestaoRaul/db.sqlite3 differ diff --git a/gestaoRaul/templates/htmx_components/comandas/htmx_list_products.html b/gestaoRaul/templates/htmx_components/comandas/htmx_list_products.html index 9245b3d..1369fa2 100644 --- a/gestaoRaul/templates/htmx_components/comandas/htmx_list_products.html +++ b/gestaoRaul/templates/htmx_components/comandas/htmx_list_products.html @@ -2,13 +2,13 @@ {% for product in products %} -
- {{product.name}}
- R$ {{product.price}} -
+
+

{{product.name}}

+

R$ {{product.price}}

+
{% endfor %} diff --git a/gestaoRaul/templates/htmx_components/htmx_list_products_balcao.html b/gestaoRaul/templates/htmx_components/htmx_list_products_balcao.html index 578b3ac..1239fc7 100644 --- a/gestaoRaul/templates/htmx_components/htmx_list_products_balcao.html +++ b/gestaoRaul/templates/htmx_components/htmx_list_products_balcao.html @@ -5,6 +5,7 @@ {% if forloop.counter0 == 0 %}
- {{product.name}}

- R$ {{product.price}} +

{{product.name}}

+

+

R$ {{product.price}}

{% else %}
- {{product.name}}
- R$ {{product.price}} +

{{product.name}}

+

R$ {{product.price}}

{% endif %} @@ -37,6 +40,12 @@ - +
+

{{product.name}}

+

R$ {{product.price}}

+
diff --git a/gestaoRaul/templates/htmx_components/products/htmx_search_products.html b/gestaoRaul/templates/htmx_components/products/htmx_search_products.html index e31b700..8fe4717 100644 --- a/gestaoRaul/templates/htmx_components/products/htmx_search_products.html +++ b/gestaoRaul/templates/htmx_components/products/htmx_search_products.html @@ -16,6 +16,8 @@ R$ {{product.price}} {{product.quantity}} {{product.category.name}} +{{product.image}} +