{% trans_default_domain 'walkinn' %}
<h1 style="color: black !important; background: white !important; font-size: 140% !important; font-weight: bolder; margin-left: 15px;">{% trans into app.request.locale ?: "fr_fr" %}Votre programme{% endtrans %}</h1>
<div id="client_jour_par_jour">
{% set used = [] %}
{% for key, jour in liste %}
<p style="margin: 10px 0 10px 15px;"><b><span style="color: #0070c0 !important; font-size: 110%" class="date">{% trans into app.request.locale ?: "fr_fr" %}Jour{% endtrans %} {{ key }}</span></b></p>
<table style="margin: 0 auto; padding: 0; background: none; border: none; width: 1090px !important;">
<thead>
<tr style="background: none !important;">
<th style="text-align: left; border: none !important; width: 20px !important;" ></th>
<th style="text-align: left; border: none !important; width: 20px !important;" ></th>
<th style="text-align: left; border: none !important; width: 20px !important;" ></th>
<th style="text-align: left; border: none !important; width: 250px !important;" ></th>
<th style="text-align: left; border: none !important; width: 100px !important;" ></th>
<th style="text-align: left; border: none !important; width: 680px !important;" ></th>
</tr>
</thead>
<tbody>
{% for element in jour %}
<tr>
<td style="width: 20p; border: none !important;"></td>
<td style="width: 20px; border: none !important; {% if element.type_id == 4 or element.type_id == 3 or element.type_id == 1002 or element.type_id == 1004 or element.type_id == 1009 %}color: {{ element.color }} !important;{% endif %}vertical-align: top !important;"><img src="/symfony/public/icon/{{element.type_id}}.svg" style="width: 20px;{% if element.type_id == 4 or element.type_id == 3 or element.type_id == 1002 or element.type_id == 1004 or element.type_id == 1009 %}fill: {{ element.color }} !important;{% endif %}vertical-align: top !important;"></td>
<td style="width: 20px; border: none !important;"></td>
<td style="border: none !important; vertical-align: top !important;">
<span style="{% if element.type_id == 4 or element.type_id == 3 or element.type_id == 1002 or element.type_id == 1004 or element.type_id == 1009 %}color: {{ element.color }} !important;{% endif %}">{{ element.fournisseur_nom }}
{% if element.fournisseur_nom not in used %}
{% set used = used|merge([element.fournisseur_nom]) %}
{% if element.fournisseur_address|length > 0 %}<br>{{ element.fournisseur_address }}{% endif %}
{% if element.fournisseur_zip|length > 0 or element.fournisseur_town|length > 0 %}<br>
{% if element.fournisseur_zip|length > 0 %}{{ element.fournisseur_zip }}{% endif %} {% if element.fournisseur_town|length > 0 %}{{ element.fournisseur_town }}{% endif %}
{% endif %}
{% if element.fournisseur_phone|length > 0 %}<br>{{ element.fournisseur_phone }}{% endif %}
{% endif %}
</span>
</td>
<td style="border: none !important; vertical-align: top !important;">
<span style="{% if element.type_id == 4 or element.type_id == 3 or element.type_id == 1002 or element.type_id == 1004 or element.type_id == 1009 %}color: {{ element.color }} !important;{% endif %}">
{% if element.horaire != null %}
{{ element.horaire }}
{% endif %}
</span>
</td>
<td style="border: none !important; vertical-align: top !important;">
<span style="{% if element.type_id == 4 or element.type_id == 3 or element.type_id == 1002 or element.type_id == 1004 or element.type_id == 1009 %}color: {{ element.color }} !important;{% endif %}">
{% if element.service_id|length > 0 %}{{ element.service_libelle|trans({'deepl': true}, null, app.request.locale) }}{% else %}{{ element.service_libelle }}{% endif %}
{% if element.note|length > 0 %}</span><br>{% endif %}
<div style="{% if element.type_id == 4 or element.type_id == 3 or element.type_id == 1002 or element.type_id == 1004 or element.type_id == 1009 %}color: {{ element.color }} !important;{% endif %}">
{{element.note|striptags|raw|trans({'deepl': true}, null, app.request.locale)}}
</div>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<hr>
{% endfor %}
</div>