Loading CHANGELOG.md +5 −1 Original line number Diff line number Diff line # OSE 14.5 (alpha) # OSE 14.5 (beta) ## Nouveautés ## Corrections de bugs * Corrections coquilles dans l'administration. * Correction bug sur la duplication d'un statut d'intervenant (ticket #29553) * Lors de l'import de données, l'application ne plante plus si le connecteur INTERVENANT est désactivé # OSE 14.4 Loading module/Application/src/Application/Form/StatutIntervenant/StatutIntervenantSaisieForm.php +44 −38 Original line number Diff line number Diff line Loading @@ -282,6 +282,7 @@ class StatutIntervenantSaisieForm extends AbstractForm */ public function getInputFilterSpecification() { return [ 'libelle' => [ 'required' => true, Loading Loading @@ -433,7 +434,9 @@ class StatutIntervenantHydrator implements HydratorInterface $object->setMaximumHETD(FloatFromString::run($data['maximum-HETD'])); $object->setDepassementSDSHC($data['depassement-sdshc']); $object->setChargesPatronales(FloatFromString::run($data['charges-patronales']) / 100); //Uniquement si le statut intervenant existe déjà en base. if(!empty($data['id'])) { //Gestion de la durée de vie des agréments par statut d'intervenant //On récupére les types d'agrement $qb = $this->getServiceTypeAgrement()->finderByHistorique(); Loading Loading @@ -477,6 +480,9 @@ class StatutIntervenantHydrator implements HydratorInterface } } } } return $object; } Loading module/Application/view/application/statut-intervenant/saisie.phtml +30 −27 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ echo $this->form()->openTag($form); ?> <div class="col-md-9"> <div class="row"> <div class="col-md-4"> <?= $this->formHidden($form->get('id')); ?> <?= $this->formControlGroup($form->get('type-intervenant')); ?> </div> <div class="col-md-8"> Loading Loading @@ -74,8 +75,12 @@ echo $this->form()->openTag($form); ?> <?= $this->formControlGroup($form->get('depassement-sdshc')); ?> <br/> </div> <!--Uniquement si le statut existe déjà en base (avec un id)--> <?php if (empty($form->get('id')->getValue())): ?> <div class="row temoins hidden" > <?php else: ?> <div class="row temoins" > <?php endif; ?> <fieldset> <legend style="font-size: 14px;font-weight: 700;">Gestion des agréments pour le statut : </legend> <table class="table table-bordered"> Loading @@ -100,7 +105,6 @@ echo $this->form()->openTag($form); ?> </fieldset> </div> <div class="row"> <?= $this->formElement($form->get('security')); ?> <?php if ($canEdit) echo $this->formSubmit($form->get('submit')); ?> Loading Loading @@ -140,7 +144,6 @@ echo $this->form()->openTag($form); ?> <script type="text/javascript"> $(function () { $("body").on("statut-intervenant-clone", function (event, data) { console.log('toto'); window.location.reload(); }); $(".statut-libelle-<?= $form->get('id')->getValue() ?>").html("<?= $form->get('libelle')->getValue() ?>"); Loading Loading
CHANGELOG.md +5 −1 Original line number Diff line number Diff line # OSE 14.5 (alpha) # OSE 14.5 (beta) ## Nouveautés ## Corrections de bugs * Corrections coquilles dans l'administration. * Correction bug sur la duplication d'un statut d'intervenant (ticket #29553) * Lors de l'import de données, l'application ne plante plus si le connecteur INTERVENANT est désactivé # OSE 14.4 Loading
module/Application/src/Application/Form/StatutIntervenant/StatutIntervenantSaisieForm.php +44 −38 Original line number Diff line number Diff line Loading @@ -282,6 +282,7 @@ class StatutIntervenantSaisieForm extends AbstractForm */ public function getInputFilterSpecification() { return [ 'libelle' => [ 'required' => true, Loading Loading @@ -433,7 +434,9 @@ class StatutIntervenantHydrator implements HydratorInterface $object->setMaximumHETD(FloatFromString::run($data['maximum-HETD'])); $object->setDepassementSDSHC($data['depassement-sdshc']); $object->setChargesPatronales(FloatFromString::run($data['charges-patronales']) / 100); //Uniquement si le statut intervenant existe déjà en base. if(!empty($data['id'])) { //Gestion de la durée de vie des agréments par statut d'intervenant //On récupére les types d'agrement $qb = $this->getServiceTypeAgrement()->finderByHistorique(); Loading Loading @@ -477,6 +480,9 @@ class StatutIntervenantHydrator implements HydratorInterface } } } } return $object; } Loading
module/Application/view/application/statut-intervenant/saisie.phtml +30 −27 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ echo $this->form()->openTag($form); ?> <div class="col-md-9"> <div class="row"> <div class="col-md-4"> <?= $this->formHidden($form->get('id')); ?> <?= $this->formControlGroup($form->get('type-intervenant')); ?> </div> <div class="col-md-8"> Loading Loading @@ -74,8 +75,12 @@ echo $this->form()->openTag($form); ?> <?= $this->formControlGroup($form->get('depassement-sdshc')); ?> <br/> </div> <!--Uniquement si le statut existe déjà en base (avec un id)--> <?php if (empty($form->get('id')->getValue())): ?> <div class="row temoins hidden" > <?php else: ?> <div class="row temoins" > <?php endif; ?> <fieldset> <legend style="font-size: 14px;font-weight: 700;">Gestion des agréments pour le statut : </legend> <table class="table table-bordered"> Loading @@ -100,7 +105,6 @@ echo $this->form()->openTag($form); ?> </fieldset> </div> <div class="row"> <?= $this->formElement($form->get('security')); ?> <?php if ($canEdit) echo $this->formSubmit($form->get('submit')); ?> Loading Loading @@ -140,7 +144,6 @@ echo $this->form()->openTag($form); ?> <script type="text/javascript"> $(function () { $("body").on("statut-intervenant-clone", function (event, data) { console.log('toto'); window.location.reload(); }); $(".statut-libelle-<?= $form->get('id')->getValue() ?>").html("<?= $form->get('libelle')->getValue() ?>"); Loading