@extends('admin.layouts.master') @section('title', 'Cancel & Return Orders') @section('content')
Filter
@include('admin.includes.msg')
@if(Auth::user()->user_type==1) @endif @if(!empty($order) && $order->count()>0) @foreach($order as $key=>$val) @if(Auth::user()->user_type==1) @endif @endforeach @endif
Sl.No Order Id Price CustomerDeliveryboyStatus Action
{{$key+1}} {{ $val->orderId}}
@php echo date('h:i A, d M y', strtotime($val->created_at)) @endphp
Rs {{ $val->totalPrice}} @if($val->commission>0)
Paid Amount : {{$val->totalPrice-$val->commission}} @endif
{{ $val->firstName }}
{{ $val->mobile }}
@csrf
@if($val->is_pos==1) COUNTER @endif @if($val->orderStatus=="Cancel") Cancelled
@php echo date("h:i A, d M ", strtotime($val->updated_at));@endphp @elseif($val->orderStatus=="Delivered") {{ $val->orderStatus}} @if($val->is_pos==1)
@php echo date("h:i A, d M ", strtotime($val->updated_at));@endphp @else
@php echo date("h:i A, d M ", strtotime($val->updated_at));@endphp @endif
@if($val->is_return>0) Partially Returned@endif @else {{ $val->orderStatus}} @endif
@endsection