Strip healthcare packaging and Care integration from Queue.
Deploy Ladill Queue / deploy (push) Successful in 3m12s
Deploy Ladill Queue / deploy (push) Successful in 3m12s
Queue is general-purpose QMS only; Care runs its own native engine. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -63,11 +63,6 @@ class IndustryPackageInstaller
|
||||
$replace = (bool) ($options['replace'] ?? false);
|
||||
$actor = $options['actor_ref'] ?? $organization->owner_ref;
|
||||
|
||||
// Care (and similar) own clinical stage provisioning — still apply terminology.
|
||||
if (! $skipStages && data_get($organization->settings, 'integrations.care_enabled') && $key === 'healthcare') {
|
||||
$skipStages = true;
|
||||
}
|
||||
|
||||
$result = [
|
||||
'package' => $key,
|
||||
'departments' => 0,
|
||||
@@ -81,7 +76,6 @@ class IndustryPackageInstaller
|
||||
|
||||
return DB::transaction(function () use ($organization, $branch, $package, $key, $skipStages, $includeOptional, $replace, $actor, &$result) {
|
||||
// Replacing a package wipes queues/tickets/points so the new template is clean.
|
||||
// Care-managed healthcare keeps clinical queues (skip_stages).
|
||||
if ($replace && ! $skipStages) {
|
||||
$this->clearOperationalData($organization);
|
||||
$result['replaced'] = true;
|
||||
|
||||
Reference in New Issue
Block a user