@extends('admin.layouts.master') @section('title', 'Cancel & Return Orders') @section('content')
| Sl.No | Order Id | Price | Customer | @if(Auth::user()->user_type==1)Deliveryboy | @endifStatus | 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 }} |
@if(Auth::user()->user_type==1)
@endif |
@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
|