diff --git a/datacenterlight/templates/datacenterlight/order_detail.html b/datacenterlight/templates/datacenterlight/order_detail.html index 31933e12..9fd6c9d5 100644 --- a/datacenterlight/templates/datacenterlight/order_detail.html +++ b/datacenterlight/templates/datacenterlight/order_detail.html @@ -98,22 +98,26 @@ {% if vm.vat > 0 or vm.discount.amount > 0 %}
- {% trans "Subtotal" %} - {{vm.price|floatformat:2|intcomma}} CHF -
-- {% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%) - {{vm.vat|floatformat:2|intcomma}} CHF -
- {% endif %} ++ {% trans "Subtotal" %} + {{vm.price|floatformat:2|intcomma}} CHF +
{% if vm.discount.amount > 0 %}{%trans "Discount" as discount_name %} {{ vm.discount.name|default:discount_name }} - {{ vm.discount.amount }} CHF
++ {% trans "Subtotal after discount" %} + {{vm.total_after_discount|floatformat:2|intcomma}} CHF +
+ {% endif %} + {% if vm.vat > 0 %} ++ {% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%) + {{vm.vat|floatformat:2|intcomma}} CHF +
{% endif %}- {% trans "Subtotal" %} - {{vm.price|floatformat:2|intcomma}} CHF -
-- {% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%) - {{vm.vat|floatformat:2|intcomma}} CHF -
- {% endif %} ++ {% trans "Subtotal" %} + {{vm.price|floatformat:2|intcomma}} CHF +
{% if vm.discount.amount > 0 %}{%trans "Discount" as discount_name %} {{ vm.discount.name|default:discount_name }} - {{ vm.discount.amount }} CHF
++ {% trans "Subtotal after discount" %} + {{vm.total_after_discount|floatformat:2|intcomma}} CHF +
+ {% endif %} + {% if vm.vat > 0 %} ++ {% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%) + {{vm.vat|floatformat:2|intcomma}} CHF +
{% endif %}