{% load i18n static %} {% if debug %} {% endif %}

{% if metadata.type == "invoice" %} {% trans "Invoice" %} {% else %} {% trans "Credit note" %} {% endif %}

{% with currency=order.amount.currency %}
{% trans "Product" %} {% trans "Price" %} {% trans "VAT" %} ({{ order.amount.vat }}%) {% trans "Total" %}
{{ order.product.name }}
{{ order.product.description }}
{{ order.amount.subtotal|floatformat:2 }} {{ currency }} {{ order.amount.vat_amount|floatformat:2 }} {{ currency }} {{ order.amount.total|floatformat:2 }} {{ currency }}
{% endwith %}