@can('hrm.recruitment.view') Recruitment @endcan @if (session('status'))
{{ session('status') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
Clear
@if ($tasks->isEmpty()) Start a checklist for a staff member using the panel on the right. @else
@foreach ($tasks as $task) @endforeach
Staff Task Checklist Due State Action

{{ $task->user?->name ?? 'Unknown' }}

{{ $task->user?->employee_no }}

{{ $task->title }} @if ($task->is_required) required @endif

@if ($task->done_at)

Done {{ $task->done_at->format('d M Y') }}{{ $task->doneBy ? ' by '.$task->doneBy->name : '' }}

@endif
{{ $task->template?->title ?? '—' }} {{ lookup_label('checklist_kind', $task->kind) }} {{ $task->due_date?->format('d M Y') ?? '—' }} @if ($task->is_done) @elseif ($task->due_date && $task->due_date->isPast()) @else @endif @can('hrm.onboarding.manage')
@csrf
@endcan
@endif
@if ($progress->isEmpty()) @else
@foreach ($progress as $row) @php $total = (int) $row->total; $done = (int) $row->done; $pct = $total > 0 ? (int) round($done / $total * 100) : 0; @endphp

{{ $row->user?->name ?? 'Unknown' }}

{{ $row->user?->employee_no }} · {{ lookup_label('checklist_kind', $row->kind) }}

{{ $done }}/{{ $total }} · {{ $pct }}%
@endforeach
@endif
@can('hrm.onboarding.manage')
@csrf

Choosing a template issues its items; leaving it blank issues every active template of the selected kind. Existing tasks are never duplicated.

@endcan @if ($templates->isEmpty()) Create the induction and exit-clearance checklists below. @else
@foreach ($templates as $template)

{{ $template->title }}

{{ $template->kind_label }} · {{ $template->items->count() }} item(s) · {{ $template->tasks_count }} issued

@if ($template->description)

{{ $template->description }}

@endif
    @forelse ($template->items as $item)
  • {{ $item->sort_order }}. {{ $item->title }} @can('hrm.onboarding.manage')
    @csrf @method('DELETE')
    @endcan
  • @empty
  • No items yet.
  • @endforelse
@can('hrm.onboarding.manage')
@csrf
@csrf @method('PUT')
@csrf @method('DELETE')
@endcan
@endforeach
@endif @can('hrm.onboarding.manage')
New template
@csrf
@endcan