Commit 76c5d51e authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Corrections diverses et debut de nouveau formulaire

parent 4e4bf31d
Loading
Loading
Loading
Loading
+2 −2
Changes for module/Application/src/Application/Controller/ApplicationController.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -14,13 +14,13 @@ use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;

class ApplicationController  extends AbstractActionController {
    /** Trait utilisés pour les services */
    use ApplicationServiceAwareTrait;
    use ApplicationGroupeServiceAwareTrait;
    /** Trait utilisées pour les formulaires */
    use ApplicationFormAwareTrait;
    use ApplicationGroupeFormAwareTrait;

    /** APPLICATION ***************************************************************************************************/

    public function indexAction()
    {
        /**
+0 −1
Changes for module/Application/src/Application/Controller/IndexController.php: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ class IndexController extends AbstractActionController
        /** @var Agent $agent */
        $agent = null;


        if ($this->getServiceUserContext()->getLdapUser()) {
            $supannId = ((int) $this->getServiceUserContext()->getLdapUser()->getSupannEmpId());
            $agent = $this->getAgentService()->getAgentBySupannId($supannId);
+1 −2
Changes for module/Application/src/Application/Controller/IndexControllerFactory.php: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -8,11 +8,10 @@ use Application\Service\Validation\ValidationDemandeService;
use Interop\Container\ContainerInterface;
use UnicaenAuthentification\Service\UserContext;
use UnicaenUtilisateur\Service\Role\RoleService;
use UnicaenUtilisateur\Service\User\UserService;;
use UnicaenUtilisateur\Service\User\UserService;

class IndexControllerFactory {

    //TODO fix le probleme avec userContext ...
    public function __invoke(ContainerInterface $container)
    {
        /**
+0 −2
Changes for module/Application/src/Application/Controller/PosteController.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -11,9 +11,7 @@ use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;

class PosteController extends AbstractActionController {
    /** Trait utilisés pour les services */
    use PosteServiceAwareTrait;
    /** Trait utilisés pour les formulaires */
    use PosteFormAwareTrait;

    public function indexAction()
+0 −2
Changes for module/Application/src/Application/Entity/Db/ActiviteApplication.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2,8 +2,6 @@

namespace Application\Entity\Db;

use Application\Entity\Db\Activite;
use Application\Entity\Db\Application;
use UnicaenUtilisateur\Entity\HistoriqueAwareTrait;

class ActiviteApplication {
Loading