wip: booking process

This commit is contained in:
Björn Fromme
2026-03-16 11:59:09 +01:00
parent 11825191cf
commit b54fb07e84
3 changed files with 7 additions and 3 deletions
@@ -35,8 +35,8 @@ trait BookingCreateTrait
private function redirectToCurrentStep(BookingCreateDto $bookingCreateDto): RedirectResponse
{
$routeParams = [
'date_id' => $bookingCreateDto->travelData->id,
'hotel_id' => $bookingCreateDto->travelData->hotelId,
'date_id' => $bookingCreateDto->travel->id,
'hotel_id' => $bookingCreateDto->travel->hotelId,
];
$route = match ($bookingCreateDto->currentStep) {
@@ -36,7 +36,7 @@ class CreateStep3Controller extends AbstractController
// Validate step access
$this->validateStepAccess($bookingCreateDto, 3);
return $this->render('booking/confirm.html.twig', [
return $this->render('booking/create_step_3.html.twig', [
'bookingCreateDto' => $bookingCreateDto,
]);
}