fix: validate mandatory services selection

This commit is contained in:
Björn Fromme
2026-03-16 12:03:00 +01:00
parent 474d171779
commit b752256bda
4 changed files with 291 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface;
*/
#[AppAssert\PurchaseVoucher(groups: ['booking_create', 'booking_edit'])]
#[AppAssert\PromoVoucher(groups: ['booking_create', 'booking_edit'])]
#[AppAssert\MandatoryAdditionalServicesSelected(groups: ['booking_create', 'booking_edit'])]
class ParticipantEditDto
{
public function __construct(