Ekdant-Online-Store/admininistrator/view/template/customer/customer_reward.twig

36 lines
1.1 KiB
Twig
Raw Normal View History

2024-08-06 12:21:00 +00:00
<div class="table-responsive">
<table class="table table-bordered table-hover">
<thead>
<tr>
<td class="text-start">{{ column_date_added }}</td>
<td class="text-start">{{ column_description }}</td>
<td class="text-end">{{ column_points }}</td>
</tr>
</thead>
<tbody>
{% if rewards %}
{% for reward in rewards %}
<tr>
<td class="text-start">{{ reward.date_added }}</td>
<td class="text-start">{{ reward.description }}</td>
<td class="text-end">{{ reward.points }}</td>
</tr>
{% endfor %}
<tr>
<td></td>
<td class="text-end"><b>{{ text_balance }}</b></td>
<td class="text-end">{{ balance }}</td>
</tr>
{% else %}
<tr>
<td class="text-center" colspan="3">{{ text_no_results }}</td>
</tr>
{% endif %}
</tbody>
</table>
</div>
<div class="row">
<div class="col-sm-6 text-start">{{ pagination }}</div>
<div class="col-sm-6 text-end">{{ results }}</div>
</div>