{{-- 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
@error('travelers')

{{ $message }}

@enderror
You can invite specific people later
@error('budget')

{{ $message }}

@enderror
Approximate amount for planning purposes

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
@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
@include('components.trip-storage-helper')