{% extends "@EasyAdmin/page/content.html.twig" %} {% block content %}

Grille tarifaire

{% for stopover in stopovers %} {% endfor %} {% for stopover in stopovers %} {% for typeTarif in typeTarifs %} {% endfor %} {% endfor %} {% set i = 0 %} {% for departs in arrays %} {% set j = 0 %} {% for arrivees in departs %} {% set d = stopovers[i].ville.id %} {% set a = stopovers[j].ville.id %} {% set t = 0 %} {% for tarifs in arrivees %} {% if (tarifs is empty) %} {% else %} {% endif %} {% set t = t + 1 %} {% endfor %} {% set j = j + 1 %} {% endfor %} {% set i = i+1 %} {% endfor %}
Arrivées{{ stopover.ville }}
Départs{{ typeTarif.name }}
{{ stopovers[i].ville }} {% if (i != j) %} Ajout {% endif %} {% for item in tarifs %} {{ item.tarifName }} : {{ item.montant }}
{% endfor %} Ajout
{% endblock %}