Use Product.label in order table

This commit is contained in:
Yohan Boniface 2019-04-07 17:13:02 +02:00
parent 4704211b55
commit 075f1cfbf6

View file

@ -3,7 +3,7 @@
{% for product in delivery.products %} {% for product in delivery.products %}
{% if order.get_quantity(product) %} {% if order.get_quantity(product) %}
<tr> <tr>
<th class="product" style="text-align: left;">{{ product.name }}</th> <th class="product" style="text-align: left;">{{ product.label }}</th>
<td>{{ product.price }} €</td><td>{{ order.get_quantity(product) }}</td> <td>{{ product.price }} €</td><td>{{ order.get_quantity(product) }}</td>
</tr> </tr>
{% endif %} {% endif %}