Orders
Order ID
|
Order Date
|
Customer Name
|
Customer Email
|
Ordered Products
|
Order Amount
|
Order Status
|
Payment Method
|
Actions
|
@foreach($orders as $order)
@if($order['orders_products'])
{{ $order['id'] }}
|
{{ date('Y-m-d h:i:s', strtotime($order['created_at'])); }}
|
{{ $order['name'] }}
|
{{ $order['email'] }}
|
@foreach($order['orders_products'] as $product)
{{ $product['product_code'] }} ({{ $product['product_qty']}})
@endforeach
|
{{ $order['grand_total'] }}
|
{{ $order['order_status'] }}
|
{{ $order['payment_method'] }}
|
|
@endif
@endforeach
@include('admin.layout.footer')
@endsection