diff --git a/src/Service/ServicePricingCalculator.php b/src/Service/ServicePricingCalculator.php index be19dfa..d367f4f 100644 --- a/src/Service/ServicePricingCalculator.php +++ b/src/Service/ServicePricingCalculator.php @@ -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); } diff --git a/templates/booking/_participant_form.html.twig b/templates/booking/_participant_form.html.twig index d76f44f..3e7aa85 100644 --- a/templates/booking/_participant_form.html.twig +++ b/templates/booking/_participant_form.html.twig @@ -65,7 +65,7 @@ {% endmacro %} {# Macro to render a checkbox table row (for trailing checkboxes like rental insurance, parking, bulk insurance) #} -{% macro checkbox_row(checkboxField, label, price, tooltipText, tooltipLabel, widgetAttr = {}) %} +{% macro checkbox_row(checkboxField, label, price, tooltipText, tooltipLabel, widgetAttr = {}, showPrice = true) %} {% set isReadonly = checkboxField.vars.attr.readonly is defined %}