{% extends 'base/base_BACK.html.twig' %} {% block back_content %}

Reservation index

{% for reservation in reservations %} {% set dat = date(reservation.idVoy.datedebut).diff(date()) %} {% set d = dat.days %} {% if d >=0 %} {% endif %} {% else %} {% endfor %}
Titre date Voyage date retour destination place reserver prix total
{{ reservation.idVoy.titre }} {{ reservation.idVoy.datedebut|date("Y-m-d") }} {{ reservation.idVoy.datefin|date("Y-m-d") }} {{ reservation.idVoy.destination.ville }} {{reservation.nbp}} {{ reservation.idVoy.prix * reservation.nbp }} afficher annuler
no records found
{# Create new#} {% endblock %}