{% load static %} Facture N°{{ invoice.number }}

Facture N°{{ invoice.number }}

Le {{ invoice.date }}
{% with address=branding.registeredoffice %}

Association {{ branding.shortname|upper }}
{{ address.extended_address }}
{{ address.street_address }}
{{ address.postal_code }} {{ address.locality }}

{{ branding.email }}
{{ branding.website }}

{% endwith %}
Facturé à :
{% with member=invoice.member %} {{ member.last_name }} {{ member.first_name }}
{% if member.organization_name != "" %}{{ member.organization_name }}
{% endif %} {% if member.address %}{{member.address}}
{% endif %} {% if member.postal_code and member.city %} {{ member.postal_code }} {{ member.city }} {% endif %} {% endwith %}

Facture N°{{ invoice.number }} {% for detail in invoice.details.all %} {% endfor %}
Quantité PU Total
{{ detail.label }} {% if detail.period_from and detail.period_to %}
Pour la période du {{ detail.period_from }} au {{ detail.period_to }}{% endif %}
{{ detail.quantity }} {{ detail.amount }}€ {{ detail.total }}€
Total TTC {{ invoice.amount }}€
{% include "billing/payment_howto.html" %}