Separate unit placements from shift duty assignments.
Deploy Ladill Care / deploy (push) Successful in 30s

Roster no longer writes temporary staff assignments; unit assignment UI drops shift fields and labels clarify the two workflows.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-20 11:49:18 +00:00
co-authored by Cursor
parent 5125a6fe27
commit b7aca6ee2b
15 changed files with 68 additions and 101 deletions
+3 -3
View File
@@ -176,7 +176,6 @@ class CareStaffManagementTest extends TestCase
'care_unit_id' => $floatPool->id,
'kind' => 'primary',
'assignment_role' => 'float_nurse',
'shift_code' => 'rotating',
'starts_on' => now()->toDateString(),
'status' => 'active',
])
@@ -189,7 +188,6 @@ class CareStaffManagementTest extends TestCase
'care_unit_id' => $labour->id,
'kind' => 'temporary',
'assignment_role' => 'midwife',
'shift_code' => 'night',
'starts_on' => now()->toDateString(),
'ends_on' => now()->toDateString(),
'status' => 'active',
@@ -209,8 +207,10 @@ class CareStaffManagementTest extends TestCase
$this->actingAs($this->owner)
->get(route('care.staff-assignments.index'))
->assertOk()
->assertSee('Unit assignments')
->assertSee('Float Pool')
->assertSee('Labour Ward');
->assertSee('Labour Ward')
->assertDontSee('>Shift<', false);
}
public function test_temporary_assignment_requires_unit(): void