2018-08-13 14:13:55 +02:00
|
|
|
<table class="table table-bordered orderhistory">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><%t SilverShop\Model\Order.db_Reference 'Reference' %></th>
|
|
|
|
<th><%t SilverShop\Model\Order.Date 'Date' %></th>
|
|
|
|
<th><%t SilverShop\Model\Order.has_many_Items 'Items' %></th>
|
|
|
|
<th><%t SilverShop\Model\Order.Total 'Total' %></th>
|
|
|
|
<th><%t SilverShop\Model\Order.db_Status 'Status' %></th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% loop $PastOrders %>
|
|
|
|
<tr class="{$Status}">
|
|
|
|
<td>$Reference</td>
|
|
|
|
<td>$Created.Nice</td>
|
|
|
|
<td>$Items.Quantity</td>
|
|
|
|
<td>$Total.Nice</td>
|
|
|
|
<td>$StatusI18N</td>
|
2018-08-26 12:46:03 +02:00
|
|
|
<td class="text-right">
|
2018-08-13 14:13:55 +02:00
|
|
|
<a class="btn btn-mini btn-primary" href="$Link">
|
|
|
|
<i class="icon icon-white icon-eye-open fa fa-eye"></i> <%t SilverShop\Generic.View 'view' %>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end_loop %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|