diff --git a/copanier/templates/delivery.html b/copanier/templates/delivery.html index a511071..8738fec 100644 --- a/copanier/templates/delivery.html +++ b/copanier/templates/delivery.html @@ -28,7 +28,7 @@ {% for product in delivery.products %} {{ product }} - {{ product.price }} € + {{ product.price | round(2) }} € {% if delivery.has_packing %} {{ product.packing or '—'}} {% endif %} diff --git a/copanier/templates/includes/order_summary.html b/copanier/templates/includes/order_summary.html index cbb1bba..ea3020f 100644 --- a/copanier/templates/includes/order_summary.html +++ b/copanier/templates/includes/order_summary.html @@ -4,7 +4,7 @@ {% if order[product].quantity %} {{ product }} - {{ product.price }} €{{ order[product].quantity }} + {{ product.price | round(2) }} €{{ order[product].quantity }} {% endif %} {% endfor %} diff --git a/copanier/templates/place_order.html b/copanier/templates/place_order.html index eaba9b3..8c0d84c 100644 --- a/copanier/templates/place_order.html +++ b/copanier/templates/place_order.html @@ -27,7 +27,7 @@ {% endwith %} {% endif %}

- {{ product.price }} € + {{ product.price | round(2) }} € {% if delivery.has_packing %} {{ product.packing or "—" }}{% if delivery.status == delivery.ADJUSTMENT and delivery.product_missing(product) %} (−{{ delivery.product_missing(product) }}){% endif %} {% endif %}