@if($service_settings['service_type_id'] == 1 && $reservation['flight_info']['flight_type'] == 'departure') To Airport @elseif($service_settings['service_type_id'] == 1 && $reservation['flight_info']['flight_type'] == 'arrival') From Airport @endif

Reservation Number: {{ $reservationId }}

Pickup Date/Time: {{ \Carbon\Carbon::parse($reservation['pickup_date'] . ' ' . $reservation['pickup_time'])->format('d-M-Y h:i A') }}

Pickup: {{ $reservation['pickup_location']['address'] }}

Drop Off: {{ $reservation['dropoff_location']['address'] }}

@if(isset($reservation['additional_stops']) && count($reservation['additional_stops']) > 0)
Additional Stops: @foreach($reservation['additional_stops'] as $index => $stop)
Stop {{ $index + 1 }}: {{ $stop['address'] ?? $stop['location']['address'] ?? 'Address not specified' }}
@endforeach
@endif @if($service_settings['service_type_id'] == 1)

Flight Info: [AirLine: {{ $reservation['flight_info']['flight_airline'] }}] [Number: {{ $reservation['flight_info']['flight_number'] }}] [Date/Time: {{ \Carbon\Carbon::parse($reservation['flight_info']['flight_date'] . ' ' . $reservation['flight_info']['flight_time'])->format('d-M-Y h:i A') }} ]

@endif

[Travellers: {{ collect($reservation['travellers'])->sum('count') }}] [Luggage: {{ $reservation['luggage'] }}] [Vehicles: {{ $reservation['vehicle_count'] ?? 1 }}] [Additional Stops: {{ count($reservation['additional_stops']) }}] [Distance: {{ $reservation['distance'] }} Miles] [Estimated Hours: {{ $reservation['drop_off_hours'] }}]


[Service Type: {{ $reservation['selected_vehicle']['vehicles_type'] }}] [Pricing: {{ $reservation['selected_vehicle']['ride_type'] }}] [Fare Amount: ${{ $reservation['total_fare'] }}]