feat: feedback statistics
addresses #869bgtz2d
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user