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
+7
View File
@@ -52,6 +52,13 @@ class IndustryPackageTest extends TestCase
$this->assertSame('banking', data_get($org->settings, 'industry'));
$this->assertSame('banking', data_get($org->settings, 'industry_package.key'));
$this->assertSame('customer', data_get($org->settings, 'industry_package.ticket_entity'));
$this->assertSame('Rush', \App\Services\Qms\TicketPriorities::forIndustryKey('restaurant')['emergency']);
$this->assertSame('Reservation', \App\Services\Qms\TicketPriorities::forIndustryKey('restaurant')['appointment']);
$this->assertSame('Urgent', \App\Services\Qms\TicketPriorities::forIndustryKey('banking')['emergency']);
$this->assertSame(
'Priority customer',
\App\Services\Qms\TicketPriorities::label($org, 'vip')
);
$branch = Branch::where('organization_id', $org->id)->first();
$this->assertNotNull($branch);