feat: refactor to cards

This commit is contained in:
Björn Fromme
2026-03-16 11:59:10 +01:00
parent 32a9fac9ed
commit e51c4843c5
40 changed files with 2639 additions and 3097 deletions
+4 -4
View File
@@ -72,7 +72,7 @@ class ParticipantCardDataService
$firstName = $participant->firstName ?? '';
$lastName = $participant->lastName ?? '';
$name = trim($firstName . ' ' . $lastName);
$name = trim($firstName.' '.$lastName);
if ('' === $name) {
return sprintf('Teilnehmer %d', $index + 1);
@@ -98,7 +98,7 @@ class ParticipantCardDataService
return 'Unbekanntes Zimmer';
}
return $room->name;
return $room->label;
}
/**
@@ -110,6 +110,6 @@ class ParticipantCardDataService
$price = $prices[$index] ?? 0.0;
return number_format($price, 2, ',', '.') . ' €';
return number_format($price, 2, ',', '.').' €';
}
}
}