{# ─── Flash messages ────────────────────────────────────────── #}
{% for label, messages in app.flashes %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endfor %}
{# ─── Header ────────────────────────────────────────────────── #}
{# ─── Sélecteur de date ─────────────────────────────────────── #}
{# ─── Tableau de la formule ─────────────────────────────────── #}
{# ─── Détails collapsibles ──────────────────────────────────── #}
{# Alimentations #}
Détail des Alimentations du {{ dateJ|date('d/m/Y') }}
| N° | Société | Montant | Date |
{% if preview.detail_alimentations is empty %}
| Aucune alimentation ce jour |
{% else %}
{% for a in preview.detail_alimentations %}
| {{ a.numero ?? '-' }} |
{{ a.societe }} |
{{ a.montant|number_format(3, '.', ' ') }} DT |
{{ a.date|date('d/m/Y H:i') }} |
{% endfor %}
{% endif %}
{# Opérations #}
Détail des Opérations du {{ dateJ|date('d/m/Y') }}
| N° | Type | Description | Montant | Date |
{% if preview.detail_operations is empty %}
| Aucune opération ce jour |
{% else %}
{% for o in preview.detail_operations %}
| {{ o.numero ?? '-' }} |
{{ o.type }} |
{{ o.desc ?? '-' }} |
{{ o.montant|number_format(3, '.', ' ') }} DT |
{{ o.date|date('d/m/Y H:i') }} |
{% endfor %}
{% endif %}
{# Transactions en cours #}
Transactions en cours (non soldées) au {{ dateJ|date('d/m/Y') }}
| N° | Type | Montant restant | Date création |
{% if preview.detail_transactions is empty %}
| Aucune transaction en cours |
{% else %}
{% for t in preview.detail_transactions %}
| {{ t.numero ?? '-' }} |
{{ t.type }} |
{{ t.montantRest|number_format(3, '.', ' ') }} DT |
{{ t.date|date('d/m/Y H:i') }} |
{% endfor %}
{% endif %}
{# ─── Boutons action ─────────────────────────────────────────── #}