{% block body %} {% if (avoirs is defined) and (avoirs is not null) and (avoirs|length >0) %}
{% for a in avoirs %} {% endfor %}
Date Facture Créé le Montant
{{a.dateavoir|date("d M Y")}} {{a.numavoir}} {{a.numfacture}} {{a.createdat|date("d M Y H:i")}} {{a.montant|format_currency('EUR')}}
Total : {{totalAvoirs|format_currency('EUR')}}
{% else %}

Aucun avoir n'a encore été enregistré pour cette facture.

{% endif %}{% endblock %}