{% for sav in savs %}
{% if sav.hasType() %}
{{ sav.type }}
{% else %} Panne Entretien {% endif %}
{{ sav.getFormattedDate() }}
{% for article in sav.commande.contenu %} {{ article.getArticle() }} {% endfor %}
{{ sav.commande.client }}

{{ sav.commande.numero }}

{{ sav.numero }}
{% if sav.resultat.id == 11 %}
{{ sav.resultat }}
{% else %}
{% for op in sav.operations %} {{ op.libelle }}
{% endfor %}
{% if sav.informations is empty %} {{ sav.getInfosSup() }} {% else %} {% if sav.hasUnseenInformation(app.user) %}
{% endif %} {% if app.user not in sav.informations|last.userSeen %} {% set class = 'bg-danger text-white' %} {% else %} {% set class = 'bg-light' %} {% endif %}
{{ sav.informations|last.technicien | capitalize }} - {{ sav.informations | last.formattedDate }} :
{{ sav.getInformations() | last }}
{% if sav.informations|last.hasReaders %}
Lu par : {% for user in sav.informations|last.userSeen %} {{ user.icone | raw }} {% endfor %}
{% endif %} {% endif %}
{% endif %} {% if sav.hasReparation() %}
SAV
{{ sav.resultat }}
Réparation ({{ sav.reparation }})
{{ sav.reparation.status }}
{% else %}
SAV
{{ sav.commande.status.libelle }}
{% endif %}
info

{% if not sav.hasReparation() %} retour {% endif %} solve sav
{% else %} Aucun SAV présent {% endfor %}