Bonjour {{ firstName }},
|
{% if total == 0 %}
Aucune action à réaliser aujourd’hui 🎉
Nous vous préviendrons dès qu’une nouvelle action sera disponible.
{% else %}
Vous avez {{ total }} action{{ total>1?'s':'' }} à réaliser{% if overdue_count>0 %} —
{{ overdue_count }} en retard{% endif %}
{% for it in items %}
{% set typeLabel = it.type == 'to_fill' ? 'Saisie attendue' : (it.type == 'to_validate' ? 'Validation requise' : (it.type == 'to_approve' ? 'Confirmation attendue' : 'Action')) %}
|
{% if it.type == 'to_fill' %}✏️{% elseif it.type == 'to_validate' %}✅{% elseif it.type == 'to_approve' %}🛡️{% else %}ℹ️{% endif %}
{{ typeLabel }}
• Échéance : {{ it.dueOn|date('d') }} {{ it.dueOn|date('M')|trans }} {{ it.dueOn|date('Y') }}
{% if it.overdue %}
en retard
{% endif %}
{{ it.label }}
|
|
Consulter sur Kplan →
|
|
{% endfor %}
{% endif %}
|
{% include 'emails/_footer.html.twig' %}