fix: remove incorrect validation group

This commit is contained in:
2026-09-08 16:25:43 +02:00
parent cfe901b9c2
commit d6c2cfaf1c
@@ -164,7 +164,6 @@ class AccommodationBooking implements BlameableEntityInterface, TimestampableEnt
#[Assert\Expression( #[Assert\Expression(
'null === this.getTotalDiscount() or (null !== value and "" !== value)', 'null === this.getTotalDiscount() or (null !== value and "" !== value)',
message: 'Bitte eine Bezeichnung für den Rabatt angeben.', message: 'Bitte eine Bezeichnung für den Rabatt angeben.',
groups: ['edit'],
)] )]
private ?string $totalDiscountLabel = null; private ?string $totalDiscountLabel = null;