Commit 1148e9eb authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Interface de déclaration des stagiaires externes

parent 8a324bf4
Loading
Loading
Loading
Loading
+2 −11
Changes for module/Application/src/Application/Form/SelectionAgent/SelectionAgentFormAwareTrait.php: 2 added lines, 11 removed lines.
Original line number Diff line number Diff line
@@ -4,25 +4,16 @@ namespace Application\Form\SelectionAgent;

trait SelectionAgentFormAwareTrait {

    /** @var SelectionAgentForm $selectionAgentForm */
    private $selectionAgentForm;
    private SelectionAgentForm $selectionAgentForm;

    /**
     * @return SelectionAgentForm
     */
    public function getSelectionAgentForm() : SelectionAgentForm
    {
        return $this->selectionAgentForm;
    }

    /**
     * @param SelectionAgentForm $selectionAgentForm
     * @return SelectionAgentForm
     */
    public function setSelectionAgentForm(SelectionAgentForm $selectionAgentForm) : SelectionAgentForm
    public function setSelectionAgentForm(SelectionAgentForm $selectionAgentForm) : void
    {
        $this->selectionAgentForm = $selectionAgentForm;
        return $this->selectionAgentForm;
    }

}
 No newline at end of file
+8 −3
Changes for module/Application/src/Application/Form/SelectionAgent/SelectionAgentFormFactory.php: 8 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -6,12 +6,17 @@ use Application\Controller\AgentController;
use Interop\Container\ContainerInterface;
use Laminas\View\Helper\Url;
use Laminas\View\HelperPluginManager;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;

class SelectionAgentFormFactory {

    public function __invoke(ContainerInterface $container) {


    /**
     * @throws ContainerExceptionInterface
     * @throws NotFoundExceptionInterface
     */
    public function __invoke(ContainerInterface $container): SelectionAgentForm
    {
        /** @var SelectionAgentHydrator $hydrator */
        $hydrator = $container->get('HydratorManager')->get(SelectionAgentHydrator::class);

+1 −1
Changes for module/Carriere/view/carriere/corps/index.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ $canAction = ($canModifier OR $canLister);
                        href="<?php echo $this->url('corps/afficher-agents', ['corps' => $corp->getId()], ['fragment' => 'corps'], true); ?>"
                        class="ajax-modal" data-event="modification"
                    >
                        <span class="icon users"></span>
                        <span class="icon icon-users"></span>
                        Lister les agents
                    </a>
                <?php endif; ?>
+1 −1
Changes for module/Carriere/view/carriere/correspondance/index.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ $this->headTitle("Liste des correspondances");
                        href="<?php echo $this->url('correspondance/afficher-agents', ['correspondance' => $correspondance->getId()], [], true); ?>"
                        class="ajax-modal" data-event="modification"
                    >
                            <span class="icon users"></span>
                            <span class="icon icon-users"></span>
                            Lister les agents
                    </a>
                <?php endif; ?>
+1 −1
Changes for module/Carriere/view/carriere/emploi-type/index.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ $canAction = ($canModifier OR $canLister);
                        href="<?php echo $this->url('emploi-type/afficher-agents', ['emploi-type' => $emploiType->getId()], ['fragment' => 'emploi-type'], true); ?>"
                        class="ajax-modal" data-event="modification"
                    >
                        <span class="icon users"></span>
                        <span class="icon icon-users"></span>
                        Lister les agents
                    </a>
                <?php endif; ?>
Loading