Loading module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.Complement.dcm.xml −31 File deleted. Show changes module/Application/src/Application/Service/Agent/AgentServiceFactory.php −3 Changes for module/Application/src/Application/Service/Agent/AgentServiceFactory.php: 0 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -24,14 +24,12 @@ class AgentServiceFactory { /** * @var EntityManager $entityManager * @var AgentAffectationService $agentAffectationService * @var ComplementService $complementService * @var ParametreService $parametreService * @var StructureService $structureService * @var UserService $userService */ $entityManager = $container->get('doctrine.entitymanager.orm_default'); $agentAffectationService = $container->get(AgentAffectationService::class); $complementService = $container->get(ComplementService::class); $parametreService = $container->get(ParametreService::class); $structureService = $container->get(StructureService::class); $userService = $container->get(UserService::class); Loading @@ -40,7 +38,6 @@ class AgentServiceFactory { $service = new AgentService(); $service->setEntityManager($entityManager); $service->setAgentAffectationService($agentAffectationService); $service->setComplementService($complementService); $service->setParametreService($parametreService); $service->setStructureService($structureService); $service->setUserService($userService); Loading module/Structure/view/structure/structure/partial/agents.phtml −16 Changes for module/Structure/view/structure/structure/partial/agents.phtml: 0 added lines, 16 removed lines. Original line number Diff line number Diff line Loading @@ -21,10 +21,6 @@ $canVoirAgent = $this->isAllowed(AgentPrivileges::getResourceId(AgentPrivileges: $canAjouterAgentForce = $this->isAllowed($structure, StructurePrivileges::STRUCTURE_AGENT_FORCE); $canRetirerAgentForce = $canAjouterAgentForce; $canComplement = $this->isAllowed(StructurePrivileges::getResourceId(StructurePrivileges::STRUCTURE_COMPLEMENT_AGENT)) AND $this->isAllowed($structure,StructurePrivileges::STRUCTURE_COMPLEMENT_AGENT); $isForce = (isset($options['force']) AND $options['force'] === true); ?> Loading Loading @@ -92,12 +88,6 @@ $isForce = (isset($options['force']) AND $options['force'] === true); echo $asString; ?> <?php endif; ?> <!-- --><?php //if ($canComplement) : ?> <!-- --><?php ///** @see \Application\Controller\ComplementController::ajouterAction() */ ?> <!-- <a href="--><?php //echo $this->url('complement/ajouter', ['type' => Complement::COMPLEMENT_TYPE_RESPONSABLE, 'attachmenttype' => Agent::class, 'attachmentid' => $agent->getId()], [], true); ?><!--" class="ajax-modal" data-event="modification">--> <!-- <span class="icon icon-ajouter"></span> Ajouter un·e supérieur·e--> <!-- </a>--> <!-- --><?php //endif; ?> </td> <td> <!-- AUTORITE HIERARCHIQUE ---------------------------------------------------------------------------> <?php $autorites = $agent->getAutorites(); ?> Loading @@ -115,12 +105,6 @@ $isForce = (isset($options['force']) AND $options['force'] === true); echo $asString; ?> <?php endif; ?> <!-- --><?php //if ($canComplement) : ?> <!-- --><?php ///** @see \Application\Controller\ComplementController::ajouterAction() */ ?> <!-- <a href="--><?php //echo $this->url('complement/ajouter', ['type' => Complement::COMPLEMENT_TYPE_AUTORITE, 'attachmenttype' => Agent::class, 'attachmentid' => $agent->getId()], [], true); ?><!--" class="ajax-modal" data-event="modification">--> <!-- <span class="icon icon-ajouter"></span> Ajouter un·e supérieur·e--> <!-- </a>--> <!-- --><?php //endif; ?> </td> <td> <?php if ($canVoirAgent) : ?> Loading Loading
module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.Complement.dcm.xml −31 File deleted. Show changes
module/Application/src/Application/Service/Agent/AgentServiceFactory.php −3 Changes for module/Application/src/Application/Service/Agent/AgentServiceFactory.php: 0 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -24,14 +24,12 @@ class AgentServiceFactory { /** * @var EntityManager $entityManager * @var AgentAffectationService $agentAffectationService * @var ComplementService $complementService * @var ParametreService $parametreService * @var StructureService $structureService * @var UserService $userService */ $entityManager = $container->get('doctrine.entitymanager.orm_default'); $agentAffectationService = $container->get(AgentAffectationService::class); $complementService = $container->get(ComplementService::class); $parametreService = $container->get(ParametreService::class); $structureService = $container->get(StructureService::class); $userService = $container->get(UserService::class); Loading @@ -40,7 +38,6 @@ class AgentServiceFactory { $service = new AgentService(); $service->setEntityManager($entityManager); $service->setAgentAffectationService($agentAffectationService); $service->setComplementService($complementService); $service->setParametreService($parametreService); $service->setStructureService($structureService); $service->setUserService($userService); Loading
module/Structure/view/structure/structure/partial/agents.phtml −16 Changes for module/Structure/view/structure/structure/partial/agents.phtml: 0 added lines, 16 removed lines. Original line number Diff line number Diff line Loading @@ -21,10 +21,6 @@ $canVoirAgent = $this->isAllowed(AgentPrivileges::getResourceId(AgentPrivileges: $canAjouterAgentForce = $this->isAllowed($structure, StructurePrivileges::STRUCTURE_AGENT_FORCE); $canRetirerAgentForce = $canAjouterAgentForce; $canComplement = $this->isAllowed(StructurePrivileges::getResourceId(StructurePrivileges::STRUCTURE_COMPLEMENT_AGENT)) AND $this->isAllowed($structure,StructurePrivileges::STRUCTURE_COMPLEMENT_AGENT); $isForce = (isset($options['force']) AND $options['force'] === true); ?> Loading Loading @@ -92,12 +88,6 @@ $isForce = (isset($options['force']) AND $options['force'] === true); echo $asString; ?> <?php endif; ?> <!-- --><?php //if ($canComplement) : ?> <!-- --><?php ///** @see \Application\Controller\ComplementController::ajouterAction() */ ?> <!-- <a href="--><?php //echo $this->url('complement/ajouter', ['type' => Complement::COMPLEMENT_TYPE_RESPONSABLE, 'attachmenttype' => Agent::class, 'attachmentid' => $agent->getId()], [], true); ?><!--" class="ajax-modal" data-event="modification">--> <!-- <span class="icon icon-ajouter"></span> Ajouter un·e supérieur·e--> <!-- </a>--> <!-- --><?php //endif; ?> </td> <td> <!-- AUTORITE HIERARCHIQUE ---------------------------------------------------------------------------> <?php $autorites = $agent->getAutorites(); ?> Loading @@ -115,12 +105,6 @@ $isForce = (isset($options['force']) AND $options['force'] === true); echo $asString; ?> <?php endif; ?> <!-- --><?php //if ($canComplement) : ?> <!-- --><?php ///** @see \Application\Controller\ComplementController::ajouterAction() */ ?> <!-- <a href="--><?php //echo $this->url('complement/ajouter', ['type' => Complement::COMPLEMENT_TYPE_AUTORITE, 'attachmenttype' => Agent::class, 'attachmentid' => $agent->getId()], [], true); ?><!--" class="ajax-modal" data-event="modification">--> <!-- <span class="icon icon-ajouter"></span> Ajouter un·e supérieur·e--> <!-- </a>--> <!-- --><?php //endif; ?> </td> <td> <?php if ($canVoirAgent) : ?> Loading