fix: update draft together with session on refresh

This commit is contained in:
Björn Fromme
2026-01-08 08:38:21 +01:00
parent 936004bc2d
commit 59b08ed098
@@ -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);