fix: ensure complete participant data even when canceled

This commit is contained in:
Björn Fromme
2026-01-29 12:57:37 +01:00
parent 786a4306dd
commit 5d0ba0ef9a
@@ -41,8 +41,10 @@ class PersonalDataSynchronizer
$this->fillMissingApplicantFields($bookingData); $this->fillMissingApplicantFields($bookingData);
foreach ($participants as $participant) { foreach ($participants as $participant) {
// Skip canceled participants (status 'S') // For canceled participants, only ensure mandatory fields have defaults
// Skip other field updates as their data cannot be edited
if ('S' === $participant->status) { if ('S' === $participant->status) {
$this->fillMissingParticipantFields($bookingData->participants[$participant->index]);
continue; continue;
} }