Issue Queue tickets for every waiting appointment when integration is on.
Deploy Ladill Care / deploy (push) Successful in 51s
Deploy Ladill Care / deploy (push) Successful in 51s
Patient queue syncs consultation and specialty waiters; specialty contexts now provision desks so check-in/onboarding no longer leaves half the list on local positions only. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -214,8 +214,17 @@ class SettingsController extends Controller
|
||||
->where('is_active', true)
|
||||
->pluck('id');
|
||||
foreach ($branches as $branchId) {
|
||||
try {
|
||||
$bridge->syncMissingAppointmentTickets($organization, (int) $branchId, 50);
|
||||
} catch (\Throwable) {
|
||||
// Continue other branches.
|
||||
}
|
||||
foreach (array_keys(CareQueueContexts::departments()) as $context) {
|
||||
if ($context === CareQueueContexts::RECEPTION) {
|
||||
if (in_array($context, [
|
||||
CareQueueContexts::RECEPTION,
|
||||
CareQueueContexts::CONSULTATION,
|
||||
CareQueueContexts::TRIAGE,
|
||||
], true)) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user