Reserve floor queues for clinical staff and deepen specialty forms.
Deploy Ladill Care / deploy (push) Successful in 41s

Hospital admins no longer see specialty/queue floor nav; Call next is a full-width button; specialty encounters open module-specific clinical forms instead of the general consultation page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 12:04:05 +00:00
co-authored by Cursor
parent bd8218fb45
commit 612e021e85
18 changed files with 1145 additions and 183 deletions
+25 -3
View File
@@ -56,7 +56,7 @@ class CareQueueBridgeTest extends TestCase
'owner_ref' => $this->owner->public_id,
'organization_id' => $this->organization->id,
'user_ref' => $this->owner->public_id,
'role' => 'hospital_admin',
'role' => 'receptionist',
]);
$this->branch = Branch::create([
@@ -273,7 +273,30 @@ class CareQueueBridgeTest extends TestCase
$appointment = $checkedIn->fresh();
$this->assertSame('called', $appointment->queue_ticket_status);
$this->actingAs($this->owner)
$doctorUser = User::create([
'public_id' => 'bridge-recall-doc',
'name' => 'Recall Doctor',
'email' => 'bridge-recall@example.com',
]);
Member::create([
'owner_ref' => $this->owner->public_id,
'organization_id' => $this->organization->id,
'user_ref' => $doctorUser->public_id,
'role' => 'doctor',
'branch_id' => $this->branch->id,
]);
\App\Models\Practitioner::create([
'owner_ref' => $this->owner->public_id,
'organization_id' => $this->organization->id,
'branch_id' => $this->branch->id,
'member_id' => Member::query()->where('user_ref', $doctorUser->public_id)->value('id'),
'user_ref' => $doctorUser->public_id,
'name' => 'Recall Doctor',
'room' => 'Room 2',
'is_active' => true,
]);
$this->actingAs($doctorUser)
->from(route('care.queue.index'))
->post(route('care.queue.recall', $appointment))
->assertRedirect(route('care.queue.index'))
@@ -284,7 +307,6 @@ class CareQueueBridgeTest extends TestCase
$this->actingAs($this->owner)
->get(route('care.queue.index', ['branch_id' => $this->branch->id]))
->assertOk()
->assertSee('Call again')
->assertSee($appointment->queue_ticket_number);
Http::assertNothingSent();
}