McDoPlus/templates/resa_service/show.html.twig
clemcle81500 6eb297c0f1 corrections fautes
corrections fautes
2023-12-05 13:40:54 +01:00

44 lines
1.2 KiB
Twig

{% extends 'base.html.twig' %}
{% block title %}Réservation{% endblock %}
{% block body %}
<div class="center">
<h1>Réservation</h1>
<article>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ resa.id }}</td>
</tr>
<tr>
<th>Id_resto</th>
<td>{{ resa.idResto }}</td>
</tr>
<tr>
<th>Id_user</th>
<td>{{ resa.idUser }}</td>
</tr>
<tr>
<th>Nb_user</th>
<td>{{ resa.nbUser }}</td>
</tr>
<tr>
<th>Jour</th>
<td>{{ resa.jour ? resa.jour|date('Y-m-d') : '' }}</td>
</tr>
<tr>
<th>Heure</th>
<td>{{ resa.heur ? resa.heur|date('H:i:s') : '' }}</td>
</tr>
</tbody>
</table>
{{ include('resa_service/_delete_form.html.twig') }}
<a href="{{ path('app_resa_service_index') }}">back to list</a>
</article>
</div>
{% endblock %}