@extends('user.app') @section('pagetitle'){{ $user->name}}@stop @php $mobile = ''; if(isset($usermeta->mobile)) { $mobile = $usermeta->mobile; } @endphp @php if (!Auth::check()) { if(url()->current() != url('/login')) { Session::put('previouslink', url()->current()); } } else{ Session::forget('previouslink'); } $link = url()->current(); $link_array = explode('/',$link); $headmenudegree = getalldegree(); @endphp @section('main-content')
@if(isset($orders)) @foreach($orders as $value)
@php $products = array(); $products = json_decode($value->products); //print_r($products); foreach ($products as $value2) { @endphp
@if($value->shipping_status)

Shipping status: {{ $value->shipping_status }}

@endif @if($value->tracking_no)

Tracking no: {{ $value->tracking_no }}

@endif @if($value->courier_name)

Courier name: {{ $value->courier_name }}

@endif

{{ ($value->order_status) ? $value->order_status : 'Failure' }}

@php } @endphp

Ordered On {{ date('d M Y',strtotime($value->created_at))}}

@if($value->subtotal)

Sub Total:Rs.{{ $value->subtotal }}

@endif @if($value->wallet_value)

wallet:Rs.{{ $value->wallet_value }}

@endif @if($value->grand_total)

Grand Total:Rs.{{ $value->grand_total }}

@endif
@endforeach @endif
@endsection