Use industry-specific ticket priority labels.
Deploy Ladill Queue / deploy (push) Successful in 55s

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:
isaacclad
2026-07-17 20:15:56 +00:00
co-authored by Cursor
parent a2d5a8affd
commit b5ffa499b9
11 changed files with 252 additions and 4 deletions
@@ -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>
*/