isCustomerAccessible() && !$booking->isRequested() && !$booking->isDiscarded(); } /** * Sends the browser to a full reload of the (non-modal) offer page — this is * triggered from an htmx-loaded modal, so a plain render/redirect here would * get appended as an inert HTML fragment instead of actually navigating. */ protected function redirectToOfferPage(Request $request, string $uuid): Response { $url = $this->generateUrl('app_groups_offer_view', ['uuid' => $uuid]); return $this->htmxRedirect($request, $url); } }