add accompanying period where the person is requestor + badge in results

This commit is contained in:
2021-10-01 09:50:13 +02:00
parent f1f13996f9
commit 0d5d4b3f05
6 changed files with 145 additions and 38 deletions

View File

@@ -213,7 +213,7 @@ class AccompanyingPeriod implements TrackCreationInterface, TrackUpdateInterface
private $scopes;
/**
* @ORM\ManyToOne(targetEntity=Person::class)
* @ORM\ManyToOne(targetEntity=Person::class, inversedBy="accompanyingPeriodRequested")
* @ORM\JoinColumn(nullable=true)
*/
private $requestorPerson;