@extends(App\Models\General::first()->theme.'.layouts.app') @section('title') My Order | {{App\Models\General::first()->title}} | {{App\Models\General::first()->subtitle}} @endsection @section('SEO') @endsection @push('css') @endpush @section('contents')
@include(App\Models\General::first()->theme.'.customer.includes.sidebar')
@include(App\Models\General::first()->theme.'.alerts')

My Orders

@foreach($orders as $i=>$order) @endforeach
SL Order ID Placed On Items Total Status Payment
{{$orders->currentpage()==1?$i+1:$i+($orders->perpage()*($orders->currentpage() - 1))+1}} {{ $order->invoice }} {{ $order->created_at->format('d-m-Y h:i A') }} {{$order->items->count()}} {{ priceFullFormat($order->grand_total)}} @if($order->payment_method==null) Pay now
Payment Pending @else @if($order->order_status=='confirmed') {{ucfirst($order->order_status)}} @elseif($order->order_status=='shipped') {{ucfirst($order->order_status)}} @elseif($order->order_status=='delivered') {{ucfirst($order->order_status)}} @elseif($order->order_status=='cancelled') {{ucfirst($order->order_status)}} @else {{ucfirst($order->order_status)}} @endif @endif
@if($order->payment_status=='partial') {{ucfirst($order->payment_status)}} @elseif($order->payment_status=='paid') {{ucfirst($order->payment_status)}} @else {{ucfirst($order->payment_status)}} @endif
{{ $orders->links('pagination') }}
@endsection @push('js') @endpush