{% load humanize %} {# HINT: keep line breaks after tags #}

Invoice #{{ invoice.invoice_number }}


Payment details

Invoice date: {{ invoice.date }}
Invoice due: {{ invoice.due_date }}
{{ info.company }}
Bank: {{ info.bank }}
Bank account: {{ info.account }}
Customer details
Customer number: {{ customer.pk|add:10000 }}
{{ customer.name }}

Services consumed from {{ invoice.start_date }} till {{ invoice.end_date }}


{% for project, data in projects.items %} {% for resource, info in data.items.items %} {% endfor %} {% endfor %}

{{ project }}

{{ data.amount|floatformat:2|intcomma }} {{ invoice.currency }}

{{ info.number }} {{ resource }} {{ info.amount|floatformat:2|intcomma }} {{ invoice.currency }}


Total: {{ invoice.amount|floatformat:2|intcomma }} {{ invoice.currency }}