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

41 lines
1.2 KiB
Twig

{% extends 'base.html.twig' %}
{% block title %}Ticket index{% endblock %}
{% block body %}
<h1>Ticket index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Id_resto</th>
<th>Id_users</th>
<th>Paiement</th>
<th>Id_menu</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for ticket in tickets %}
<tr>
<td>{{ ticket.id }}</td>
<td>{{ ticket.idResto }}</td>
<td>{{ ticket.idUsers }}</td>
<td>{{ ticket.payement }}</td>
<td>{{ ticket.idMenu }}</td>
<td>
<a href="{{ path('app_ticket_service_show', {'id': ticket.id}) }}">show</a>
<a href="{{ path('app_ticket_service_edit', {'id': ticket.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="6">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_ticket_service_new') }}">Create new</a>
{% endblock %}