@if ($showAllCheckins) Check-ins @else Recent Check-ins @endif
-
@if($showAllCheckins || $toCheckin || $fromCheckin)
@php $checkinsList = array_reverse($trip->checkins) @endphp
@else
@php $checkinsList = array_slice(array_reverse($trip->checkins), 0, 10) @endphp
@endif
@foreach($checkinsList as $checkin)
-
{!! $checkin->title ?? "Untitled" !!}
@endforeach