{% extends 'base4.html.twig' %} {% block javascript %} {% endblock %} {% block title %}Paiement de ma commande{% endblock %} {% block content %}

Mon récapitulatif

{# dans add/html.twig #}

Vérifiez vos informations avant de payer votre commande.


Mon adresse de livraison
{{ delivery|raw }}

Mon transporteur
{{ carrier }}
{# {{ carrier.description }}
{{ (carrier.price / 100)|number_format(2, ',', '.') }} € #}
Ma commande :
{% set total = null %} {% for key,producta in carta %}
titi
{{ producta.producta.name }}
{{ producta.producta.subtitle }}
x {{ producta.quantity }}
{{ ((producta.producta.price * producta.quantity ) )|number_format(2, ',', '.') }} €
{% set total = total + (producta.producta.price * producta.quantity) %} {% endfor %}
Sous-Total : {{ (total )|number_format(2, ',', '.') }} €
{#} Livraison : {{ (carrier.price / 100)|number_format(2, ',', '.') }} € #} Total : {{ ((total ) )|number_format(2, ',', '.') }} € {# + (carrier.price ) #}

reference : {{reference}}

Payer | {{ ((total ) )|number_format(2, ',', '.') }} € Annuler
{% endblock %}