{% load i18n %}

{{ invoice.model_name }} #{{ invoice.id }} {% trans 'Date' %}: {{ invoice.created|date:'d.m.Y' }}

{% for item in invoice.items.all %} {% endfor %}
{% trans 'Product' %} {% trans 'Code' %} {% trans 'Quantity' %} {% trans 'Price' %}
{{ item.product.name }} {{ item.product.code }} {{ item.qty }} {{ item.printable_price }}