Wire Care lists into Ladill Queue workflows instead of reception panels.
Deploy Ladill Care / deploy (push) Successful in 1m45s

When Queue integration is on, role pages issue tickets into their own
department queues and drive Call next → Serve → Complete on the native
lists. Integration off leaves existing UI unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-17 16:27:48 +00:00
co-authored by Cursor
parent 15638d1672
commit 015a4cc7fe
38 changed files with 1857 additions and 196 deletions
@@ -12,7 +12,6 @@ use App\Services\Care\AppointmentService;
use App\Services\Care\CarePermissions;
use App\Services\Care\OrganizationResolver;
use App\Services\Care\ReportService;
use App\Services\Care\ServiceQueuePresenter;
use App\Services\Care\SpecialtyModuleService;
use Illuminate\Http\Request;
use Illuminate\Support\Collection;
@@ -26,7 +25,6 @@ class DashboardController extends Controller
protected ReportService $reports,
protected CarePermissions $permissions,
protected AppointmentService $appointments,
protected ServiceQueuePresenter $serviceQueues,
protected SpecialtyModuleService $specialtyModules,
) {}
@@ -80,12 +78,6 @@ class DashboardController extends Controller
? $this->patientQueueForMember($request, $organization->id, $owner, $member, $branchScope)
: [collect(), collect(), null];
$serviceQueueContext = match ($member?->role) {
'pharmacist' => 'pharmacy',
'lab_technician' => 'laboratory',
default => 'clinical',
};
return view('care.dashboard', [
'organization' => $organization,
'member' => $member,
@@ -103,13 +95,6 @@ class DashboardController extends Controller
'patientQueue' => $queue,
'inConsultation' => $inConsultation,
'practitionerId' => $practitionerId,
'serviceQueuePanel' => $this->serviceQueues->panel(
$request,
$organization,
$member,
$serviceQueueContext,
$request->input('counter_uuid'),
),
'specialtyModules' => $this->specialtyModules->enabledModules($organization),
]);
}