Fix broken Issue ticket form Alpine markup.
Deploy Ladill Queue / deploy (push) Successful in 1m18s

JSON inside x-data broke the attribute and dumped JS onto the page; use a plain Blade form with queue-driven service points instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-17 19:49:16 +00:00
co-authored by Cursor
parent 9c92a04a74
commit 74c7782cdf
3 changed files with 51 additions and 57 deletions
+12
View File
@@ -117,6 +117,18 @@ class ServicePointRoutingTest extends TestCase
]);
}
public function test_web_issue_create_page_shows_service_point_without_alpine_leak(): void
{
[$user, , , $queue] = $this->setUpAssignedConsultation();
$this->actingAs($user)
->get(route('qms.tickets.create', ['queue' => $queue->id]))
->assertOk()
->assertSee('Service point')
->assertDontSee('needsPoint')
->assertDontSee('onQueueChange');
}
public function test_web_issue_without_service_point_returns_validation_error_not_500(): void
{
[$user, , , $queue] = $this->setUpAssignedConsultation();