{% extends 'base.html.twig' %} {% block body %} {##} {% block content %}
{% if entite is not empty %}

{{entite.nom}}

{% endif %} {% if distributeur is not empty %}

Etat journalier des commissions du distributeur

{% else %}

Etat journalier des commissions par point de service

{% endif %}
Du: {{dateDebut}} Au: {{dateFin}}
{% if agence is not empty %} Point de service: {{agence.nom}} {% endif %} {% if distributeur is not empty %} Distributeur: {{distributeur.nom}} {% endif %} {% if codeCaisse is not empty %} Caisse: {{codeCaisse}} {% endif %}
Nombre: {{ agregat.nombreTotal|number_format(0, '.', ' ') }} Montant total: {{ agregat.netCaisse|number_format(0, '.', ' ') }} / {{agregat.totalCommission}} {{ entite.devise }}

{% for transaction in transactions %} {% endfor %}
Date N° Transaction Type d'opérations Montant {{entite.devise}} Com
{{ transaction.dateCreation|date('d/m/Y H:i') }} {{ transaction.numTransaction }} {{transaction.annulation == 0 and transaction.remboursement == 0 ? "Paiement" : transaction.annulation == 1 ? "Annulation" : "Remboursement"}} {{ transaction.netCaisse|number_format(0, '.', ' ') }} {{ transaction.frais|number_format(0, '.', ' ') }}
TOTAUX {{ agregat.netCaisse|number_format(0, '.', ' ') }} {{ entite.devise }} {{agregat.totalCommission|number_format(0, '.', ' ') }} {{ entite.devise }}
{% endblock %} {% endblock %}