@if(!$today['sixStep'] && $events->isNotEmpty())

{{ __('sixStep.previousSession') }}

@endif
value === 'private_leave') open @endif> {{ __('sixStep.secondary') }}
@foreach([\App\Domain\Attendance\EventType::StartPrivateLeave, \App\Domain\Attendance\EventType::EndPrivateLeave] as $secondary) @php($permitted = $actionsReady && !$today['closed'] && in_array($secondary,$today['allowed'],true)) @endforeach
{{-- Compatibility only: never create or require an arrival event for six-step sessions. --}} @if(!$today['sixStep'] && in_array(\App\Domain\Attendance\EventType::WorksiteArrival,$today['allowed'],true))

{{ __('sixStep.previousSession') }}

@endif