{% block subject -%} Historique des modifications {%- if hasErrors %} : ERREURS{% endif -%} {%- endblock subject %} {% block body %}

Bonjour,

Le script de synchronisation du stock a enregistré {{ log|length }} événements du {{ debut|date('d/m/Y à H:i:s') }} au {{ fin|date('d/m/Y à H:i:s') }} :

{% set total = 0 %} {% if log|length > 0 %} {% for stat in stats %} {% set total = total + stat.nombre_messages %} {% endfor %}
Process # Heure début Heure fin Durée # événements # erreurs
#{{ stat.syncProcessId }} {{ stat.heure_debut|date('d/m/Y H:i:s') }} {{ stat.heure_fin|date('d/m/Y H:i:s') }} {{ stat.duree }} {{ stat.nombre_messages }} {% if stat.nombre_erreurs > 0 %} {{ stat.nombre_erreurs }} {% endif %}
Total : {{ total }}

Pour plus d'informations, téléchargez la liste des événements au format CSV en pièce jointe.

{% endif %}

Bonne journée !

Le bot Lachapelle

{% endblock body %}