mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
Merge branch '_31_interface_creation_parcours' of gitlab.com:Chill-Projet/chill-bundles into _31_interface_creation_parcours
This commit is contained in:
commit
e8bf242c42
@ -56,14 +56,13 @@ class LoadAccompanyingPeriod extends AbstractFixture implements OrderedFixtureIn
|
|||||||
$centerAId = $centerA->getId();
|
$centerAId = $centerA->getId();
|
||||||
|
|
||||||
$personIds = $this->container->get('doctrine.orm.entity_manager')
|
$personIds = $this->container->get('doctrine.orm.entity_manager')
|
||||||
->createQuery(
|
->createQueryBuilder()
|
||||||
'
|
->select('p.id')
|
||||||
SELECT person.id
|
->from('ChillPersonBundle:Person', 'p')
|
||||||
FROM ChillPersonBundle:Person person
|
->where('p.center = :centerAId')
|
||||||
WHERE person.center = ' . $centerAId . '
|
->orderBy('p.id', 'ASC')
|
||||||
ORDER BY person.id
|
->setParameter('centerAId', $centerAId)
|
||||||
'
|
->getQuery()
|
||||||
)
|
|
||||||
->getScalarResult();
|
->getScalarResult();
|
||||||
|
|
||||||
$openingDate = new \DateTime('2020-04-01');
|
$openingDate = new \DateTime('2020-04-01');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user