fix: update draft together with session on refresh

This commit is contained in:
Björn Fromme
2026-03-16 12:02:27 +01:00
parent 8186adfaeb
commit fedfcc247e
@@ -287,8 +287,9 @@ class IndexController extends AbstractController
// Collect notifications from field handlers
$notifications = $this->collectAndClearNotifications($bookingDto);
// Save updated booking data to session
// Save updated booking data to session and draft
$this->bookingService->saveBookingDto($request, $bookingDto, BookingDto::MODE_EDIT);
$this->draftService->saveDraft($user, $id, $bookingDto);
// Get complete summary data (pricing, rooms, CMS data)
$summaryData = $this->summaryDataService->getSummaryData($bookingDto);