22 lines
621 B
PHP
22 lines
621 B
PHP
<div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Order ID</th>
|
|
<th>Order Date</th>
|
|
<th>Order Status</th>
|
|
<th>Order Total</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($orders as $order)
|
|
<tr>
|
|
<td><a href="/order/{{ $order->order_id }}">{{ $order->order_id }}</a></td>
|
|
<td>{{ $order->order_date }}</td>
|
|
<td>{{ $order->order_status }}</td>
|
|
<td>{{ $order->order_total }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|