megacommit
This commit is contained in:
parent
2451ab45cb
commit
34ed81516b
51 changed files with 1200 additions and 251 deletions
22
resources/views/components/orders.blade.php
Normal file
22
resources/views/components/orders.blade.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue