fix: don't show bulk insurance labels in summary

This commit is contained in:
Björn Fromme committed 2025-12-17 16:04:19 +01:00
1 parent bfb25a4051
commit ef75383885
2 files changed
+6 -4

No files matched your search

+2 -1
View File
@@ -295,9 +295,10 @@ class ServicePricingCalculator
}
// Resolve insurance: use price-tier-adjusted insurance for bulk assignment
// Skip synthetic "no insurance" option - it's a UI construct that shouldn't appear in summary
$insuranceToAggregate = $this->resolveInsuranceForAggregation($participant, $bookingDto);
if (null !== $insuranceToAggregate && null !== $insuranceToAggregate->price) {
if (null !== $insuranceToAggregate && null !== $insuranceToAggregate->price && false === $insuranceToAggregate->isNoInsurance()) {
$this->addInsuranceToServiceAggregation($serviceAggregation, $insuranceToAggregate, 1);
}