fix: ensure complete participant data even when canceled
This commit is contained in:
@@ -41,8 +41,10 @@ class PersonalDataSynchronizer
|
||||
$this->fillMissingApplicantFields($bookingData);
|
||||
|
||||
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) {
|
||||
$this->fillMissingParticipantFields($bookingData->participants[$participant->index]);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user