{% load currency_filters format_filters %}
{% with client=object.from_client %}

From: {{ client }}

{{ client.name }}
{{ client.full_address|linebreaksbr }}
{% endwith %}
{% with client=object.to_client %}
{{ client.name }}
{{ client.full_address|linebreaksbr }}
{% endwith %}
{% for line in lines.all %} {% endfor %}
# Label Description Unit (excl. tax) Qt. Tax rate Amount
{{ forloop.counter }} {{ line.label }} {{ line.description|linebreaks }} {{ line.unit_price_excl_tax|currency }} {{ line.quantity }} {{ line.tax_rate.rate|percentage }} {{ line.line_price_excl_tax|currency }}

Sub Total :
Tax :
Total :

{{ object.total_excl_tax|currency }}
{{ object.total_tax|currency }}
{{ object.total_incl_tax|currency }}