{% extends 'base.html.twig' %} {% block title %}RAPPORTS D'INTERVENTION{% endblock %} {% block body %}

RAPPORTS D'INTERVENTION

{% for rapport in rapports %} {% if rapport.UpdatedAt == true %} {% endif %}
Intervention {{rapport.intervention.name}}
Rapport d'intervention n° {{rapport.id}}
Client {% if rapport.intervention.clients is not empty %} {{rapport.intervention.clients.nomEntreprise}} {% else %} N/A {% endif %}
Adresse {{rapport.intervention.Adresse}}, {{rapport.intervention.codePostal}}, {{rapport.intervention.Ville}}
Technicien {% if rapport.operateur.name is defined %} {{ rapport.operateur.name }} {{ rapport.operateur.surname }} {% else %} N/A {% endif %}
Activité {{rapport.Activite}}
Compte rendu {{rapport.realisationdestravaux}}
Photos {% if rapport.images is defined %} {% endif %}
Vidéos {% if rapport.videos is defined %} {% endif %}
Résultat {% if rapport.fonctionnementapresintervention == 0 %} Ne fonctionne pas {% endif %} {% if rapport.fonctionnementapresintervention == 1 %} Fonctionne {% endif %}
Équipement(s) installé(s) {{rapport.equipementinstalle}}
Commentaire {{ rapport.Content }}
Téléphone {{rapport.numerotelephoneclient}}
Adresse mail {{rapport.adressemailclient}}
Rédigé le {{rapport.CreatedAt.format('d/m/Y H:i') }}
Modifié le {{rapport.UpdatedAt.format('d/m/Y') }}
Actions - Modifier - - PDF - {% if is_granted('ROLE_ADMIN') %}
- Supprimer le rapport -
{% endif %}
{% endfor %} {# Ici était inclut la partie vt de list admin #}
{{ knp_pagination_render(rapports) }}
{% endblock %} {% block javascripts %} {% endblock %}