add amount to template

This commit is contained in:
Ivan Hörler 2018-02-04 20:18:49 +01:00
parent 14095a7f63
commit ccf823fad2
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<th scope="col">ID</th>
<th scope="col">NAME</th>
<th scope="col">STOCK</th>
<th scope="col">AMOUNT</th>
<th scope="col">PRICE</th>
</tr>
{% for article in articles_list %}
@ -18,6 +19,7 @@
{{ article.article.name }}
</a></td>
<td scope="col">{{ article.article.stock }}</td>
<td scope="col">{{ article.amount }}</td>
<td scope="col">{{ article.article.price_in_chf }} {{ currency_name }}</td>
</tr>
{% endfor %}