fix: exclude cancelled participants' services from price breakdown

This commit is contained in:
fromme committed 2026-10-09 12:33:43 +02:00
1 parent 553ec901f3
commit 849a19b67a
4 files changed
+74 -4

No files matched your search

+2 -1
View File
@@ -288,7 +288,8 @@ class BookingConfigurator
int $participantIndex,
ParticipantDto $participant,
): bool {
if (null === $participant->dateOfBirth) {
// A cancelled participant's services are no longer billed, so nothing may be added for them
if (true === $participant->isCanceled() || null === $participant->dateOfBirth) {
return false;
}