@if($request->is_completed || $request->is_cancelled)

@lang('view_pages.the_trip_has_ended')

@else
{{ $request->request_number }} - @if ($request->is_completed)

@lang('view_pages.trip_completed')

@elseif ($request->is_cancelled)

@lang('view_pages.trip_cancelled')

@elseif ($request->is_trip_start)

@lang('view_pages.on_going_ride')

@else

@lang('view_pages.driver_is_on_the_way')

@endif

@lang('view_pages.pickup')

@lang('view_pages.drop')

{{ str_limit($request->requestPlace->pick_address,30) }}

{{ str_limit($request->requestPlace->drop_address,30) }}

{{ $request->zoneType->vehicleType->name }}

{{ $request->driverDetail->car_number }}


{{ ucfirst($request->driverDetail->name) }}

@for($i = 0; $i < $request->driverDetail->user->rating; $i++) @endfor

@endif