1
Fork 0
mirror of https://github.com/Quackster/Havana.git synced 2025-07-04 21:57:46 +00:00
Havana/tools/www-tpl/default-en/housekeeping/transaction/search_results.tpl
2022-09-04 10:33:18 +10:00

33 lines
No EOL
1.1 KiB
Smarty

{% 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 %}