{% extends "base.html" %} {% block title %}Facture N°{{ invoice.number }} - {{ block.super }}{% endblock %} {% block content %}

Facture N°{{ invoice.number }}

Émise le {{ invoice.date }}

{% if invoice.validated %} Télécharger en PDF{% endif %}
{% for detail in invoice.details.all %} {% endfor %}
Quantité PU Total TTC
{{ 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 }}€

Facture à payer avant le {{ invoice.date_due }}.

Règlement

{% if invoice.payments.exists %} {% for payment in invoice.payments.all %} {% endfor %}
Type de paiement Date Montant
{{ payment.get_payment_mean_display }} {{ payment.date }} -{{ payment.amount }}€
Reste à payer {{ invoice.amount_remaining_to_pay }}€
{% endif %} {% if invoice.amount_remaining_to_pay > 0 %}
{% include "billing/payment_howto.html" %}
{% endif %} {% endblock %}