{% set cpt = 0 %} {% set consumptionDate = date(0) %} {% set element = '' %} {% for menu in menus %} {% for menuRecipe in menu.menuRecipes %} {% for date in dates %} {% if menuRecipe.consumptionDate == date %} {% if menuRecipe.consumptionDate|date('Y-m-d') != consumptionDate|date('Y-m-d') %} {% if cpt > 0 %} {% endif %}

{{ menu.service }} - {{ siteName.name }}

{{ menuRecipe.consumptionDate | date_fr('long') }}

{% set consumptionDate = menuRecipe.consumptionDate %} {% endif %} {% if (menuRecipe.course != element) %} {% set element = menuRecipe.course %} {% endif %} {% set cpt = 1 %} {% endif %} {% endfor %} {% endfor %} {% endfor %}
Recette Ingrédients Allergènes
{{ menuRecipe.course }}
{{ menuRecipe.preferredSiteLabel | default(menuRecipe.commercialLabel) | default(menuRecipe.designation) | striptags | raw }} {{ menuRecipe.recipeData.getIngredientsAsString }} {{ menuRecipe.recipeData.getAllergensAsString }}