{% extends 'base.html.twig' %} {% block title %}Commandes de {{ fournisseur.nom }}{% endblock %} {% block body %}
| Date | Facture | Statut | Total | Payé | Crédit | Actions |
|---|---|---|---|---|---|---|
| {{ commande.dateCommande|date('d/m/Y') }} | {{ commande.numeroFacture ?: '-' }} | {{ commande.statut }} | {{ commande.montantTotal|montant_fr }} | {{ commande.totalPaiements|montant_fr }} | {{ commande.creditRestant|montant_fr }} | {% if commande.statut == 'validee' and commande.creditRestant > 0 %} Régler{% endif %} |
| Aucune commande pour ce fournisseur. | ||||||