Commit 98e3922c authored by Mat's avatar Mat

resume mise en forme hop

parent 016cd4f2
......@@ -26,6 +26,7 @@
<div class="texte">
<h5>{{ legume.nom }}</h5>
<p>{{ legume.description }}</p>
<p>Max: {{ legume.quantiteMax }}</p>
<div class="prixQuantite">
<span class="prixUnitr">{{ legume.prixUnitaire }}</span>
......@@ -27,29 +27,43 @@
{% for commande in commandes %}
<li class="mb-5">
<table class="table table-sm table-light">
<thead class="thead-light">
<tr class="">
<th scope="col" colspan="4">
<h4>Commande n°{{ }} (→ offre {{ commande.offre.reference }})</h4>
<table class="table table-sm">
<th scope="col" colspan="2" class="text-right pr-3">
<a class="btn btn-sm btn-primary" href="#"><i class="fas fa-pencil-alt fa-fw"></i></a>
<a class="btn btn-sm btn-primary" href="#"><i class="fas fa-trash-alt fa-fw"></i></a>
{% for legume in commande.commandeLegumes %}
<td style="width: 45%;">{{ legume.offreLegume.nom }}</td>
<td>{{ legume.quantite }}</td>
<td>{{ legume.quantite }} {{ legume.unite }}</td>
<td>{{ legume.prixUnitaire }} € / {{ legume.unite }}</td>
<td>{{ legume.prix }}</td>
{% endfor %}
<tr class="table-active">
<td colspan="5">
<td colspan="3">
Le {{ commande.createdAt|date('d/m/Y, à H:i:s') }} |
<a href="#">Modifier</a> |
<a href="#">Supprimer</a> |
Total :
Créée le {{ commande.createdAt|date('d/m/Y, à H:i:s') }}
<td><strong>{{ commande.prixTotal }}</strong></td>
<td colspan="3" class="text-right pr-3">
Total :
<strong>{{ commande.prixTotal }}</strong>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment