@include('common.layouts.mail_layout.header')

Hi ,

{{ ucfirst($user_name)}} has booked a trip. Below are the trip details:

{{-- --}} @if ($Settings->hourly_service == 1) @endif @if(($rideReservation->pickup_airport_id != NULL) && ($rideReservation['pickup_terminal_id'] != NULL)) @endif @if(($rideReservation->droppof_airport_id != NULL) && ($rideReservation['dropof_terminal_id'] != NULL)) @endif @foreach ($rideReservation->rideStops as $index => $location ) @endforeach @if($Settings->child_safety_seat == 1) @if ($rideReservation->round_trip_detail != null) @else @endif @endif {{-- --}} @if ($rideReservation['status'] == 'Paid') @endif @if ($rideReservation['status'] == 'Pay-By-Cash' || $rideReservation['status'] == 'Pay-By-Card') @endif @if($rideReservation['status'] == 'Pay-By-Card') @endif @if($rideReservation->round_trip==1 && $rideReservation->return_address == NULL) {{-- --}} @if ($rideReservation->round_trip_detail != null) @if($rideReservation->round_trip_detail->pickup_airport_id != NULL) @endif @if ($rideReservation->round_trip_detail->rideStops != null && count($rideReservation->round_trip_detail->rideStops) > 0) @foreach ($rideReservation->round_trip_detail->rideStops as $index => $location ) @endforeach @endif @endif @endif @if($rideReservation->rideForAnotherPerson != NULL) @endif @if($rideReservation->rideForAnotherPerson != NULL) @endif @if($rideReservation->rideForAnotherPerson != NULL) @if($rideReservation->rideForAnotherPerson->company != NULL) @endif @endif @if($rideReservation['ride_notes'] != NULL) @endif
Payment id : {{$payment}}
trip id : {{$rideReservation->id}}
Customer Email : {{$user->email}}
Customer Phone Number : {{$user->userDetail->phone}}
Vehicle Type : {{$vehicleType}}
Trip Type : {{($rideReservation->ride_type)?ucfirst($rideReservation->ride_type):'Transfer'}}
Pick up location : @if($rideReservation->pickup_airport_id != NULL) {!! html_entity_decode(Helper::getAirportName($rideReservation->pickup_airport_id)) !!}
@else {{ $rideReservation['pickup_address'] }} @endif
Pick-up Terminal : {{ Helper::getTerminalName($rideReservation['pickup_terminal_id']) }}
Flight No : {{ $rideReservation['flight_number'] }}
Drop off location : @if($rideReservation->droppof_airport_id !=null) {!! html_entity_decode(Helper::getAirportName($rideReservation->droppof_airport_id)) !!} @else {{ $rideReservation['dropof_address'] }} @endif
Drop-off Terminal : {{ Helper::getTerminalName($rideReservation['dropof_terminal_id']) }}
Pick up date : {{ date('D, M j Y', strtotime($rideReservation->pickup_date))}}
Pick up time : {{$rideReservation->pickup_time}}
Stop Location {{++$index }} : {{$location->address}}
Total passengers : {{ $rideReservation['no_of_passanger'] }}
Total luggages : {{ $rideReservation['no_of_luggages'] }}
Child safety seat : {{ $rideReservation['child_safety_seat'] + $rideReservation->round_trip_detail->child_safety_seat }}{{ $rideReservation['child_safety_seat'] }}
Wheel chair lift/ramp : {{ $rideReservation['wheelchair'] == 1 ? 'Yes' : 'No' }}
Round Trip : {{ $rideReservation['round_trip'] == 1 ? 'Yes' : 'No' }}
Amount Paid : ${{number_format($amount, 2)}}
Amount to be Paid : ${{number_format($amount, 2)}}
Payment Method : {{ str_replace('-', ' ', $rideReservation['status'])}}
Return to a Different Location : {{$rideReservation->return_address}}
Round Trip Pick up location : @if($rideReservation->round_trip_detail->pickup_airport_id != NULL) {!! html_entity_decode(Helper::getAirportName($rideReservation->round_trip_detail->pickup_airport_id)) !!}
@else {{ $rideReservation->round_trip_detail['pickup_address'] }} @endif
Round Trip Flight No : {{ $rideReservation->round_trip_detail->flight_number }}
Round Trip Drop off location : @if($rideReservation->round_trip_detail->droppof_airport_id !=null) {!! html_entity_decode(Helper::getAirportName($rideReservation->round_trip_detail->droppof_airport_id)) !!} @else {{ $rideReservation->round_trip_detail['dropof_address'] }} @endif
Round Trip Pick up date : {{ date('D, M j Y', strtotime($rideReservation->round_trip_detail->pickup_date))}}
Round Trip Pick up time : {{$rideReservation->round_trip_detail->pickup_time}}
Round Trip Stop Location {{++$index }} : {{$location->address}}
‌ Trip on Behalf of : {{ucfirst($rideReservation->rideForAnotherPerson->first_name)}} {{ucfirst($rideReservation->rideForAnotherPerson->last_name)}}
‌ Phone : {{$rideReservation->rideForAnotherPerson->phone}}
Company : {{$rideReservation->rideForAnotherPerson->company}}
Notes : {{ $rideReservation->ride_notes }}
Kind Regards,
Rydeus Team
@include('common.layouts.mail_layout.footer')