{% extends 'base.html.twig' %} {% block styles %} {% endblock %} {% block body %}
{% for label, messages in app.flashes %} {% for message in messages %}
{{ message }}
{% endfor %} {% endfor %}

Mouvements de la caisse

Caisse : {{ caisse.nom }}
{% for mov in movements %} {% endfor %}
ID Type 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 %}
{% endblock %} {% block scripts %} {% endblock %}