{% extends 'base.html.twig' %} {% block title %}Paiement ma commande{% endblock %} {% block meta %} {% endblock %} {% block content %}

Mon Récapitulatif

Vérifiez vos informations avant de payer votre commande.

Mon transporteur :
{{order.carrierName}}

Adresse de livraison point relais :
{{ order.delivery |raw }}

Adresse de facturation :
{{ order.billingaddress |raw }}

Ma commande {% set total = 0 %} {% set quantitetotal = 0 %} {% for product in order.orderDetails %}
{{product.product}}
Taille : {{ product.size}}
Q : {{ product.quantity}}
{{ ((product.quantity * product.price)/100) | number_format(2, ',', '.') }} €
{% set total = total + (product.quantity * product.price) %} {% set quantitetotal = quantitetotal + product.quantity %} {% endfor %}
Sous-total : {{ (total/100) | number_format(2, ',', '.') }} €
Livraison : {{ ( order.carrierPrice /100) | number_format(2, ',', '.')}} €
Total : {{ ((total + order.carrierPrice)/100) | number_format(2, ',', '.')}} €
Payer {{ ((total + order.carrierPrice)/100) | number_format(2, ',', '.')}} €
{% endblock %}