{{-- ================================================================ Email partial: scheduled service reservation block (email-safe tables) Variables: $reservation, $reservationId ================================================================ --}} {{-- ── CONFIRMATION # + SERVICE BADGE ── --}} {{-- ── TRIP DETAILS CARD ── --}}
CONFIRMATION #{{ $reservationId }} 📅 SCHEDULED
{{-- CARD HEADER --}} {{-- PICKUP DATE / TIME --}} {{-- ROUTE (Pickup = RED, Dropoff = GREEN) --}} {{-- PASSENGER / LUGGAGE / VEHICLE — 3-column cards --}} {{-- BAGGAGE NOTE --}} {{-- FARE --}}
🚂 TRIP DETAILS
📅 PICKUP DATE & TIME {{ \Carbon\Carbon::parse($reservation['pickup_date'] . ' ' . $reservation['pickup_time'])->format('d-M-Y') }} • {{ \Carbon\Carbon::parse($reservation['pickup_date'] . ' ' . $reservation['pickup_time'])->format('h:i A') }}

🗺 ROUTE

{{-- Pickup — RED --}}
A PICKUP LOCATION {{ $reservation['pickup_location']['address'] }}
{{-- Connector line --}}
@if(isset($reservation['additional_stops']) && count($reservation['additional_stops']) > 0) @foreach($reservation['additional_stops'] as $index => $stop)
{{ $index + 1 }} STOP {{ $index + 1 }} {{ $stop['address'] ?? ($stop['location']['address'] ?? 'N/A') }}
@endforeach @endif {{-- Dropoff — GREEN --}}
B DROP LOCATION {{ $reservation['dropoff_location']['address'] }}
👥 PASSENGERS
{{ collect($reservation['travellers'])->sum('count') }} Pax
👳 LUGGAGE
{{ $reservation['luggage'] }} Bags
🚗 VEHICLE
{{ $reservation['selected_vehicle']['vehicles_type'] ?? $reservation['selected_vehicle']['vehicle_type'] ?? 'Vehicle' }} Scheduled
{{-- Extra info badges (distance, hours, stops) --}} @if(!empty($reservation['distance']) || !empty($reservation['drop_off_hours']) || count($reservation['additional_stops'] ?? []) > 0) @if(!empty($reservation['distance'])) @endif @if(!empty($reservation['drop_off_hours'])) @endif @if(count($reservation['additional_stops'] ?? []) > 0) @endif
🛣 {{ $reservation['distance'] }} mi ⏱ {{ $reservation['drop_off_hours'] }} hrs 📍 {{ count($reservation['additional_stops']) }} stop(s)
@endif
🛃 You may carry {{ $reservation['luggage'] }} hand bag(s) and {{ $reservation['check_in_bags'] ?? 0 }} check-in bag(s).
TOTAL FARE ${{ $reservation['total_fare'] }}