My training Certificates @if (session('status'))
{{ session('status') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
@endif
@can('hrm.training.assign') Criteria are combined. Leave them blank and pick nobody to assign the course to every active employee.
@csrf

Optional. Ctrl/Cmd-click to add specific people on top of the criteria.

@endcan Run onboarding enrolment for new hires, or re-open courses whose certificate is expiring so the employee recertifies. @can('hrm.training.assign')
@csrf

Onboarding track

Enrols recent hires onto every course flagged “auto onboarding”, with the due date set from the join date.

@csrf

Recurring tracks

Re-opens completed courses with a validity period when the certificate expires within 30 days or has lapsed.

@endcan
Set a validity period (months) on a course to make it recurring; tick “auto onboarding” to include it in the new-hire track.
@can('hrm.training.manage')
Add a course
@csrf
@endcan @if ($courses->isEmpty()) Add the first course above, then build its modules and lessons. @else
@foreach ($courses as $course) @endforeach
Course Category Lessons Quizzes Assigned Track Status Open
{{ $course->title }} {{ $course->code }} · {{ ucfirst($course->delivery_mode) }} {{ $course->lessons_count }} {{ $course->quizzes_count }} {{ $course->assignments_count }} @if ($course->is_mandatory)Mandatory@endif @if ($course->auto_onboard)Onboarding@endif @if ($course->validity_months){{ $course->validity_months }} mo@endif @if (! $course->is_mandatory && ! $course->auto_onboard && ! $course->validity_months)—@endif Build
@endif
Reset
@if ($assignments->isEmpty()) @else
@foreach ($assignments as $assignment) @endforeach
Employee Course Source Due Progress Status Certificate
{{ $assignment->user?->name ?? '—' }} {{ $assignment->user?->employee_no ?? '' }} {{ $assignment->course?->title ?? '—' }} {{ str_replace('_', ' ', $assignment->source) }} {{ $assignment->due_date?->format('d M Y') ?? '—' }} {{ $assignment->progressPercent() }}% @if ($assignment->is_overdue)Overdue@endif @if ($assignment->certificate) {{ $assignment->certificate->certificate_no }} @else — @endif
{{ $assignments->links() }}
@endif