mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-05-20 02:22:51 +02:00
20 lines
559 B
HTML
20 lines
559 B
HTML
{% load i18n %}
|
|
{% load purchase %}
|
|
|
|
<table class="table table-hover table-sm">
|
|
<thead><tr>
|
|
<th scope="col">{% translate "Product" %}</th>
|
|
<th scope="col">{% translate "# sold" %}</th>
|
|
<th scope="col">{% translate "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>
|