{% extends 'base.html.twig' %} {% block title %}Mon panier - Brunchology{% endblock %} {% block body %}

MON PANIER

{# {{ dump(cart) }} #} {% set total = null %} {% set index = 0 %} {% if cart is empty %} {% else %} {% for Formule in cart %} {% set index = index + 1 %} {% set total = total + Formule.formule.Prix %} {% endfor %} {% endif %}
Article(s) Illustration(s) Prix

Votre panier est vide.

Formule {{ Formule.formule.Nom }}

Produits:

  • Viennoiseries: {{ Formule.choix.Viennoiseries }}
  • Poisson: {{ Formule.choix.Poisson }}
  • {% if Formule.choix.Viandes != null %}
  • Viandes: {{ Formule.choix.Viandes }}
  • {% endif %} {% if Formule.choix.Vegetale != null %}
  • Végétarienne: {{ Formule.choix.Vegetale }}
  • {% endif %}
  • Boisson: {{ Formule.choix.Boisson }}
  • {% if Formule.choix.Cocktail != null %}
  • Cocktail: {{ Formule.choix.Cocktail }}
  • {% endif %}
Illustration

{{ (Formule.formule.Prix / 100)|number_format('2', '.', ',') }}€

Total
{{total / 100}} €



{% endblock %}