@extends(App\Models\General::first()->theme.'.layouts.app') @section('title') Order Return - {{general()->title}}{{general()->title && general()->subtitle?' | ':''}}{{general()->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') @if(session('selectError'))
Oops! {{Session::get('selectError') }}.
@endif

Orders Return Back Order

@if($order->order_status=='delivered' && $order->delivered_at > Carbon\Carbon::now()->subDays(7)) @csrf @if ($errors->has('itemId'))

{{ $errors->first('itemId') }}

@endif
Products Quantity Return Type
@if($item->product) @else Not Found @endif
{{ $item->product_name }} Price: {{ number_format($item->final_price) }}
@if($item->color) Color: {{ $item->color }}, @endif @if($item->size) Size: {{ $item->size }}, @endif @if($item->status=='cancelled') {{ucfirst($item->status)}}
@endif
@if ($errors->has('qty'))

{{ $errors->first('qty') }}

@endif @if($item->quantity-$item->total_return > 0) @else {{$item->quantity}} @endif
@if ($errors->has('returntype'))

{{ $errors->first('returntype') }}

@endif @if($item->quantity-$item->total_return > 0) @else @endif
@endif @if($item->returnItems->count() > 0)
@foreach($item->returnItems as $i=>$rItem) @endforeach
Item Description Reason & Message
@if($rItem->product) @endif
@if($rItem->Mitem)
{{ $rItem->Mitem->product_name }}
@if($rItem->Mitem->color) Color: {{ $rItem->Mitem->color }}, @endif @if($rItem->Mitem->size) Size: {{ $rItem->Mitem->size }}, @endif @endif
{{App\Models\General::first()->currency}} {{ number_format($rItem->return_price,0) }}
Qty: {{$rItem->return_quantity}} Status: @if($rItem->status=='confirmed') {{ucfirst($rItem->status)}} @else {{ucfirst($rItem->status)}} @endif
Type: @if($rItem->reasion=='Return With Replace') {{$rItem->reasion}} @else {{$rItem->reasion}} @endif
{{$rItem->description}}
@endif @if($order->order_status=='delivered' && $order->delivered_at > Carbon\Carbon::now()->subDays(7)) @if($item->quantity-$item->total_return > 0)
@if ($errors->has('message'))

{{ $errors->first('message') }}

@endif
@endif @endif
@endsection @push('js') @endpush