{# include this template to list all items of the given order #} {% load i18n post_office %}{% spaceless %} {% block email-order-head %} {% endblock email-order-head %} {% block email-order-body %} {% for item in order.items %} {% endfor %} {% endblock email-order-body %} {% block email-order-foot %} {% for _, extra_row in order.extra.rows %} {% endfor %} {% endblock email-order-foot %}
{% block email-order-caption %} {% blocktrans with order_number=order.number %}Summary of Your Order {{ order_number }}{% endblocktrans %} {% endblock %}
{% trans "Quantity" %} {% trans "Product" %} {% trans "Price" %}
{{ item.quantity }} × {{ item.summary.product_name }} {{ item.summary.caption|safe }} {{ item.line_total }}
{% for _, extra_row in item.extra.rows %} {{ extra_row.label }} {% endfor %} {% for _, extra_row in item.extra.rows %} {{ extra_row.amount }} {% endfor %}
{% trans "Subtotal" %}: {{ order.subtotal }}
{{ extra_row.label }}: {{ extra_row.amount }}
{% trans "Total" %}: {{ order.total }}
{% endspaceless %}