{% load i18n %} {% block print-order-caption %}{% endblock %} {% block print-order-thead %} {% endblock print-order-thead %} {% block print-order-tbody %} {% for item in data.items %}
{# just to give a hint to the columnizer #}
{% endfor %} {% endblock print-order-tbody %} {% block print-order-tfoot %} {% for key, extra_row in data.extra.rows %} {% endfor %} {% endblock print-order-tfoot %}
{% trans "Product" %} {% trans "Quantity" %} {% trans "Unit Price" %} {% trans "Total" %}
{{ item.summary.media|safe }} {{ item.quantity }} {{ item.unit_price }} {{ item.line_total }}
{{ item.summary.body|safe }} {% for key, extra_row in item.extra.rows %}
{{ extra_row.label }}: {{ extra_row.amount }}
{% endfor %}
{% trans "Subtotal" %}
{{ data.subtotal }}
{{ extra_row.label }} {{ extra_row.amount }}

{% trans "Total" %}

{{ data.total }}