{{-- resources/views/livewire/trips/trip-details.blade.php --}}

Tell us about your trip to {{ $destination }}

Destination: {{ $destination }}
@error('title')

{{ $message }}

@enderror
@error('start_date')

{{ $message }}

@enderror
@error('end_date')

{{ $message }}

@enderror
@if(isset($start_date) && isset($end_date))
{{ \Carbon\Carbon::parse($start_date)->diffInDays(\Carbon\Carbon::parse($end_date)) + 1 }} days, {{ \Carbon\Carbon::parse($start_date)->diffInDays(\Carbon\Carbon::parse($end_date)) }} nights
@endif
@if(!$showTravelerBreakdown)
@error('travelers')

{{ $message }}

@enderror
Total number of travelers
@else
@error('adultsCount')

{{ $message }}

@enderror
@error('childrenCount')

{{ $message }}

@enderror
Total: {{ $totalTravelers }} {{ $totalTravelers === 1 ? 'traveler' : 'travelers' }}
{{ $travelerBreakdown['display_text'] }}
✓ Traveler composition automatically saved
@endif @if(!$showTravelerBreakdown)
You can invite specific people later
@endif
@error('budget')

{{ $message }}

@enderror
Approximate amount for planning purposes @if($showTravelerBreakdown && $budget && is_numeric($budget))
Total budget for {{ $totalTravelers }} travelers: ${{ number_format($budget * $totalTravelers, 2) }} @endif

Trip Preferences

@php $tripTypes = ['Beach Vacation', 'Adventure', 'Cultural Experience', 'Relaxation', 'Shopping & Dining', 'Sightseeing']; @endphp @foreach($tripTypes as $index => $type)
{{ $type }}
@endforeach
@error('tripType')

{{ $message }}

@enderror
Relaxed
Action-packed
{{ $tripPace }}/10
@error('tripPace')

{{ $message }}

@enderror
@foreach([ 'Beach & Water Activities', 'Cultural Sites & Museums', 'Hiking & Nature', 'Food & Culinary Experiences', 'Nightlife & Entertainment', 'Shopping' ] as $index => $activity)
@endforeach
@error('activityInterests')

{{ $message }}

@enderror
@error('accommodationType')

{{ $message }}

@enderror
@if($showTravelerBreakdown && $childrenCount > 0)

Child-Friendly Planning

We'll help you find accommodations and activities suitable for children. Many destinations offer family discounts and child-friendly amenities.

{{ $childrenCount }} {{ $childrenCount === 1 ? 'child' : 'children' }} will be considered in all recommendations
@endif
@if (session('trip_details_saved'))

{{ session('trip_details_saved') }}

@endif @if (session('traveler_composition_updated'))

{{ session('traveler_composition_updated') }}

@endif