@extends('layouts.app') @section('title', 'E-Learning Access') @section('content') @include('partials.flash')

E-Learning Access

Choose which staff groups take e-learning. Turning a group on assigns its people the mandatory courses; turning it off removes their e-learning.

{{-- Care Workers: always on --}}
verified

Care Workers

Always take e-learning — {{ $userCounts[\App\Support\ELearning::ALWAYS] ?? 0 }} {{ Str::plural('user', $userCounts[\App\Support\ELearning::ALWAYS] ?? 0) }}.

Always on
@csrf @method('PATCH') @foreach($groups as $groupName => $roles)

{{ $groupName }}

Enable e-learning for these roles.

@foreach($roles as $role) @php $on = in_array($role, $enabled, true); @endphp @endforeach
@endforeach
warning

Disabling a group removes its members’ course assignments and in-progress data. Earned certificates are kept. Re-enabling reassigns the mandatory courses fresh.

@endsection