Ride Details

@if($transfer_status['show_retry_button']) @endif
User Details
  • Name:
    {{ $ride->user->first_name }} {{ $ride->user->last_name }}
  • Email:
    {{ $ride->user->email }}
  • Phone:
    {{ $ride->user->country_code }}{{ $ride->user->phone }}
  • Designation:
    {{ $ride->user->user_type }}
  • Date:
    {{ \Carbon\Carbon::parse($ride->created_at)->format('D - d F, Y') }}
  • Time:
    {{ \Carbon\Carbon::parse($ride->created_at)->format('g:i a') }}
Vehicle Details
  • Vehicle Make:
    {{ $ride->rideType->name }}
  • Model:
    {{ $ride->vehicle->model ?? null }}
  • Type:
    {{ $ride->vehicle->seat_type ?? null }} Seater
  • Year:
    {{ $ride->vehicle->model_year ?? null }}
  • License Plate:
    {{ $ride->vehicle->number ?? null }}
  • Color:
    {{ $ride->vehicle->color ?? null }}
Pickup and Drop Off Locations
Pickup Location:

{{ $ride->pickup_address[0]['address'] }}

Center Point: @if (!empty($ride->stop_address)) @forelse($ride->stop_address as $index)

Address: {{ $index['address'] ?? 'N/A' }}

@empty

No Stop Address Found.

@endforelse @else

No Stop Address Found.

@endif
Drop Off Location:

{{ $ride->dropoff_address[0]['address'] }}

Vehicle Category
Ride Type:

{{ $ride->rideType->name }}

{{--
--}} {{-- Pickup Note: --}} {{--

-

--}} {{--
--}}
Estimated Fare:

${{ $ride->price }}

{{--
--}} {{--
--}} {{--
--}} {{--
Map View
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}}
Map View
@php $pickupLat = $ride->pickup_address[0]['latitude'] ?? null; $pickupLng = $ride->pickup_address[0]['longitude'] ?? null; $dropoffLat = $ride->dropoff_address[0]['latitude'] ?? null; $dropoffLng = $ride->dropoff_address[0]['longitude'] ?? null; // Decode stop_address if it's stored as a JSON string $stopAddresses = []; if (!empty($ride->stop_address)) { $stops = is_string($ride->stop_address) ? json_decode($ride->stop_address, true) : $ride->stop_address; if (is_array($stops)) { foreach ($stops as $index => $stop) { if ($index < 3 && isset($stop['latitude'], $stop['longitude'])) { // Limit to max 3 stops $stopAddresses[]=[ 'lat'=> $stop['latitude'], 'lng' => $stop['longitude'], ]; } } } } @endphp