{% extends 'base.html.twig' %} {% block title %}Accueil{% endblock %} {% block importmap %} {{ importmap(['app', 'module']) }} {% endblock %} {% block body %}

Vos dépannages

{% if todos|length <= 0 %}
Aucune tâche attribuée à venir.
{% else %} {% for item in todos %} {% set title = (item.contact ? item.contact.lastname ~ ' ' ~ item.contact.firstname : '') ~ ' : ' ~ item.label %} {% set title = '' ~ title ~ '' %} {% set address = (item.contact ? item.contact.address ~ ' ' ~ item.contact.postalCode ~ ' ' ~ item.contact.city : '') %} {% set date = item.dateStart|formatDateTime('d/m/Y H:i') %} {% include '_index_module_item.html.twig' with { 'one' : title, 'two' : date, 'three' : address , 'four' : '' ~ ux_icon('lucide:ban') ~ '', } %} {% endfor %} {% endif %}

Dépannages non attribués

{% if notAffected|length <= 0 %}
Aucune tâche non attribuée à venir.
{% else %} {% for item in notAffected %} {% set title = (item.contact ? item.contact.lastname ~ ' ' ~ item.contact.firstname : '') ~ ' : ' ~ item.label %} {% set title = '' ~ title ~ '' %} {% set address = (item.contact ? item.contact.address ~ ' ' ~ item.contact.postalCode ~ ' ' ~ item.contact.city : '') %} {% set date = item.dateStart|formatDateTime('d/m/Y H:i') %} {% include '_index_module_item.html.twig' with { 'one' : title, 'two' : date, 'three' : address , 'four' : '' ~ ux_icon('lucide:square-plus') ~ '', } %} {% endfor %} {% endif %}
{% endblock %}