2024-11-21 15:11:11 +01:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}DetailsCommande index{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
2024-11-21 17:03:32 +01:00
|
|
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}">
|
2024-11-21 15:11:11 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<h1>DetailsCommande index</h1>
|
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Id</th>
|
|
|
|
<th>Quantite</th>
|
|
|
|
<th>PrixUnitaire</th>
|
|
|
|
<th>actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for details_commande in details_commandes %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ details_commande.id }}</td>
|
|
|
|
<td>{{ details_commande.Quantite }}</td>
|
|
|
|
<td>{{ details_commande.PrixUnitaire }}</td>
|
|
|
|
<td>
|
|
|
|
<a href="{{ path('app_details_commande_edit', {'id': details_commande.id}) }}">edit</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% else %}
|
|
|
|
<tr>
|
|
|
|
<td colspan="4">pas de détails de commande disponible</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<a href="{{ path('app_details_commande_new') }}">Créer le détails d'une commande</a>
|
|
|
|
{% endblock %}
|