Add missing file

This commit is contained in:
Alexis Métaireau 2021-04-07 21:19:13 +02:00
parent fb00e75a1a
commit 0ba6dfcc45
3 changed files with 15 additions and 3 deletions

View file

@ -566,7 +566,8 @@ details summary {
} }
.rupture { .rupture {
background-color: #ff000083; background-color: #ff000083 !important;
text-decoration: line-through;
} }
.list-emails { .list-emails {

View file

@ -0,0 +1,10 @@
<ul class="progressbar">
<li>Mise à jour des référent·es</li>
<li {% if delivery.status == delivery.NEED_PRICE_UPDATE %}class="active"{% endif %}>Mise à jour des prix</li>
<li {% if delivery.status == delivery.OPEN %}class="active"{% endif %}>Commande</li>
<li {% if delivery.status == delivery.ADJUSTMENT %}class="active"{% endif %}>Ajustements</li>
<li {% if delivery.status == delivery.WAITING_PRODUCTS %}class="active"{% endif %}>Récupération des commandes</li>
<li>Distribution</li>
<li {% if delivery.status == delivery.CLOSED %}class="active"{% endif %}>Répartition des paiements</li>
</ul>
<div style="clear: both"></div>

View file

@ -2,10 +2,11 @@
<tr><th class="product">Produit</th>{% if display_prices %}<th class="price">Prix unitaire</th>{% endif %}<th class="amount">Quantité</th></tr> <tr><th class="product">Produit</th>{% if display_prices %}<th class="price">Prix unitaire</th>{% endif %}<th class="amount">Quantité</th></tr>
{% for product in delivery.products %} {% for product in delivery.products %}
{% if order[product].quantity %} {% if order[product].quantity %}
<tr> <tr {% if product.rupture %}class="rupture"{% endif %}>
<th class="product" style="text-align: left;">{{ product }}</th> <th class="product" style="text-align: left;">{{ product }}{% if product.rupture %} (rupture){% endif %}</th>
{% if display_prices %}<td>{{ product.price | round(2) }} €</td>{% endif %}<td>{{ order[product].quantity }} x {{ product.unit }}</td> {% if display_prices %}<td>{{ product.price | round(2) }} €</td>{% endif %}<td>{{ order[product].quantity }} x {{ product.unit }}</td>
</tr> </tr>
{% if product.rupture %}</del>{% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</table> </table>