@php $curLoc = (int) $val('location_service_id'); $curLocName = optional($services->firstWhere('id', $curLoc))->name; @endphp
@include('admin.users._service-multiselect', ['name' => 'secondary_service_ids', 'selected' => old('secondary_service_ids', $secondaryServiceIds), 'services' => $services])
corporate_fare Head Office
{{-- Select for management + head-office roles (options set by role via JS) --}}
{{-- Care worker: derived from their service's Service Manager --}}
badge
—
Set automatically from the service's Service Manager.
{{-- CEO: top of the hierarchy --}}
Top of hierarchy — no direct manager.
{{-- Services this manager runs (Service Manager can hold several) --}}
@include('admin.users._service-multiselect', ['name' => 'managed_service_ids', 'selected' => old('managed_service_ids', $managedServiceIds), 'services' => $services])
{{-- Services this manager oversees (Registered Manager can hold several) --}}
@include('admin.users._service-multiselect', ['name' => 'overseen_service_ids', 'selected' => old('overseen_service_ids', $overseenServiceIds), 'services' => $services])
{{-- Office Manager: the Registered Manager whose homes they oversee --}}