@extends('admin.layouts.layout') @section('content')

{{ trans('admin_lang.view') }}

@if (isset($sdata->ride_snapshot) && $sdata->ride_snapshot != null)
@endif
@if ($sdata->booking_type == 'Scheduled') @if ($sdata->ride_cancellation_reason) @endif @endif @if ($sdata->status == '2' && $sdata->driver_id != null) @if($sdata->ride_cancellation_reason) @endif @endif @if($sdata->mobile_number) @endif
{{ trans('admin_lang.ride_id') }} #{{ $sdata->ride_id }} Booking type {{ $sdata->booking_type }}
Booking made date {{ date('M d, Y', strtotime($sdata->created_at)) }} Ride date {{ date('M d, Y', strtotime($sdata->ride_time)) }}
Cancelled date and time {{ date('M d, Y h:i a', strtotime($sdata->ride_cancellation_reason->created_at)) }}
Ride Status {{ getRideStatusTitle($sdata->status)}}
Trip cancellation charges $0.00 Payment mode Online
Cancelled BY {{ ($sdata->ride_cancellation_reason->user_id == $sdata->user_id) ? 'Rider' : 'Driver' }} Cancelled Reason {{ ($sdata->ride_cancellation_reason->reason)}}
Pickup location {{ $sdata->from_address }} Drop off location {{ $sdata->to_address }}
Ride date {{ date('M d, Y', strtotime($sdata->ride_time)) }} Ride start and end time {{ date('h:i a', strtotime($sdata->start_time)) }} - {{ date('h:i a', strtotime($sdata->end_time)) }}
Service type {{ $sdata->ride_type == 'Door' ? 'Door to door' : 'Curb to Curb' }} Ride type {{ $sdata->vehicles_suggestion_type ?? '-' }}
Driver Name {{ $sdata->driver->full_name ?? "-" }} Driver profile picture
Vehicle Number {{ $sdata->driver->vehicle->fleet_number ?? "-" }} Vehicle type with car type {{ $sdata->driver->vehicle->vehicle_types ?? '-' }}
Mobility equipment {{ $sdata->ride_mobility_equipments ?? '-' }} Transfer level {{ $sdata->ride_transfer_levels->transfer_level->title ?? '-' }}
Other person contact number {{ $sdata->country_code }} {{ $sdata->mobile_number }}
@endsection @section('script') @endsection