feat: respect participants' mutability status in booking data
This commit is contained in:
@@ -14,6 +14,7 @@ class ParticipantData
|
||||
public ?int $addressId = null;
|
||||
public ?int $personId = null;
|
||||
public ?string $status = null;
|
||||
public bool $mutable = false;
|
||||
|
||||
#[Assert\NotBlank(message: 'Bitte angeben')]
|
||||
public ?string $firstName = null;
|
||||
@@ -97,6 +98,7 @@ class ParticipantData
|
||||
|
||||
$instance->addressId = $personalData->addressId;
|
||||
$instance->personId = $personalData->personId;
|
||||
$instance->mutable = $personalData->mutable;
|
||||
$instance->firstName = $personalData->firstName;
|
||||
$instance->lastName = $personalData->name;
|
||||
$instance->gender = $personalData->gender;
|
||||
|
||||
Reference in New Issue
Block a user