feat: split summary DTOs into typed sub-objects

This commit is contained in:
Björn Fromme committed 2026-04-12 11:23:19 +02:00
1 parent 69705052b3
commit aa997826f8
18 files changed
+224 -113

No files matched your search

@@ -136,7 +136,7 @@ class Step4Controller extends AbstractController
// Success: Store booking data in flash for conversion tracking
$bookingCreateContext = $this->createContextFactory->createWithParticipantPrices($bookingCreateDto);
$this->addFlash('booking_number', $bookingResponse->bookingNumber);
$this->addFlash('booking_total', $bookingCreateContext->summaryData->payableAmount);
$this->addFlash('booking_total', $bookingCreateContext->summaryData->vouchers->payableAmount);
$this->addFlash('booking_travel_name', $bookingCreateDto->travel->label);
$this->clearTravelDataCache($bookingCreateDto);
$this->bookingSessionService->clearBookingDto($request, BookingDto::MODE_CREATE);