From fa78050839b2dad223b73038017bbac4e83c151a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr> Date: Thu, 5 Sep 2019 12:08:46 +0200 Subject: [PATCH] =?UTF-8?q?Les=20services=20r=C3=A9alis=C3=A9s=20peuvent?= =?UTF-8?q?=20maintenant=20=C3=AAtre=20initialis=C3=A9s=20=C3=A0=20partir?= =?UTF-8?q?=20de=20volumers=20horaires=20auto-valid=C3=A9s=20en=20plus=20e?= =?UTF-8?q?=20ceux=20qui=20ont=20=C3=A9t=C3=A9=20valid=C3=A9s=20manuelleme?= =?UTF-8?q?nt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + module/Application/src/Application/Service/ServiceService.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67c7251905..72037f25a7 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ author: Laurent Lécluse - DSI - Unicaen ## Correction de bugs * On peut maintenant s'abonner à un indicateur même avec un rôle de périmètre établissement réduit à une composante. +* Les services réalisés peuvent maintenant être initialisés à partir de volumers horaires auto-validés en plus e ceux qui ont été validés manuellement. # OSE 8.2.2 diff --git a/module/Application/src/Application/Service/ServiceService.php b/module/Application/src/Application/Service/ServiceService.php index d95f9382df..e3ec496ce3 100755 --- a/module/Application/src/Application/Service/ServiceService.php +++ b/module/Application/src/Application/Service/ServiceService.php @@ -733,7 +733,7 @@ class ServiceService extends AbstractEntityService $prevus = $service ->getVolumeHoraireListe()->createChild() ->setTypeVolumeHoraire($this->getServiceTypeVolumeHoraire()->getPrevu()) - ->setEtatVolumeHoraire($this->getServiceEtatVolumeHoraire()->getValide()); + ->setValidation(true); $realises = $service ->getVolumeHoraireListe()->createChild() -- GitLab