diff --git a/src/Controller/Booking/Create/Step2Controller.php b/src/Controller/Booking/Create/Step2Controller.php index 57719ac..6fdf70a 100644 --- a/src/Controller/Booking/Create/Step2Controller.php +++ b/src/Controller/Booking/Create/Step2Controller.php @@ -157,6 +157,11 @@ class Step2Controller extends AbstractController ; if (true === $form->isSubmitted() && true === $isDummyDataFill) { $this->dummyDataFillService->fill($bookingDto->participants[$index], $index); + + // Keep behavior consistent with cards view: newly filled participant data + // (especially dateOfBirth) must immediately trigger mandatory service preselection. + $this->bookingService->preselectMandatoryServices($bookingDto); + $bookingDto->bookingStatus = Constants::BOOKING_STATUS_OPEN; $this->bookingService->saveBookingDto($request, $bookingDto, BookingDto::MODE_CREATE);