{% if not opportunites|length %}
Titre : {{ opportunity.title[:50] }} {% if opportunity.title|length > 50 %}...{% endif %}
Type : {{ opportunity.typeValue }} {% if opportunity.type == 'T02' and opportunity.typeSoumission %}- {{ opportunity.typeSoumissionAbreviation }} {% endif %}
{#% if opportunity.type == 'T02' and opportunity.typeSoumission %}Type de soumission : {{ opportunity.typeSoumissionValue }}
{% endif %#}Date de création : {{ opportunity.dateCreation|date('Y-m-d')}}
{% if opportunity.dateSoumission %}Date de soumission : {{ opportunity.dateSoumission|date('Y-m-d')}}
{% endif %} {% if opportunity.projet|length %}Projet(s) : {% for projet in opportunity.projet %} {% if cpt > 0 %} - {% endif %}{{ projet.intitule }} {% set cpt = cpt + 1 %} {% endfor %}
{% endif %} {% if opportunity.budget %}Budget : {{ opportunity.budget|number_format(0,'',' ') }} {{ opportunity.unityAbreviation }}
{% endif %} {% if opportunity.montantCaution %}Montant caution : {{ opportunity.montantCaution|number_format(0,'',' ') }} {{ opportunity.unityAbreviation }}
{% endif %}