mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-05-20 10:32:51 +02:00
19 lines
489 B
HTML
19 lines
489 B
HTML
{% load purchase %}
|
|
|
|
<table class="table table-hover table-sm">
|
|
<thead><tr>
|
|
<th scope="col">Product</th>
|
|
<th scope="col"># sold</th>
|
|
<th scope="col">Turnover</th>
|
|
</tr></thead>
|
|
<tbody>
|
|
{% for product in products %}
|
|
<tr>
|
|
<th scope="row">{{ product }}</th>
|
|
<td>{{ product.sold }}</td>
|
|
<td>{{ product.turnover|currency }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|