{% extends 'base.html.twig' %} {% block title %}Commandes de {{ fournisseur.nom }}{% endblock %} {% block body %}

Commandes de {{ fournisseur.nom }}

Retour aux fournisseurs
Total commandes{{ total|montant_fr }}
Total payé{{ paye|montant_fr }}
Crédit restant{{ credit|montant_fr }}
{% for commande in commandes %} {% else %}{% endfor %}
DateFactureStatutTotalPayéCréditActions
{{ 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.
{% endblock %}