cineflex/resources/views/components/orders.blade.php

23 lines
621 B
PHP
Raw Normal View History

2023-02-02 08:17:38 +01:00
<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>