{% extends "base.html" %} {% block content %}

💰 Gestion des Factures

{% for f in factures %} {% endfor %}
N° Facture Client Date Échéance Montant TTC Statut Actions
{{ f.numero }} {{ f.client.nom }} {{ f.date_creation.strftime('%d/%m/%Y') }} {{ f.date_echeance.strftime('%d/%m/%Y') }} {{ "%.2f"|format(f.montant_ttc) }} € {% if f.statut == 'Payée' %} ✓ {{ f.statut }} {% else %} ⚠ {{ f.statut }} {% endif %} 📄 PDF {% if f.statut != 'Payée' %} {% endif %}
{% endblock %}