@if ($orders->count() == 0)
Nothing to show :<
@endif
@foreach ($orders as $order)

{{ $order->name }}

{{ $order->email }}

{{ $timeElapsed }}

@foreach ($order->order_list as $list_item) @php $product = $products->find( $list_item->product_id, ); $localPrice+=$product->discounted_price*$list_item->quantity; @endphp
Product Image

{{ $product->title }}

Color:

Price:

{{ $product->discounted_price }}

Size:

{{ $list_item->size }}

Quantity:

{{ $list_item->quantity }}
@endforeach

Total Price:

{{ $order->total_price+$localPrice }}

Phone:

{{ $order->phone }}

Delivery Address:

{{ $order->address }}

Order Token :

{{ $order->order_token }}
@endforeach
{!! $orders->links() !!}