{% load static %}

Solde total à payer : {{data.amount|decimal:2}}€

{% if pp_pages_finances|get:"portefeuille" %} Alimenter le portefeuille {% endif %} {% if "pp-payer-les-factures" in pp_forms %} Payer l'intégralité de la somme due {% endif %}
{% if data.items.unpaid_invoices %}

Factures IMPAYÉES

FACTURE
DATE
TOTAL
SOLDE
{% if "pp-payer-une-facture" in pp_forms %}
PAYER
{% endif %}
{% for facture in data.items.unpaid_invoices %}
{{ facture.name }}
{{ facture.structured_communication }}
Date : {{ facture.emission_date }}
Total : {{ facture.total_amount|decimal:2 }}€
Solde : {{ facture.due_amount|decimal:2 }}€
{% if "pp-payer-une-facture" in pp_forms %}
Payer :
{% endif %}
{% endfor %}
{% endif %} {% if data.items.paid_invoices %}

Factures PAYÉES

FACTURE
DATE
ÉCHÉANCE
TOTAL
{% for facture in data.items.paid_invoices %}
{{ facture.name }}
{{ facture.structured_communication }}
Date : {{ facture.emission_date }}
Échéance : {{ facture.due_date }}
Total : {{ facture.total_amount|decimal:2 }}€
{% endfor %}
{% endif %}