{% if item.status.id == 3 %}
{% set class = 'bg-danger' %}
{% elseif item.status.id in [13] %}
{% set class = 'bg-orange' %}
{% else %}
{% set class = 'bg-success' %}
{% endif %}
{% if app.user.is('dev') %}
Modifier
{% endif %}
{% if item.hasEtapes() and item.etapes|first.status.id == 43 %}
{% endif %}
{{item.formattedDate()}}
{{item.client}}
{{item.numero}}
{{item.getTotalTTC()}}
€
{{item.status}}
{% if item.status.id != 14 %}
{% if item.status.id != 4 %}
{% endif %}
{% if item.status.id != 25 %}
{% if item.status.id != 13 %}
{% endif %}
{% endif %}
{% else %}
{% set cmd = cmdRepo.findOneBy({'numero' : item.numero}) %}
{% if cmd != null %}