feat: feedback statistics

addresses #869bgtz2d
This commit is contained in:
Björn Fromme
2025-12-23 14:54:27 +01:00
parent 2fb4fd750b
commit cdfd172a1e
16 changed files with 745 additions and 4 deletions
+3 -1
View File
@@ -78,7 +78,8 @@ class Feedback implements BlameableEntityInterface, TimestampableEntityInterface
#[ORM\Column(length: 255)]
private ?string $author;
// Transient property for form only
#[ORM\ManyToOne]
#[ORM\JoinColumn(onDelete: 'SET NULL')]
#[Assert\NotNull(message: 'Bitte auswählen', groups: ['admin'])]
private ?FeedbackSet $feedbackSet = null;
@@ -105,6 +106,7 @@ class Feedback implements BlameableEntityInterface, TimestampableEntityInterface
->setHotelBusProId($destination->getHotelBusProId())
->setJobProfileName($jobProfile->getName())
->setJobProfileCategory($jobProfile->getCategory())
->setFeedbackSet($jobProfile->getFeedbackSet())
;
return $instance;