Gate Queue to doctors and land specialty modules on list indexes.
Deploy Ladill Care / deploy (push) Successful in 34s
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:
@@ -278,8 +278,11 @@ class ConsultationController extends Controller
|
||||
->with('success', 'Consultation completed. Continue the patient journey from the next stage.');
|
||||
}
|
||||
|
||||
return redirect()->route('care.queue.index')
|
||||
->with('success', 'Consultation completed.');
|
||||
return redirect()->route(
|
||||
app(CarePermissions::class)->canAccessPatientQueue($this->member($request))
|
||||
? 'care.queue.index'
|
||||
: 'care.appointments.index'
|
||||
)->with('success', 'Consultation completed.');
|
||||
}
|
||||
|
||||
protected function authorizeConsultation(Request $request, Consultation $consultation): void
|
||||
|
||||
Reference in New Issue
Block a user