{% extends "@EasyAdmin/page/content.html.twig" %} {% set titre ='Embarquement' %} {% block title %}{% endblock %} {% block content %}
{{ form_start(form1) }}
Numéro dossier : {{ form_row(form1.numdossier)}} {{ form_row(form1.send1)}}
{{ form_end(form1) }} {% for message in app.flashes('echec') %}
{{ message }}
{% endfor %} {% for message in app.flashes('success') %}
{{ message }}
{% endfor %}
{{ form_start(form2) }} {{ form_row(form2.passagers)}}
{{ form_row(form2.send2)}}
{{ form_end(form2)}}
{% if booking is not empty %}
Numéro de la réservation {{ booking.numdossier }}
Compagnie {{ booking.company }}
Trajet {{ booking.schedule }}
Date de réservation {{ booking.dateOfBooking|date('d/m/Y H:i') }}
Montant {{ booking.totalAmount }} {{ booking.status.currency }}
N° transaction {{ booking.status.financialTransactionId }}
Status de la transaction {{ booking.status.status }}
{% endif %}

{{message}}

{% endblock %} {% block body_javascript %} {% endblock %} {% block footer %} {{ include('footer.html.twig') }} {% endblock %}