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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user