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
+26
View File
@@ -131,6 +131,32 @@ class ServicePointRoutingTest extends TestCase
->assertDontSee('@json');
}
public function test_ticket_priority_labels_follow_industry_package(): void
{
$user = User::create([
'public_id' => 'prio-rest-owner',
'name' => 'Restaurant Owner',
'email' => 'prio-rest@example.com',
'password' => bcrypt('password'),
]);
app(OrganizationResolver::class)->completeOnboarding($user, [
'organization_name' => 'Bistro',
'industry' => 'restaurant',
'appointment_mode' => 'hybrid',
'branch_name' => 'Main',
'timezone' => 'UTC',
]);
$this->actingAs($user)
->get(route('qms.tickets.create'))
->assertOk()
->assertSee('Rush')
->assertSee('Reservation')
->assertSee('VIP table')
->assertDontSee('>Emergency<', false)
->assertDontSee('>Elderly<', false);
}
public function test_web_issue_without_service_point_returns_validation_error_not_500(): void
{
[$user, , , $queue] = $this->setUpAssignedConsultation();