Loading documentation/release/4.2.1.md +1 −1 Original line number Diff line number Diff line Version 4.2.0 (XX/11/2023) Version 4.2.1 (04/12/2023) ==== Évolution Loading documentation/release/4.2.2.md 0 → 100644 +29 −0 Original line number Diff line number Diff line Version 4.2.2 (XX/12/2023) ==== Évolution --- - [EMC2] Correction de titres de modal Modification en BD --- ```postgresql ``` Evolution des librairies --- ```bash ``` ```bash rm -fr vendor rm -fr composer.lock composer install ``` Evolution des macros et templates --- module/Application/src/Application/Controller/FichePosteController.php +2 −2 Original line number Diff line number Diff line Loading @@ -218,7 +218,7 @@ class FichePosteController extends AbstractActionController $fiche = $this->getFichePosteService()->getRequestedFichePoste($this); if ($fiche === null) $fiche = $this->getFichePosteService()->getLastFichePoste(); if ($fiche->getEtatActif()->getType()->getCode() === FichePosteEtats::ETAT_CODE_SIGNEE) return $this->redirect()->toRoute('fiche-poste/afficher', ['structure' => $structure, 'fiche-poste' => $fiche->getId()], [], true); if ($fiche->getEtatActif() && $fiche->getEtatActif()->getType()->getCode() === FichePosteEtats::ETAT_CODE_SIGNEE) return $this->redirect()->toRoute('fiche-poste/afficher', ['structure' => $structure, 'fiche-poste' => $fiche->getId()], [], true); $agent = $fiche->getAgent(); $applications = $this->getFichePosteService()->getApplicationsDictionnaires($fiche); Loading Loading @@ -645,7 +645,7 @@ class FichePosteController extends AbstractActionController } return new ViewModel([ 'title' => "Sélection des formations pour la fiche de poste", 'title' => "Sélection des compétences pour la fiche de poste", 'ficheposte' => $ficheposte, 'competences' => $competences, ]); Loading module/Application/view/application/fiche-poste/partial/validations.phtml +4 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ $canFichePosteValiderAgent = $this->isAllowed($fiche, FichePostePrivileges::FICH <div class="col-md-6"> <?php if ($fiche->getAgent() !== null) : ?> <h2>État de la fiche de poste</h2> <?php if ($fiche->getEtatActif()) : ?> <?php $etattype = $fiche->getEtatActif()->getType(); ?> <?php echo $this->etattype($etattype); ?> <?php if ($etattype === FichePosteEtats::ETAT_CODE_SIGNEE) : ?> Loading @@ -91,6 +92,9 @@ $canFichePosteValiderAgent = $this->isAllowed($fiche, FichePostePrivileges::FICH <?php else : ?> La fiche de poste n'est pas encore visée par l'agent·e. <?php endif; ?> <?php else : ?> Pas d'état pour cette fiche <?php endif; ?> <br/> <?php if ($canFichePosteModifierEtat) : ?> Loading module/Structure/view/structure/structure/fiches-de-poste.phtml +5 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,8 @@ $date = new DateTime(); <table class="table table-condensed datatable"> <thead> <tr> <th> Agent & Affectation </th> <th data-type="string"> Agent </th> <th>Affectation </th> <th> Fiches de poste </th> </tr> </thead> Loading @@ -46,8 +47,10 @@ $date = new DateTime(); <?php foreach ($agents as $agent) : ?> <?php if ($agent instanceof StructureAgentForce) $agent = $agent->getAgent(); ?> <tr> <td data-order="<?php echo $agent->getDenomination(); ?>"> <?php echo $agent->getDenomination(true); ?> </td> <td> <strong><?php echo $agent->getDenomination(); ?></strong> <br/> <?php $affectation = $agent->getAffectationPrincipale(); $structure_ = ($affectation !== null)?$affectation->getStructure():null; Loading Loading
documentation/release/4.2.1.md +1 −1 Original line number Diff line number Diff line Version 4.2.0 (XX/11/2023) Version 4.2.1 (04/12/2023) ==== Évolution Loading
documentation/release/4.2.2.md 0 → 100644 +29 −0 Original line number Diff line number Diff line Version 4.2.2 (XX/12/2023) ==== Évolution --- - [EMC2] Correction de titres de modal Modification en BD --- ```postgresql ``` Evolution des librairies --- ```bash ``` ```bash rm -fr vendor rm -fr composer.lock composer install ``` Evolution des macros et templates ---
module/Application/src/Application/Controller/FichePosteController.php +2 −2 Original line number Diff line number Diff line Loading @@ -218,7 +218,7 @@ class FichePosteController extends AbstractActionController $fiche = $this->getFichePosteService()->getRequestedFichePoste($this); if ($fiche === null) $fiche = $this->getFichePosteService()->getLastFichePoste(); if ($fiche->getEtatActif()->getType()->getCode() === FichePosteEtats::ETAT_CODE_SIGNEE) return $this->redirect()->toRoute('fiche-poste/afficher', ['structure' => $structure, 'fiche-poste' => $fiche->getId()], [], true); if ($fiche->getEtatActif() && $fiche->getEtatActif()->getType()->getCode() === FichePosteEtats::ETAT_CODE_SIGNEE) return $this->redirect()->toRoute('fiche-poste/afficher', ['structure' => $structure, 'fiche-poste' => $fiche->getId()], [], true); $agent = $fiche->getAgent(); $applications = $this->getFichePosteService()->getApplicationsDictionnaires($fiche); Loading Loading @@ -645,7 +645,7 @@ class FichePosteController extends AbstractActionController } return new ViewModel([ 'title' => "Sélection des formations pour la fiche de poste", 'title' => "Sélection des compétences pour la fiche de poste", 'ficheposte' => $ficheposte, 'competences' => $competences, ]); Loading
module/Application/view/application/fiche-poste/partial/validations.phtml +4 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ $canFichePosteValiderAgent = $this->isAllowed($fiche, FichePostePrivileges::FICH <div class="col-md-6"> <?php if ($fiche->getAgent() !== null) : ?> <h2>État de la fiche de poste</h2> <?php if ($fiche->getEtatActif()) : ?> <?php $etattype = $fiche->getEtatActif()->getType(); ?> <?php echo $this->etattype($etattype); ?> <?php if ($etattype === FichePosteEtats::ETAT_CODE_SIGNEE) : ?> Loading @@ -91,6 +92,9 @@ $canFichePosteValiderAgent = $this->isAllowed($fiche, FichePostePrivileges::FICH <?php else : ?> La fiche de poste n'est pas encore visée par l'agent·e. <?php endif; ?> <?php else : ?> Pas d'état pour cette fiche <?php endif; ?> <br/> <?php if ($canFichePosteModifierEtat) : ?> Loading
module/Structure/view/structure/structure/fiches-de-poste.phtml +5 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,8 @@ $date = new DateTime(); <table class="table table-condensed datatable"> <thead> <tr> <th> Agent & Affectation </th> <th data-type="string"> Agent </th> <th>Affectation </th> <th> Fiches de poste </th> </tr> </thead> Loading @@ -46,8 +47,10 @@ $date = new DateTime(); <?php foreach ($agents as $agent) : ?> <?php if ($agent instanceof StructureAgentForce) $agent = $agent->getAgent(); ?> <tr> <td data-order="<?php echo $agent->getDenomination(); ?>"> <?php echo $agent->getDenomination(true); ?> </td> <td> <strong><?php echo $agent->getDenomination(); ?></strong> <br/> <?php $affectation = $agent->getAffectationPrincipale(); $structure_ = ($affectation !== null)?$affectation->getStructure():null; Loading