@extends('layouts.app') @section('title', 'Update Care Worker Services') @section('content') @include('partials.flash')
Reassign existing users to a service in bulk — e.g. move Care Workers to a different home. Matches users by email and updates their location.
Runs in the background (queue). Each Care Worker is moved to the new home, their direct manager is set to that home’s Service Manager, and any home-required e-learning is assigned. A queue worker (php artisan queue:work) must be running — check Background Jobs.
Required fields
email — the user to move (must already exist)location — the target service name, or location_service_idExample rows
{ "email": "worker@site.com", "location": "Peewit Road" }
{ "email": "another@site.com", "location_service_id": 12 }
Rows with an unknown email or service are skipped — reasons appear in the completion notification. Re-running is safe.