Skip to content
Snippets Groups Projects
Commit b4dd1fc3 authored by gauthierb's avatar gauthierb
Browse files

Une reponsabilité structurelle n'est prise en compte que si la structure...

Une reponsabilité structurelle n'est prise en compte que si la structure possède une offre de formation.
parent 001bf29b
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,7 @@ class RoleProvider implements ProviderInterface
$rolesComposante = array();
foreach ($qb->getQuery()->getResult() as $trpr) { /* @var $trpr \Application\Entity\Db\TypeRolePhpRole */
$qb2 = $this->serviceRole->finderByTypeRole($trpr->getTypeRole());
$qb2 = $this->serviceRole->finderByOffreFormationExistante($qb2); // la structure doit avoir une offre de formation
$rolesComposante += $this->serviceRole->getList($qb2);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment