Wire Care lists into Ladill Queue workflows instead of reception panels.
Deploy Ladill Care / deploy (push) Successful in 1m45s
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:
@@ -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),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user