Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ author: Laurent Lécluse - DSI - Unicaen * Le référentiel peut être saisi même pour un intervenant d'une autre composante si l'enseignement est dans la composante du gestionnaire * L'utilisateur OSE était mentionné partout comme modificateur au lieu de l'utilisateur courant. C'est rétabli. * La création d'un nouveau projet de contrat ne calculait pas les heures HETD avec la formule. C'est maintenant automatique. * Depuis quelques temps, les plafonds bloquants fonctionnaient comme des plafonds informatifs. C'est corrigé. # OSE 8.2.2 Loading module/Application/src/Application/Controller/ServiceController.php +1 −1 Original line number Diff line number Diff line Loading @@ -507,12 +507,12 @@ class ServiceController extends AbstractController $this->getProcessusPlafond()->beginTransaction(); try { $entity = $service->save($entity); $this->updateTableauxBord($entity->getIntervenant()); $form->get('service')->get('id')->setValue($entity->getId()); // transmet le nouvel ID } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); } $this->getProcessusPlafond()->endTransaction($entity->getIntervenant(), $typeVolumeHoraire); $this->updateTableauxBord($entity->getIntervenant()); } } else { $this->flashMessenger()->addErrorMessage('La validation du formulaire a échoué. L\'enregistrement des données n\'a donc pas été fait.'); Loading module/Application/src/Application/Controller/ServiceReferentielController.php +1 −1 Original line number Diff line number Diff line Loading @@ -151,12 +151,12 @@ class ServiceReferentielController extends AbstractController try { $entity->setIntervenant($intervenant); // car après $form->isValid(), $entity->getIntervenant() === null $entity = $service->save($entity); $this->updateTableauxBord($intervenant); $form->get('service')->get('id')->setValue($entity->getId()); // transmet le nouvel ID } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); } $this->getProcessusPlafond()->endTransaction($intervenant, $typeVolumeHoraire); $this->updateTableauxBord($intervenant); } else { $this->flashMessenger()->addErrorMessage('La validation du formulaire a échoué. L\'enregistrement des données n\'a donc pas été fait.'); } Loading module/Application/src/Application/Controller/VolumeHoraireController.php +1 −1 Original line number Diff line number Diff line Loading @@ -102,12 +102,12 @@ class VolumeHoraireController extends AbstractController $service = $vhl->getService(); $this->getProcessusPlafond()->beginTransaction(); $this->getServiceService()->save($service); $this->updateTableauxBord($service->getIntervenant()); $this->getProcessusPlafond()->endTransaction($service->getIntervenant(), $vhl->getTypeVolumeHoraire()); $this->flashMessenger()->addSuccessMessage('Enregistrement effectué'); } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); } $this->updateTableauxBord($service->getIntervenant()); }); return compact('form'); Loading module/Application/src/Application/Processus/PlafondProcessus.php +0 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ namespace Application\Processus; use Application\Entity\Db\Intervenant; use Application\Entity\Db\TypeVolumeHoraire; use Application\Service\Traits\PlafondServiceAwareTrait; use Doctrine\ORM\EntityManager; use UnicaenApp\Service\EntityManagerAwareInterface; use UnicaenApp\Service\EntityManagerAwareTrait; use Zend\Mvc\Controller\Plugin\FlashMessenger; Loading Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ author: Laurent Lécluse - DSI - Unicaen * Le référentiel peut être saisi même pour un intervenant d'une autre composante si l'enseignement est dans la composante du gestionnaire * L'utilisateur OSE était mentionné partout comme modificateur au lieu de l'utilisateur courant. C'est rétabli. * La création d'un nouveau projet de contrat ne calculait pas les heures HETD avec la formule. C'est maintenant automatique. * Depuis quelques temps, les plafonds bloquants fonctionnaient comme des plafonds informatifs. C'est corrigé. # OSE 8.2.2 Loading
module/Application/src/Application/Controller/ServiceController.php +1 −1 Original line number Diff line number Diff line Loading @@ -507,12 +507,12 @@ class ServiceController extends AbstractController $this->getProcessusPlafond()->beginTransaction(); try { $entity = $service->save($entity); $this->updateTableauxBord($entity->getIntervenant()); $form->get('service')->get('id')->setValue($entity->getId()); // transmet le nouvel ID } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); } $this->getProcessusPlafond()->endTransaction($entity->getIntervenant(), $typeVolumeHoraire); $this->updateTableauxBord($entity->getIntervenant()); } } else { $this->flashMessenger()->addErrorMessage('La validation du formulaire a échoué. L\'enregistrement des données n\'a donc pas été fait.'); Loading
module/Application/src/Application/Controller/ServiceReferentielController.php +1 −1 Original line number Diff line number Diff line Loading @@ -151,12 +151,12 @@ class ServiceReferentielController extends AbstractController try { $entity->setIntervenant($intervenant); // car après $form->isValid(), $entity->getIntervenant() === null $entity = $service->save($entity); $this->updateTableauxBord($intervenant); $form->get('service')->get('id')->setValue($entity->getId()); // transmet le nouvel ID } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); } $this->getProcessusPlafond()->endTransaction($intervenant, $typeVolumeHoraire); $this->updateTableauxBord($intervenant); } else { $this->flashMessenger()->addErrorMessage('La validation du formulaire a échoué. L\'enregistrement des données n\'a donc pas été fait.'); } Loading
module/Application/src/Application/Controller/VolumeHoraireController.php +1 −1 Original line number Diff line number Diff line Loading @@ -102,12 +102,12 @@ class VolumeHoraireController extends AbstractController $service = $vhl->getService(); $this->getProcessusPlafond()->beginTransaction(); $this->getServiceService()->save($service); $this->updateTableauxBord($service->getIntervenant()); $this->getProcessusPlafond()->endTransaction($service->getIntervenant(), $vhl->getTypeVolumeHoraire()); $this->flashMessenger()->addSuccessMessage('Enregistrement effectué'); } catch (\Exception $e) { $this->flashMessenger()->addErrorMessage($this->translate($e)); } $this->updateTableauxBord($service->getIntervenant()); }); return compact('form'); Loading
module/Application/src/Application/Processus/PlafondProcessus.php +0 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ namespace Application\Processus; use Application\Entity\Db\Intervenant; use Application\Entity\Db\TypeVolumeHoraire; use Application\Service\Traits\PlafondServiceAwareTrait; use Doctrine\ORM\EntityManager; use UnicaenApp\Service\EntityManagerAwareInterface; use UnicaenApp\Service\EntityManagerAwareTrait; use Zend\Mvc\Controller\Plugin\FlashMessenger; Loading