Day {{ $itinerary->day_number }}: {{ $itinerary->formatted_date }}

Plan your activities for this day
Add Activity
Map View of Activities (Integration with Google Maps would go here)
@foreach($mapMarkers as $marker)
{{ $marker['id'] }}
@endforeach
@php $timeSlots = ['morning', 'afternoon', 'evening']; $timeSlotIcons = [ 'morning' => 'coffee', 'afternoon' => 'umbrella', 'evening' => 'moon' ]; $timeSlotColors = [ 'morning' => 'yellow', 'afternoon' => 'orange', 'evening' => 'indigo' ]; @endphp @foreach($timeSlots as $timeSlot)
@if($timeSlot === 'morning') @elseif($timeSlot === 'afternoon') @else @endif

{{ ucfirst($timeSlot) }}

@if(isset($activitiesByTimeOfDay[$timeSlot]) && count($activitiesByTimeOfDay[$timeSlot]) > 0) @foreach($activitiesByTimeOfDay[$timeSlot] as $activity)

{{ $activity->title }}

{{ $activity->location }}
@if($activity->type)
{{ $activity->type }}
@endif
{{ $activity->formatted_time_range }}
@if($activity->cost)
{{ $activity->formatted_cost }} / person
@endif
@if($activity->description)

{{ $activity->description }}

@endif
SM
MJ
JT
Edit
@endforeach @else

Add {{ ucfirst($timeSlot) }} Activity

@if($timeSlot === 'morning') Explore local attractions, temples, or enjoy breakfast at a nearby cafe @elseif($timeSlot === 'afternoon') Discover beaches, shopping centers, or try local cuisine for lunch @else Experience nightlife, traditional performances, or dinner at a popular restaurant @endif

Browse Suggestions
@endif
@endforeach
@if(isset($prevItinerary)) Previous Day @else
@endif @if(isset($nextItinerary)) Next Day @else Continue to Review @endif