@if($app_for == "super" || $app_for == "bidding") @endif @if(auth()->user()->can('view-driver-rating')) @endif @forelse($results as $key => $result) @if($app_for == "super" || $app_for == "bidding") @endif @if($result->vehicleType!=null) @else @endif @if(env('APP_FOR')=='demo') @else @endif @if(auth()->user()->can('view-driver-rating')) @endif @empty @endforelse
@lang('view_pages.s_no') @lang('view_pages.name') @lang('view_pages.transport_type') @lang('view_pages.vehicle_type') @lang('view_pages.mobile') @lang('view_pages.rating') @lang('view_pages.action')
{{ $key+1}} {{$result->name ?? '-'}}{{$result->transport_type}}{{$result->vehicleType->name ?? '-'}} @foreach($result->driverVehicleTypeDetail as $vehicleType) {{ $vehicleType->vehicleType->name.',' }} @endforeach **********{{$result->mobile}} @php $rating = $result->rating($result->user_id); @endphp @foreach(range(1,5) as $i) @if($rating > 0) @if($rating > 0.5) @else @endif @else @endif @php $rating--; @endphp @endforeach @lang('view_pages.view')

@lang('view_pages.no_data_found')

{{$results->links()}}