Gate Queue to doctors and land specialty modules on list indexes.
Deploy Ladill Care / deploy (push) Successful in 34s

Hide the patient-flow Queue board from nurses, reception, and other
non-doctors; specialty home routes now render the queue board list
instead of auto-opening the first open visit.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 22:53:12 +00:00
co-authored by Cursor
parent 244bb8fba6
commit d422797050
22 changed files with 277 additions and 122 deletions
+6 -5
View File
@@ -96,11 +96,14 @@ class CareSpecialtyShellTest extends TestCase
$this->actingAs($this->owner)
->get(route('care.specialty.show', 'emergency'))
->assertRedirect(route('care.specialty.workspace', 'emergency'));
->assertOk()
->assertSee('Patient flow')
->assertSee('Waiting');
$this->actingAs($this->owner)
->get(route('care.specialty.visits', 'emergency'))
->assertRedirect(route('care.specialty.workspace', 'emergency'));
->assertOk()
->assertSee('Patient flow');
$this->actingAs($this->owner)
->get(route('care.specialty.history', 'emergency'))
@@ -115,9 +118,7 @@ class CareSpecialtyShellTest extends TestCase
$this->actingAs($this->owner)
->get(route('care.specialty.workspace', 'emergency'))
->assertOk()
->assertSee('No open visit selected')
->assertDontSee('Back to queue');
->assertRedirect(route('care.specialty.show', 'emergency'));
}
public function test_dentistry_shell_has_chair_stage_and_catalog(): void