{% extends 'base.html.twig' %} {% block body %}

💰 Solde par Agent

{% if selectedAgent %} Exporter PDF {% endif %}
{% if selectedAgent %}

Agent: {{ selectedAgent.nom }} {{ selectedAgent.prenom }}

{% for mov in movements %} {% else %} {% endfor %}
Type Montant Date Statut
{{ mov.type|capitalize }} {{ mov.montant|number_format(3,'.',' ') }} DT {{ mov.date|date('d/m/Y H:i') }} {% if mov.estCorrection is defined and mov.estCorrection %} Correction {% else %} Normal {% endif %}
Aucun mouvement trouvé

Total Débit: {{ debit|number_format(3,'.',' ') }} DT

Total Crédit: {{ credit|number_format(3,'.',' ') }} DT

Solde: {{ solde|number_format(3,'.',' ') }} DT

{% endif %} {% endblock %}