Add order wanted/ajustment details as cell title in delivery page

This commit is contained in:
Yohan Boniface 2019-04-16 22:11:49 +02:00
parent 4e608f9858
commit 9f3c19ddbe

View file

@ -41,7 +41,7 @@
{% endif %}
</th>
{% for email, order in delivery.orders.items() %}
<td>{{ order[product.ref].quantity or "—" }}</td>
<td title="Commandé: {{ order[product.ref].wanted }} — Ajusté: {{ "%+d"|format(order[product.ref].adjustment) }}">{{ order[product.ref].quantity or "—" }}</td>
{% endfor %}
</tr>
{% endfor %}