Skip to content
Snippets Groups Projects
Commit 97d17601 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Bugs divers

parent 45a6c297
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,14 @@ namespace Application\Form\TypeIntervention;
use Application\Form\AbstractForm;
use Application\Service\Traits\TypeInterventionStatutServiceAwareTrait;
use Application\Entity\Db\Traits\TypeInterventionStatutAwareTrait
use Application\Entity\Db\Traits\TypeInterventionStatutAwareTrait;
use Application\Service\Traits\TypeInterventionServiceAwareTrait;
use Intervenant\Service\StatutServiceAwareTrait;
use Laminas\Form\Element\Csrf;
use Laminas\Hydrator\HydratorInterface;
use Application\Filter\FloatFromString;
use Application\Filter\StringFromFloat;
use UnicaenApp\Service\EntityManagerAwareTrait;
/**
* Description of TypeInterventionStatutSaisieForm
......@@ -28,6 +29,7 @@ class TypeInterventionStatutSaisieForm extends AbstractForm
{
$hydrator = new TypeInterventionStatutHydrator();
$this->setHydrator($hydrator);
$hydrator->setEntityManager($this->getEntityManager());
$this->setAttribute('action', $this->getCurrentUrl());
$this->add([
......
......@@ -11,6 +11,7 @@ use Laminas\Form\Element\Csrf;
use Laminas\Hydrator\HydratorInterface;
use Application\Service\Traits\ContextServiceAwareTrait;
use Application\Service\Traits\AnneeServiceAwareTrait;
use UnicaenApp\Service\EntityManagerAwareTrait;
use UnicaenApp\Util;
/**
......@@ -30,6 +31,7 @@ class TypeInterventionStructureSaisieForm extends AbstractForm
{
$hydrator = new TypeInterventionStructureHydrator();
$this->setHydrator($hydrator);
$hydrator->setEntityManager($this->getEntityManager());
$this->setAttribute('action', $this->getCurrentUrl());
$this->add([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment