33 lines
1.0 KiB
Twig
33 lines
1.0 KiB
Twig
|
<div class="table-responsive">
|
||
|
<table class="table table-bordered table-hover">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<td class="text-end">{{ column_order_id }}</td>
|
||
|
<td class="text-start">{{ column_customer }}</td>
|
||
|
<td class="text-end">{{ column_amount }}</td>
|
||
|
<td class="text-start">{{ column_date_added }}</td>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% if histories %}
|
||
|
{% for history in histories %}
|
||
|
<tr>
|
||
|
<td class="text-end">{{ history.order_id }}</td>
|
||
|
<td class="text-start">{{ history.customer }}</td>
|
||
|
<td class="text-end">{{ history.amount }}</td>
|
||
|
<td class="text-start">{{ history.date_added }}</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
{% else %}
|
||
|
<tr>
|
||
|
<td class="text-center" colspan="4">{{ 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>
|