Bon de commande - {{ user.email }}
Date : {{ "now"|date("d/m/Y H:i") }}
Article
Quantité
Prix unitaire
Sous-total
{% for item in event_details %}
{{ item.product.name }}
{{ item.quantity }}
{{ item.product.price }} €
{{ (item.product.price * item.quantity)|number_format(2, '.', ',') }} €
{% endfor %}
Total : {{ event_details|reduce((carry, e) => carry + (e.product.price * e.quantity), 0)|number_format(2) }} €