mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 11:32:38 +02:00
Add missing file
This commit is contained in:
parent
fb00e75a1a
commit
0ba6dfcc45
3 changed files with 15 additions and 3 deletions
|
@ -566,7 +566,8 @@ details summary {
|
|||
}
|
||||
|
||||
.rupture {
|
||||
background-color: #ff000083;
|
||||
background-color: #ff000083 !important;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.list-emails {
|
||||
|
|
10
copanier/templates/includes/delivery_progress.html
Normal file
10
copanier/templates/includes/delivery_progress.html
Normal 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>
|
|
@ -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>
|
||||
{% for product in delivery.products %}
|
||||
{% if order[product].quantity %}
|
||||
<tr>
|
||||
<th class="product" style="text-align: left;">{{ product }}</th>
|
||||
<tr {% if product.rupture %}class="rupture"{% endif %}>
|
||||
<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>
|
||||
</tr>
|
||||
{% if product.rupture %}</del>{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue