{% extends 'base.html.twig' %} {% block title %}Ma commande - La Boot'Ique{% endblock %} {% block body %}

Mon récapitulatif

dans template\horder\add.html.twig

Utilisateur Connecte : {{ app.user }}

Email : {{ app.user.email }} - Tel : {{ app.user.tel }}

Email et Tel Client

{{horder.delivery|raw}}

Transporteur

{{horder.carrierName}}

arrivalDate

{{horder.arrivalDate|date('d-m-Y') }}

{{horder.departureDate|date('d-m-Y') }}

{# {{ form_widget(checkout.informations) }} #}
Vos articles
{% for item in carto.products %}
{{ item.product.name }}
{{ item.product.name }}
{{ item.product.adresshangar }} {{ item.product.departement }}
{#
x{{ item.quantity }}
#}
{% endfor %}
Prix articles
{{ (totalPrice / 100 )|number_format(2,',','.') }} €
Total Jours
{{ (totalsQuantity )}}
Livraison
{{ (horder.carrierPrice/100)|number_format(2,',','.')}} €
Date transaction
{{ horder.createdAt|date('Y-m-d')}}
Arrival Date
{{ horder.arrivalDate|date('d-m-Y')}}
Departure Date
{{ horder.departureDate|date('d-m-Y')}}
{# 'format' => 'dd/mm/yyyy', #}

Total commande
{{ ((totalPrice / 100)*totalsQuantity + horder.carrierPrice / 100)|number_format(2,',','.') }} €
Payer
{% endblock %}