{% load i18n site_config %}
{% get_site_config as config %}{% trans '#' %} | {% trans 'Product' %} | {% trans 'Code' %} | {% trans 'Quantity' %} | {% trans 'Price' %} | {% trans 'Sum' %} |
---|---|---|---|---|---|
{{ forloop.counter }} | {{ item.product.name }} | {{ item.product.code }} | {{ item.qty }} | {{ item.price }} | {{ item.subtotal }} |
{% trans 'Total without discount' %}: {{ invoice.total }} | |||||
{% trans 'Discount' %}: {{ invoice.discounted_total }} | |||||
{% trans 'Total' %}: {{ invoice.total_with_discount }} |