{% extends 'base.html.twig' %} {% block styles %} {% endblock %} {% block body %}
| ID | Type | N° | Montant | Responsable / Société | Date Échéance | Description | Date | Statut | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ mov.id }} | {% if mov.type == 'operation' %} {% if mov.SOUStype == 'PRE' %} Opération PRE {% elseif mov.SOUStype == 'JUSTIFICATION' %} Dépense Direct {% else %} Opération {% endif %} {% elseif mov.type == 'transaction' %} {% if mov.SOUStype == 'PRE' %} Transaction PRE {% else %} Transaction {% endif %} {% elseif mov.type == 'alimentation' %} Alimentation {% endif %} | {{ mov.numeroseq ?? '-' }} | {{ mov.montant }} DT | {% if mov.agent is defined and mov.agent %} {{ mov.agent.nom }} {{ mov.agent.prenom }} {% elseif mov.societe is defined %} {{ mov.societe.Bsociete.nom }} {% else %} - {% endif %} | {% if mov.dateEcheance %} {{ mov.dateEcheance|date('d/m/Y') }} {% else %} - {% endif %} | {{ mov.desc }} | {{ mov.dateCreation|date('d/m/Y H:i') }} |
{% if mov.estCorrection is defined and mov.estCorrection %}
Correction
{% elseif mov.operations is defined and mov.operations|length > 0 %}
Corrigé
{% for id in mov.operations %}
#{{ id }}{% if not loop.last %}, {% endif %}
{% endfor %}
{% else %}
Normal
{% endif %}
|
{% if (mov.estCorrection is defined and mov.estCorrection) or (mov.operations is defined and mov.operations|length > 0) %} {% else %} {% if mov.type != "transaction" %} Corriger {% endif %} {% endif %} |