{% for cssPath in styleSheetPath %} {% endfor %} pdf menus
{% if dateRange is defined %} {% for NDate, compteur in week %} {% set dateDebutString = NDate|date('Y-m-d') %} {% set dateDebut = dateDebutString|date('Y-m-d')|date_modify('midnight')%} {% set dateFinString = NDate|date_modify('+6 days') %} {% set dateFin = dateFinString|date('Y-m-d')|date_modify('midnight')%}
top_left top_right underline

{{ site.name }}

Du {{ dateDebut | date_fr('noNamedDays') }} au {{ dateFin | date_fr('noNamedDaysWithYear') }}

Au menu cette semaine...

{% for mealtime in menus|keys %} {% set imageName = "" %} {% if mealtime == "Matin" %}{% set imageName = "croissant_thin" %}{% endif %} {% if mealtime == "Midi" %}{% set imageName = "sun_bright_thin" %}{% endif %} {% if mealtime == "Soir" %}{% set imageName = "moon_thin" %}{% endif %} {% if mealtime == "Goûter"%}{% set imageName = "mug_hot_thin" %}{% endif %} {% endfor %} {% for date in dates %} {% if date|date('Y-m-d') >= dateDebutString and date|date('Y-m-d') <= dateFinString.format('Y-m-d') %} {% for key in menus|keys %} {% set hasAnim = false %} {% set eventName = "" %} {% for mealtimeEvent in datesWithEvents|keys %} {% if mealtimeEvent == key %} {% for event in datesWithEvents[key] %} {% if event and event.date|date("Y-m-d") == date|date("Y-m-d") %} {% set hasAnim = true %} {% set eventName = event.name %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endfor %} {% endif %} {% endfor %}
logo_api {{ mealtime }}

{{ date | date_fr('onlyDayName') }}

{{ date | date_fr('medium') }}

{% for ephemeris in ephemerides %} {% if ephemeris is not null and ephemeris.date|date('md') == date|date('md') %} {{ ephemeris.prenoms | first }} {% endif %} {% endfor %}
{% if hasAnim %}
logo_api {{ eventName }}
{% endif %}
{% for course, recipes in menus[key] %} {% for recipe in recipes %} {% if date | date_fr('short') == recipe.consumptionDate | date_fr('short') %}

{{ recipe.preferredSiteLabel | default(recipe.commercialLabel) | default(recipe.designation) | raw }} {% if recipe.linkedRecipeLabels is not empty %} {% for linkedRecipeLabel in recipe.linkedRecipeLabels %} , {{ linkedRecipeLabel | raw }} {% endfor %} {% endif %}

{% endif %} {% endfor %} {% endfor %}
Légende : Bio - Produits régionaux - Produits labellisés - Plat signature
Api Restauration, S.A.S. au Capital de 10.000.000,00 € - RCS Lille Métropole : 477 181 010 - Siège social : 384 rue du Général de Gaulle - 59370 Mons en Baroeul.
{% endfor %} {% endif %}