mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 01:25:00 +00:00
Add attachments to workflow
This commit is contained in:
@@ -18,6 +18,7 @@ use Chill\MainBundle\Entity\Workflow\EntityWorkflowSend;
|
||||
use Chill\MainBundle\Workflow\Exception\HandlerNotFoundException;
|
||||
use Chill\MainBundle\Workflow\Exception\HandlerWithPublicViewNotFoundException;
|
||||
use Chill\MainBundle\Workflow\Templating\EntityWorkflowViewMetadataDTO;
|
||||
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
||||
use Chill\PersonBundle\Entity\Person;
|
||||
use Chill\ThirdPartyBundle\Entity\ThirdParty;
|
||||
use Symfony\Component\Workflow\Registry;
|
||||
@@ -157,4 +158,9 @@ class EntityWorkflowManager
|
||||
{
|
||||
return $this->getHandler($entityWorkflow)->getSuggestedThirdParties($entityWorkflow);
|
||||
}
|
||||
|
||||
public function getRelatedAccompanyingPeriod(EntityWorkflow $entityWorkflow): ?AccompanyingPeriod
|
||||
{
|
||||
return $this->getHandler($entityWorkflow)->getRelatedAccompanyingPeriod($entityWorkflow);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user