wip: confirmation step

This commit is contained in:
Björn Fromme
2026-03-16 11:59:10 +01:00
parent 3f7db4e772
commit ee264e88d4
5 changed files with 277 additions and 4 deletions
@@ -49,12 +49,10 @@ class CreateStep3Controller extends AbstractController
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
$bookingCreateDto->currentStep = 4;
$this->bookingService->saveBookingCreateDto($request, $bookingCreateDto);
// TODO: Redirect to confirmation page or direct API submission
$this->addFlash('success', 'Zahlungsart erfolgreich ausgewählt.');
return $this->redirectToRoute('app_booking_create_step_3');
return $this->redirectToRoute('app_booking_create_step_4');
}
return $this->render('booking/create_step_3.html.twig', [