feat: consistent display of included services and prices

This commit is contained in:
Björn Fromme
2026-03-16 12:00:56 +01:00
parent b111a615a9
commit 3dd92ccdb4
11 changed files with 54 additions and 27 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ class ParticipantCardDataService
$name = trim($firstName.' '.$lastName);
if ('' === $name) {
return 0 === $index ? 'Anmelder:in' : sprintf('Teilnehmer:in %d', $index);
return 0 === $index ? 'Anmelder:in' : 'Teilnehmer:in';
}
return $name;
-4
View File
@@ -217,10 +217,6 @@ class ServicePricingCalculator
$servicesBySubtypeAndSign = [];
foreach ($serviceAggregation as $serviceData) {
if (0.0 === $serviceData['totalPrice']) {
continue; // Skip zero-price services
}
$subType = $serviceData['subType'] ?? 'other';
// Normalize rental subtypes to avoid duplicate sections