{% extends 'base.html.twig' %} {% set titre ='Réservation' %} {% block title %}{% endblock %} {% block body %}

{{ titre }} {{ booking.numdossier }}

{% set i = 0 %} {% for psgr in passagers %} {% set i = i + 1 %} {% endfor %}
{{ i }} - {{ psgr.lastname }} {{ psgr.firstname }}
{{ booking.schedule.company }}
{% for conf in booking.schedule.bus.conforts %} {{conf.description}} {% endfor %}
{{ booking.schedule.scheduleDate ? booking.schedule.scheduleDate|format_datetime('full', 'none', locale='fr') }}
{{ booking.schedule.departureTime ? booking.schedule.departureTime|date('H:i') : '' }} {# #} {{ booking.schedule.depart }}
{{ booking.schedule.estimatedArrivalTime ? booking.schedule.estimatedArrivalTime|date('H:i') : '' }} {# #} {{ booking.schedule.arrivee }}
{% if booking.status %} {% else %} {% endif %}
Montant : {{ booking.totalAmount }} {{ booking.status.currency }} Transaction : {{ booking.status.financialTransactionId }}
Status de la transaction Non payée
{% endblock %} {% block footer %} {{ include('footer.html.twig') }} {% endblock %}