fix: make selection of transportation services mandatory

This commit is contained in:
Björn Fromme
2025-03-24 11:03:59 +01:00
parent edc965dfa7
commit b9471c4e04
+5
View File
@@ -40,8 +40,13 @@ class ParticipantData
public array $skiPass = [];
public array $board = [];
public array $rentals = [];
#[Assert\NotNull(message: 'Bitte angeben')]
public ?Service $transportationServiceTo = null;
#[Assert\NotNull(message: 'Bitte angeben')]
public ?Service $transportationServiceFro = null;
public ?Pickup $pickup = null;
#[Assert\Callback]