wip: service descriptions and car license plate field
This commit is contained in:
1 parent
195246af89
commit
a3ea02a136
12 files changed
+623
-5
No files matched your search
@@ -87,11 +87,12 @@ class ParticipantRentalInsuranceFieldHandler extends AbstractParticipantFieldHan
|
||||
|
||||
// Check if rental insurance should be visible based on rental selections
|
||||
$hasRentals = false === empty($participant->rentals);
|
||||
|
||||
|
||||
if (false === $hasRentals) {
|
||||
// If no rentals are selected, clear rental insurance data
|
||||
$participant->rentalInsuranceSelected = false;
|
||||
$participant->rentalInsurance = null;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user