Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ * les formules des établissements concernés ont été modifiées pour tenir compte de cette nouveauté. * les heures de décharge ne sont plus gérées en tant que telles, mais impactent le paramètre "Dépassement de service dû sans HC" * il est maintenant possible de personnaliser les structures gérées dans l'interface de test. * Possibilité de saisir le taux de charges patronales directement dans l'IHM d'administration des statuts des intervenants ## Correction de bugs Loading module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.StatutIntervenant.dcm.xml +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ <field name="plafondHcRemuFc" type="float" column="PLAFOND_HC_REMU_FC" precision="126" scale="0" nullable="false"/> <field name="plafondHcFiHorsEad" type="float" column="PLAFOND_HC_FI_HORS_EAD" precision="126" scale="0" nullable="false"/> <field name="maximumHETD" type="float" column="MAXIMUM_HETD" precision="126" scale="0" nullable="false"/> <field name="chargesPatronales" type="float" column="CHARGES_PATRONALES" precision="126" scale="0" nullable="false"/> <field name="sourceCode" type="string" column="SOURCE_CODE" length="100" nullable="false"/> <field name="nonAutorise" type="boolean" column="NON_AUTORISE" nullable="false"/> <field name="ordre" type="integer" column="ORDRE" nullable="false"/> Loading module/Application/src/Application/Entity/Db/StatutIntervenant.php +35 −6 Original line number Diff line number Diff line Loading @@ -79,6 +79,11 @@ class StatutIntervenant implements HistoriqueAwareInterface, RoleInterface, Impo */ protected $maximumHETD; /** * @var float */ protected $chargesPatronales = 1.0; /** * @var integer */ Loading Loading @@ -634,6 +639,30 @@ class StatutIntervenant implements HistoriqueAwareInterface, RoleInterface, Impo /** * @return float */ public function getChargesPatronales(): float { return $this->chargesPatronales; } /** * @param float $chargesPatronales * * @return StatutIntervenant */ public function setChargesPatronales(float $chargesPatronales): StatutIntervenant { $this->chargesPatronales = $chargesPatronales; return $this; } /** * Get id * Loading module/Application/src/Application/Form/StatutIntervenant/StatutIntervenantSaisieForm.php +27 −3 Original line number Diff line number Diff line Loading @@ -150,6 +150,18 @@ class StatutIntervenantSaisieForm extends AbstractForm 'type' => 'Text', ]); $this->add([ 'name' => 'charges-patronales', 'options' => [ 'label' => "Taux de charges patronales", 'suffix' => '%', ], 'attributes' => [ 'title' => "Taux de charges patronales exprimé en pourcentage", ], 'type' => 'Text', ]); $this->add([ 'name' => 'plafond-referentiel', 'options' => [ Loading Loading @@ -285,6 +297,16 @@ class StatutIntervenantSaisieForm extends AbstractForm }]), ], ], 'charges-patronales' => [ 'required' => true, 'validators' => [ new \Zend\Validator\Callback([ 'messages' => [\Zend\Validator\Callback::INVALID_VALUE => '%value% doit être >= 0'], 'callback' => function ($value) { return (FloatFromString::run($value) >= 0.0 ? true : false); }]), ], ], 'plafond-hc-fi-hors-ead' => [ 'required' => true, 'validators' => [ Loading Loading @@ -363,6 +385,7 @@ class StatutIntervenantHydrator implements HydratorInterface $object->setPeutChoisirDansDossier($data['peut-choisir-dans-dossier']); $object->setMaximumHETD(FloatFromString::run($data['maximum-HETD'])); $object->setDepassementSDSHC($data['depassement-sdshc']); $object->setChargesPatronales(FloatFromString::run($data['charges-patronales']) / 100); return $object; } Loading Loading @@ -401,6 +424,7 @@ class StatutIntervenantHydrator implements HydratorInterface 'plafond-h-c' => StringFromFloat::run($object->getPlafondHcRemuFc()), 'plafond-hc-fi-hors-ead' => StringFromFloat::run($object->getPlafondHcFiHorsEad()), 'maximum-HETD' => StringFromFloat::run($object->getMaximumHETD()), 'charges-patronales' => StringFromFloat::run($object->getChargesPatronales() * 100), 'depassement-sdshc' => $object->getDepassementSDSHC(), ]; Loading module/Application/view/application/statut-intervenant/saisie.phtml +38 −36 Original line number Diff line number Diff line <?php use Application\Provider\Privilege\Privileges; /** Loading Loading @@ -92,6 +93,7 @@ echo $this->form()->openTag($form); ?> <?= $this->formControlGroup($form->get('service-statutaire')); ?> <?= $this->formControlGroup($form->get('plafond-referentiel')); ?> <?= $this->formControlGroup($form->get('maximum-HETD')); ?> <?= $this->formControlGroup($form->get('charges-patronales')); ?> <?= $this->formControlGroup($form->get('plafond-h-h-c')); ?> <?= $this->formControlGroup($form->get('plafond-hc-fi-hors-ead')); ?> <?= $this->formControlGroup($form->get('plafond-h-c')); ?> Loading Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ * les formules des établissements concernés ont été modifiées pour tenir compte de cette nouveauté. * les heures de décharge ne sont plus gérées en tant que telles, mais impactent le paramètre "Dépassement de service dû sans HC" * il est maintenant possible de personnaliser les structures gérées dans l'interface de test. * Possibilité de saisir le taux de charges patronales directement dans l'IHM d'administration des statuts des intervenants ## Correction de bugs Loading
module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.StatutIntervenant.dcm.xml +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ <field name="plafondHcRemuFc" type="float" column="PLAFOND_HC_REMU_FC" precision="126" scale="0" nullable="false"/> <field name="plafondHcFiHorsEad" type="float" column="PLAFOND_HC_FI_HORS_EAD" precision="126" scale="0" nullable="false"/> <field name="maximumHETD" type="float" column="MAXIMUM_HETD" precision="126" scale="0" nullable="false"/> <field name="chargesPatronales" type="float" column="CHARGES_PATRONALES" precision="126" scale="0" nullable="false"/> <field name="sourceCode" type="string" column="SOURCE_CODE" length="100" nullable="false"/> <field name="nonAutorise" type="boolean" column="NON_AUTORISE" nullable="false"/> <field name="ordre" type="integer" column="ORDRE" nullable="false"/> Loading
module/Application/src/Application/Entity/Db/StatutIntervenant.php +35 −6 Original line number Diff line number Diff line Loading @@ -79,6 +79,11 @@ class StatutIntervenant implements HistoriqueAwareInterface, RoleInterface, Impo */ protected $maximumHETD; /** * @var float */ protected $chargesPatronales = 1.0; /** * @var integer */ Loading Loading @@ -634,6 +639,30 @@ class StatutIntervenant implements HistoriqueAwareInterface, RoleInterface, Impo /** * @return float */ public function getChargesPatronales(): float { return $this->chargesPatronales; } /** * @param float $chargesPatronales * * @return StatutIntervenant */ public function setChargesPatronales(float $chargesPatronales): StatutIntervenant { $this->chargesPatronales = $chargesPatronales; return $this; } /** * Get id * Loading
module/Application/src/Application/Form/StatutIntervenant/StatutIntervenantSaisieForm.php +27 −3 Original line number Diff line number Diff line Loading @@ -150,6 +150,18 @@ class StatutIntervenantSaisieForm extends AbstractForm 'type' => 'Text', ]); $this->add([ 'name' => 'charges-patronales', 'options' => [ 'label' => "Taux de charges patronales", 'suffix' => '%', ], 'attributes' => [ 'title' => "Taux de charges patronales exprimé en pourcentage", ], 'type' => 'Text', ]); $this->add([ 'name' => 'plafond-referentiel', 'options' => [ Loading Loading @@ -285,6 +297,16 @@ class StatutIntervenantSaisieForm extends AbstractForm }]), ], ], 'charges-patronales' => [ 'required' => true, 'validators' => [ new \Zend\Validator\Callback([ 'messages' => [\Zend\Validator\Callback::INVALID_VALUE => '%value% doit être >= 0'], 'callback' => function ($value) { return (FloatFromString::run($value) >= 0.0 ? true : false); }]), ], ], 'plafond-hc-fi-hors-ead' => [ 'required' => true, 'validators' => [ Loading Loading @@ -363,6 +385,7 @@ class StatutIntervenantHydrator implements HydratorInterface $object->setPeutChoisirDansDossier($data['peut-choisir-dans-dossier']); $object->setMaximumHETD(FloatFromString::run($data['maximum-HETD'])); $object->setDepassementSDSHC($data['depassement-sdshc']); $object->setChargesPatronales(FloatFromString::run($data['charges-patronales']) / 100); return $object; } Loading Loading @@ -401,6 +424,7 @@ class StatutIntervenantHydrator implements HydratorInterface 'plafond-h-c' => StringFromFloat::run($object->getPlafondHcRemuFc()), 'plafond-hc-fi-hors-ead' => StringFromFloat::run($object->getPlafondHcFiHorsEad()), 'maximum-HETD' => StringFromFloat::run($object->getMaximumHETD()), 'charges-patronales' => StringFromFloat::run($object->getChargesPatronales() * 100), 'depassement-sdshc' => $object->getDepassementSDSHC(), ]; Loading
module/Application/view/application/statut-intervenant/saisie.phtml +38 −36 Original line number Diff line number Diff line <?php use Application\Provider\Privilege\Privileges; /** Loading Loading @@ -92,6 +93,7 @@ echo $this->form()->openTag($form); ?> <?= $this->formControlGroup($form->get('service-statutaire')); ?> <?= $this->formControlGroup($form->get('plafond-referentiel')); ?> <?= $this->formControlGroup($form->get('maximum-HETD')); ?> <?= $this->formControlGroup($form->get('charges-patronales')); ?> <?= $this->formControlGroup($form->get('plafond-h-h-c')); ?> <?= $this->formControlGroup($form->get('plafond-hc-fi-hors-ead')); ?> <?= $this->formControlGroup($form->get('plafond-h-c')); ?> Loading