{% for message in app.flashes('success-traitements-' ~ client.id) %}
| Date de lancement | Traitement demandé | Statut | Livrables | Actions |
|---|---|---|---|---|
| {{ traitement.getDateStart()|date('d/m/Y H\\hi') }} | {{ traitement.getClientLivrable().getLivrable().getTitre() }} | {{ traitement.getStatutLabel()|raw }} | {% if traitement.getData()|default %} {% endif %} | {% set route = modal ? 'app_traitements_modal_delete' : 'app_traitements_delete' %} {{ include('traitement/_delete_form.html.twig') }} |
| Aucun traitement n'a encore été demandé | ||||
✔ {{ defParam.summary_name is defined ? defParam.summary_name : defParam.name }} {% if defParam.type == 'select' and defParam.choices is defined %} {% for choice in defParam.choices %} {% if paramValue == choice.value %} : {{ choice.label }} {% endif %} {% endfor %} {% elseif defParam.type == 'select' and defParam.source is defined %} {% for source in sources[defParam.source] %} {% if source.value == paramValue %} : {{ source.label }} {% endif %} {% endfor %} {% elseif defParam.type == 'boolean' %} {% else %} {# Si paramValue est un tableau, l'afficher correctement #} {% if paramValue is iterable %} : {{ paramValue|join(', ') }} {% else %} : {{ paramValue }} {% endif %} {% endif %}
{% endif %} {% endfor %} {% endfor %}Aucun paramètre sélectionné pour ce livrable.
{% endif %} {% if is_ok %} {% set status = (syncStatus|filter(e => e.id == clientLivrable.id)|first) %} {% if status is defined and not status.synced %}Lien de consultation client :
{{ message }}
{% endif %}Aucun livrable disponible pour ce client. Rendez-vous dans les paramètres pour activer les livrables souhaités.
{% endfor %}