merge branch feature/160

This commit is contained in:
pauline 2024-01-02 20:33:15 +01:00
parent 12e8cd8baa
commit dd1b28cc11

View file

@ -84,6 +84,7 @@
<table>
<thead>
<tr>
<th style="font-size: 0.5em; width: 2em">OK</th>
<th style="text-align: center">Nom</th>
{% for item in items %}
<th class="item_name" style="font-weight: normal;">
@ -91,11 +92,11 @@
</th>
{% endfor %}
<th style="width: 2cm">Prix</th>
<th style="font-size: 0.5em; width: 2em">OK</th>
</tr>
</thead>
<tbody>
<tr style="background-color: #bababa">
<td></td>
<td style="text-align: left">Prix unitaire</td>
{% for item in items %}
<td>
@ -103,9 +104,9 @@
</td>
{% endfor %}
<td></td>
<td></td>
</tr>
<tr style="background-color: #bababa">
<th></th>
<th style="text-align: left">TOTAL</th>
{% for item in items %}
<th>
@ -113,10 +114,10 @@
</th>
{% endfor %}
<th>{{ grouped_order.total_price }} €</th>
<th></th>
</tr>
{% for order, ordered_items in orders_dict.items %}
<tr>
<td></td>
<td>
{{ order.author.last_name|upper }} {{ order.author.first_name }}
</td>
@ -130,7 +131,6 @@
<td>
{{ order.price }} €
</td>
<td></td>
</tr>
{% endfor %}
</tbody>