mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Explicit "ajust" button in delivery page
This commit is contained in:
parent
5deae74c9a
commit
0c2e2f5444
2 changed files with 4 additions and 3 deletions
|
@ -374,7 +374,9 @@ th.missing {
|
||||||
background-color: #db7734;
|
background-color: #db7734;
|
||||||
}
|
}
|
||||||
.missing a {
|
.missing a {
|
||||||
color: #ddd;
|
color: #f1f1f1;
|
||||||
|
border-color: #f1f1f1;
|
||||||
|
height: 1rem;
|
||||||
}
|
}
|
||||||
hr {
|
hr {
|
||||||
background-color: #dbdbdb;
|
background-color: #dbdbdb;
|
||||||
|
|
|
@ -36,9 +36,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<th{% if delivery.status == delivery.ADJUSTMENT and delivery.product_missing(product) %} class="missing" title="Les commandes individuelles ne correspondent pas aux conditionnements"{% endif %}>
|
<th{% if delivery.status == delivery.ADJUSTMENT and delivery.product_missing(product) %} class="missing" title="Les commandes individuelles ne correspondent pas aux conditionnements"{% endif %}>
|
||||||
{{ delivery.product_wanted(product) }}
|
{{ delivery.product_wanted(product) }}
|
||||||
{% if request.user.is_staff %}<a href="/livraison/{{ delivery.id }}/ajuster/{{ product.ref }}">{% endif %}
|
|
||||||
{% if delivery.status == delivery.ADJUSTMENT and delivery.product_missing(product) %} (−{{ delivery.product_missing(product) }})
|
{% if delivery.status == delivery.ADJUSTMENT and delivery.product_missing(product) %} (−{{ delivery.product_missing(product) }})
|
||||||
{% if request.user.is_staff %}</a>{% endif %}
|
{% if request.user.is_staff %}<a href="/livraison/{{ delivery.id }}/ajuster/{{ product.ref }}" class="button" title="ajuster le produit">ajuster</a>{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</th>
|
</th>
|
||||||
{% for email, order in delivery.orders.items() %}
|
{% for email, order in delivery.orders.items() %}
|
||||||
|
|
Loading…
Reference in a new issue