feat: move display-assembly out of BookingPriceCalculator
This commit is contained in:
1 parent
d1c92f2957
commit
4d86629315
8 files changed
+1093
-1028
No files matched your search
@@ -27,6 +27,7 @@ class BookingSummaryAssembler
|
||||
{
|
||||
public function __construct(
|
||||
private readonly BookingPriceCalculator $priceCalculator,
|
||||
private readonly BookingPricingAssembler $pricingAssembler,
|
||||
private readonly CmsDataProvider $cmsDataService,
|
||||
private readonly HotelLoader $hotelLoader,
|
||||
private readonly CountryDataProvider $countryDataProvider,
|
||||
@@ -58,7 +59,7 @@ class BookingSummaryAssembler
|
||||
}
|
||||
|
||||
// Get detailed pricing breakdown
|
||||
$pricingData = $this->priceCalculator->getPricingBreakdown($bookingDto, $roomPricingMode);
|
||||
$pricingData = $this->pricingAssembler->getPricingBreakdown($bookingDto, $roomPricingMode);
|
||||
|
||||
// Fetch CMS data (images, etc.)
|
||||
$productCode = $bookingDto->travel->productCode;
|
||||
|
||||
Reference in new issue
Block a user