@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 accepted 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' }}
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 {!! !empty($sdata->start_time) ? \Carbon\Carbon::createFromTimestamp($sdata->start_time)->timezone('Asia/Kolkata')->format('M d Y H:i:s') : '-' !!} -{!! !empty($sdata->end_time) ? \Carbon\Carbon::createFromTimestamp($sdata->end_time)->timezone('Asia/Kolkata')->format('M d Y H:i:s') : \Carbon\Carbon::parse($sdata->ride_cancellation_reason->created_at)->timezone('Asia/Kolkata')->format('M d Y H:i:s') !!}
Service type {{ $sdata->ride_type == 'Door' ? 'Door to door' : 'Curb to Curb' }} Ride type {{ $sdata->vehicles_suggestion_type ?? '-' }}
Rider Name {{ $sdata->rider->full_name ?? "-" }} Rider profile picture
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