Restaurant (and other packages) now show Rush, Reservation, VIP table, etc. instead of clinic terms like Emergency and Elderly. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -55,6 +55,19 @@ class IndustryPackage
|
||||
return (array) ($this->definition['terminology'] ?? []);
|
||||
}
|
||||
|
||||
/**
|
||||
* Priority keys stay global; labels are industry-specific.
|
||||
*
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public function priorities(): array
|
||||
{
|
||||
$fromPackage = (array) ($this->definition['priorities'] ?? []);
|
||||
$fromIndustry = (array) config("qms.ticket_priorities_by_industry.{$this->key}", []);
|
||||
|
||||
return \App\Services\Qms\TicketPriorities::mergeDefaults(array_merge($fromIndustry, $fromPackage));
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, string>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user