1
Fork 0
mirror of https://github.com/Quackster/Havana.git synced 2025-07-04 13:47:45 +00:00
Havana/tools/www-tpl/default/housekeeping/transaction/search_results.tpl

33 lines
1.1 KiB
Smarty
Raw Normal View History

2022-09-03 15:05:14 +10:00
{% if transactions|length > 0 %}
<h2>Search Results</h2>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th></th>
<th>Item ID</th>
<th>Description</th>
<th>Coins</th>
<th>Pixels</th>
<th>Amount</th>
<th>Created At</th>
</tr>
</thead>
<tbody>
{% set num = 1 %}
{% for transaction in transactions %}
<tr>
<td><a href="{{ site.sitePath }}/{{ site.housekeepingPath }}/transaction/track_item?id={{ transaction.getItemId() }}">Track this item</a></td>
<td>{{ transaction.getItemId() }}</td>
<td>{{ transaction.description }}</td>
<td>{{ transaction.costCoins }}</td>
<td>{{ transaction.costPixels }}</td>
<td>{{ transaction.amount }}</td>
<td>{{ transaction.getFormattedDate() }}</td>
</tr>
{% set num = num + 1 %}
{% endfor %}
</tbody>
</table>
</div>
{% endif %}