35 lines
914 B
Twig
35 lines
914 B
Twig
|
{% extends 'base.html.twig' %}
|
||
|
|
||
|
{% block title %}Commandes{% endblock %}
|
||
|
|
||
|
{% block body %}
|
||
|
<h1>Commandes</h1>
|
||
|
|
||
|
<table class="table">
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<th>Id</th>
|
||
|
<td>{{ commande.id }}</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>DateHeure</th>
|
||
|
<td>{{ commande.DateHeure ? commande.DateHeure|date('Y-m-d H:i:s') : '' }}</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>Statut</th>
|
||
|
<td>{{ commande.Statut ? 'Yes' : 'No' }}</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>Total</th>
|
||
|
<td>{{ commande.Total }}</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
<a href="{{ path('app_commandes_index') }}">back to list</a>
|
||
|
|
||
|
<a href="{{ path('app_commandes_edit', {'id': commande.id}) }}">edit</a>
|
||
|
|
||
|
{{ include('commandes/_delete_form.html.twig') }}
|
||
|
{% endblock %}
|