@extends('frontend.app') @section('content')

MY ORDERS

@if($search['order_id'] || $search['from_order_date'] || $search['to_order_date'])
Search results:

@if($search['order_id']) Order Id #{{$search['order_id']}} @endif @if($search['from_order_date'] && $search['to_order_date']) From {{$search['from_order_date']}}-{{$search['to_order_date']}} @endif

@endif @foreach($orders as $order) @foreach ($order->items as $item )
Order placed on: {{ date('jS M Y',strtotime($order->created_at))}}
Order Id# {{$order->order_number}} {{$item->status}}
@if(count($item->product_attributes['varient']['varient_options'])) @foreach ($item->product_attributes['varient']['varient_options'] as $option) {{$option['option_name']}}. @endforeach @endif
Est. delivery: 3-4 Weeks
Qty: {{(int)$item->quantity}}
$ {{round($item->total_amount)}}
@endforeach @if (!$loop->last)
@endif @endforeach @if($orders->isEmpty())

Record not found.

@endif
@endsection @section('styles') @endsection @section('scripts') @parent @endsection