@props(['staff' => null, 'roles' => [], 'departments' => [], 'employmentTypes' => [], 'employmentStatuses' => [], 'genders' => []]) @php $roleOptions = $roles->mapWithKeys(fn ($role) => [ $role->name => $role->label ?: \Illuminate\Support\Str::headline($role->name), ]); $departmentOptions = $departments->pluck('name', 'id'); $currentRole = old('role', $staff?->roles->first()?->name); @endphp
@unless ($staff) @endunless
@if ($staff?->isDoctor() || ! $staff)

Required for clinicians. The licence expiry drives a renewal reminder on the dashboard.

@endif
@unless ($staff)
@endunless
Cancel