MON EQUIPE }})
Technicien
{{ operateur.name }} {{ operateur.surname }}
{{ operateur.user.email }}
{% if operateur.tel is defined %}{{ operateur.tel }}
{% endif %}{% if operateur.vehicule %}Véhicule : {{ operateur.vehicule }} {% endif %}
{% if operateur.kilometrage %}Kilométrage : {{ operateur.kilometrage }} {% endif %}
{% if operateur.rapport %}-> a fait {{ operateur.rapport|length }}{% if operateur.rapport|length > 1 %} rapports {% else %} rapport {% endif %}{% endif %}
{% if operateur.visitetechnique %}-> a fait {{ operateur.visitetechnique|length }} {% if operateur.visitetechnique|length > 1 %} visites techniques {% else %} visite technique {% endif %}{% endif %}
{% if operateur.interventions is not empty %} a été affecté sur {{ operateur.interventions|length }} {% if operateur.interventions|length > 1 %}interventions{% else %}intervention{% endif %} {% else %} n'a pas encore été affecté à une intervention. {% endif %}
{% if operateur.user.roles == ["ROLE_OPERATEUR","ROLE_MAGASINIER"] %} {% elseif operateur.user.roles == ["ROLE_OPERATEUR"] %} {% endif %}
Commercial
{{commercial.name}} {{ commercial.surname }}
{{ commercial.user.email }}
{% if commercial.tel is defined %}{{ commercial.tel }}
{% endif %}{% if commercial.vehicule %}Véhicule : {{ commercial.vehicule }} {% endif %}
{% if commercial.kilometrage %}Kilométrage : {{ commercial.kilometrage }} {% endif %}
{% if commercial.user.prospections %}-> a fait {{ commercial.user.prospections|length }}{% if commercial.user.prospections|length > 0 %} prospections {% else %} prospection {% endif %}{% endif %}
{% if commercial.intervention is not empty %} a été affecté sur {{ commercial.intervention|length }} {% if commercial.intervention|length > 1 %}interventions{% else %}intervention{% endif %} {% else %} n'a pas encore été affecté à une intervention. {% endif %}