Télécharger
{% if ligne.paiements is not empty %}
Paiements
{% for lignePaiement in ligne.paiements %}
{% set paiement = lignePaiement.paiement %}
{{ paiement.datePaiement|date('d/m/Y') }} - {{ paiement.montant|montant }} - {{ paiement.modePaiement.label }}{% if paiement.commentaire %} ({{ paiement.commentaire }}){% endif %}
{% if lignePaiement.corrections is not empty %}
{% for correction in lignePaiement.corrections %}
Correction {{ correction.montantCorrectif|montant }} - {{ correction.motif }} -
{% if correction.statut.value == 'en_attente' %}
{{ correction.statut.label }}
{% elseif correction.statut.value == 'valide' %}
{{ correction.statut.label }}
{% else %}
{{ correction.statut.label }}
{% endif %}
{% if correction.valideePar %} par {{ correction.valideePar.prenom }} {{ correction.valideePar.nom }} le {{ correction.dateValidation|date('d/m/Y') }}{% endif %}
{% if correction.motifRefus %} - motif du refus : {{ correction.motifRefus }}{% endif %}
{% if correction.statut.value == 'en_attente' and is_granted('ROLE_DIRECTION') %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% if ligne.relances is not empty %}
Dernière relance envoyée le {{ ligne.relances|first.dateEnvoi|date('d/m/Y') }}.
{% endif %}
{% if not ligne.estAnnulee and ligne.statut.value != 'payee' %}
{% endif %}
{% if ligne.avoirs is not empty %}
Annulation
{% for avoir in ligne.avoirs %}
{{ avoir.numero }} - {{ avoir.motif }} -
{% if avoir.statut.value == 'en_attente' %}
{{ avoir.statut.label }}
{% elseif avoir.statut.value == 'valide' %}
{{ avoir.statut.label }}
{% else %}
{{ avoir.statut.label }}
{% endif %}
{% if avoir.valideePar %} par {{ avoir.valideePar.prenom }} {{ avoir.valideePar.nom }} le {{ avoir.dateValidation|date('d/m/Y') }}{% endif %}
{% if avoir.motifRefus %} - motif du refus : {{ avoir.motifRefus }}{% endif %}
{% if avoir.statut.value == 'en_attente' and is_granted('ROLE_DIRECTION') %}
{% endif %}
{% endfor %}
{% endif %}
{% if not avoirActif %}
{% endif %}