{% load i18n utils %} Bill Report {% for tax, subtotal in subtotals.items %} {% endfor %}
{% trans "Summary" %} {% trans "Total" %}
{% trans "subtotal" %} {{ tax }}% {% trans "VAT" %} {{ subtotal|first}}
{% trans "taxes" %} {{ tax }}% {% trans "VAT" %} {{ subtotal|last}}
{% trans "TOTAL" %} {{ total }}
{% for bill in bills %} {% with base=bill.compute_base total=bill.compute_total %} {% endwith %} {% endfor %}
{% trans "Number" %} {% trans "VAT number" %} {% trans "Contact" %} {% trans "Close date" %} {% trans "Base" %} {% trans "VAT" %} {% trans "Total" %}
{{ bill.number }} {{ bill.buyer.vat }} {{ bill.buyer.get_name }} {{ bill.closed_on|date }}{{ base }} {{ total|sub:base }} {{ total }}