Commit 9a4b4a5a authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Merge remote-tracking branch 'origin/master'

parents 700b029a 2643411c
Loading
Loading
Loading
Loading
Loading
+22 −6
Original line number Diff line number Diff line
@@ -21,6 +21,17 @@
  * Possibilité de renseigner précisément l'étape d'enseignement en cas d'élément pédagogique mutualisé 



# OSE 24.1 (à venir 05/2025)

## Corrections

* L'état de sortie des paiements est de nouveau opérationnel avec des primes (#61568)
* Meilleure présentation des résultats au niveau de l'arrondisseur de calcul HETD : les sommes sont toutes recalculées
* Arrondisseur de règle de calcul HETD corrigé pour être le plus compatible possible aux résultats de l'ancienne infrastructure "formules"



# OSE 24 (29/04/2025)

## Nouveautés
@@ -71,15 +82,20 @@
* L'opération de migration peut durer assez longtemps : prévoyez jusqu'à 2h de durée d'exécution pour le script de mise à jour.

* Dans cette nouvelle version la commande **bin/ose** a évolué et est maintenant en bash et non en php. Pour son utilisation ponctuelle rien ne change, par contre si vous avez planifié des tâches via crontab, il faudra ajuster celui-ci pour executer **bin/ose** comme une commande bash et non comme un script php : 
`
#avant
/usr/bin/php /chemin_absolu_vers/bin/ose notifier-indicateurs
`
`#après
/chemin_absolu_vers/bin/ose notifier-indicateurs`

  * #avant /usr/bin/php /chemin_absolu_vers/bin/ose notifier-indicateurs
` *`#après /chemin_absolu_vers/bin/ose notifier-indicateurs`

* Le calcul des heures complémentaires ayant complètement changé, il se peut que sur certaines fiches complexes avec des paiements déjà effectués vous ayez un différentiel qui apparaisse avec quelques centimes à mettre en paiement ou au contraire quelques centimes en trop payé

* Attention à bien vérifier que les requêtes de vos plafonds fonctionnent toujours.
Exemples de modifications pouvant les impacter :
  * La table formule_resultat a été renommée en formule_resultat_intervenant
  * Les tables formule_resultat_service et formule_resultat_service_ref ont été supprimées
  * Les tables formule_resultat_vh et formule_resultat_vh_ref ont été fusionnées dans formule_resultat_volume_horaire
  * Les colonnes heures_compl_fc_majorees ont été renommées en heures_primes
  * Les colonnes service_referentiel ont été renommées en service_referentiel

* L'état de sortie export des services devra être adapté dans certains cas pour ne plus faire référence à HEURES_COMPL_FC_MAJOREES dans le traitement php de la partie export pdf, mais faire maintenant référence à HEURES_PRIMES.
Un script de migration est chargé de faire ce travail, mais il ne pourra pas le faire dans tous les cas de figure.

+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ A adapter à vos besoins.

	<Directory /var/www/ose/public>
		Options Indexes MultiViews
		AllowOverride None
		AllowOverride All
	</Directory>
</VirtualHost>
```
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ return [
    'temporary'   => FALSE,
    'logging'     => TRUE,
    'commentaire' => NULL,
    'sequence'    => NULL,
    'sequence'    => 'CENTRE_COUT_TYPE_MISS_ID_SEQ',
    'columns'     => [
        'CENTRE_COUT_ID'        => [
            'name'        => 'CENTRE_COUT_ID',
@@ -76,7 +76,7 @@ return [
            'length'      => 0,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => FALSE,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 7,
            'commentaire' => NULL,
+69 −81
Original line number Diff line number Diff line
@@ -33,6 +33,18 @@ return [
            'position'    => 4,
            'commentaire' => NULL,
        ],
        'AUTRE_LIBELLE'             => [
            'name'        => 'AUTRE_LIBELLE',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 4000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 24,
            'commentaire' => NULL,
        ],
        'AUTRES'                    => [
            'name'        => 'AUTRES',
            'type'        => 'float',
@@ -42,7 +54,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 22,
            'position'    => 23,
            'commentaire' => NULL,
        ],
        'AUTRES_LIBELLES'           => [
@@ -54,31 +66,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 41,
            'commentaire' => NULL,
        ],
        'AUTRE_LIBELLE'             => [
            'name'        => 'AUTRE_LIBELLE',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 1000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 23,
            'commentaire' => NULL,
        ],
        'AUTRE_LIBELLE'             => [
            'name'        => 'AUTRE_LIBELLE',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 4000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 23,
            'position'    => 42,
            'commentaire' => NULL,
        ],
        'CM'                        => [
@@ -90,7 +78,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 19,
            'position'    => 20,
            'commentaire' => NULL,
        ],
        'CONTRAT_ID'                => [
@@ -126,7 +114,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 14,
            'position'    => 15,
            'commentaire' => NULL,
        ],
        'DATE_DEBUT'                => [
@@ -138,7 +126,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 12,
            'position'    => 13,
            'commentaire' => NULL,
        ],
        'DATE_FIN'                  => [
@@ -150,7 +138,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 13,
            'position'    => 14,
            'commentaire' => NULL,
        ],
        'EDITE'                     => [
@@ -162,7 +150,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 10,
            'position'    => 11,
            'commentaire' => 'Nombre de volumes horaires contractualisés',
        ],
        'HETD'                      => [
@@ -174,7 +162,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 25,
            'position'    => 26,
            'commentaire' => NULL,
        ],
        'HEURES'                    => [
@@ -186,7 +174,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 24,
            'position'    => 25,
            'commentaire' => NULL,
        ],
        'ID'                        => [
@@ -213,28 +201,28 @@ return [
            'position'    => 5,
            'commentaire' => NULL,
        ],
        'MISSIONS_LIBELLES'         => [
            'name'        => 'MISSIONS_LIBELLES',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 1000,
        'MISSION_ID'                => [
            'name'        => 'MISSION_ID',
            'type'        => 'int',
            'bdd-type'    => 'NUMBER',
            'length'      => 0,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 44,
            'position'    => 16,
            'commentaire' => NULL,
        ],
        'MISSION_ID'                => [
            'name'        => 'MISSION_ID',
            'type'        => 'int',
            'bdd-type'    => 'NUMBER',
            'length'      => 0,
        'MISSIONS_LIBELLES'         => [
            'name'        => 'MISSIONS_LIBELLES',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 1000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 15,
            'position'    => 45,
            'commentaire' => NULL,
        ],
        'NUMERO_AVENANT'            => [
@@ -246,7 +234,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 42,
            'position'    => 43,
            'commentaire' => NULL,
        ],
        'PROLONGATION'              => [
@@ -270,7 +258,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 16,
            'position'    => 17,
            'commentaire' => NULL,
        ],
        'SERVICE_REFERENTIEL_ID'    => [
@@ -282,7 +270,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 17,
            'position'    => 18,
            'commentaire' => NULL,
        ],
        'SIGNE'                     => [
@@ -294,7 +282,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 11,
            'position'    => 12,
            'commentaire' => 'Nombre de volumes horaires signés',
        ],
        'STRUCTURE_ID'              => [
@@ -318,7 +306,7 @@ return [
            'precision'   => 126,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 31,
            'position'    => 32,
            'commentaire' => NULL,
        ],
        'TAUX_REMU_DATE'            => [
@@ -330,7 +318,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 28,
            'position'    => 29,
            'commentaire' => NULL,
        ],
        'TAUX_REMU_ID'              => [
@@ -342,7 +330,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 26,
            'position'    => 27,
            'commentaire' => NULL,
        ],
        'TAUX_REMU_MAJORE_ID'       => [
@@ -354,7 +342,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 29,
            'position'    => 30,
            'commentaire' => NULL,
        ],
        'TAUX_REMU_MAJORE_VALEUR'   => [
@@ -366,7 +354,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 30,
            'position'    => 31,
            'commentaire' => NULL,
        ],
        'TAUX_REMU_VALEUR'          => [
@@ -378,7 +366,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 27,
            'position'    => 28,
            'commentaire' => NULL,
        ],
        'TD'                        => [
@@ -390,7 +378,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 20,
            'position'    => 21,
            'commentaire' => NULL,
        ],
        'TERMINE'                   => [
@@ -402,7 +390,7 @@ return [
            'precision'   => 1,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 35,
            'position'    => 36,
            'commentaire' => 'Nombre de volumes horaires signés',
        ],
        'TOTAL_GLOBAL_HETD'         => [
@@ -414,7 +402,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 40,
            'position'    => 41,
            'commentaire' => NULL,
        ],
        'TOTAL_HETD'                => [
@@ -426,7 +414,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 36,
            'position'    => 37,
            'commentaire' => NULL,
        ],
        'TOTAL_HEURES'              => [
@@ -438,7 +426,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 37,
            'position'    => 38,
            'commentaire' => NULL,
        ],
        'TOTAL_HEURES_FORMATION'    => [
@@ -450,7 +438,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 38,
            'position'    => 39,
            'commentaire' => NULL,
        ],
        'TP'                        => [
@@ -462,19 +450,7 @@ return [
            'precision'   => 126,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 21,
            'commentaire' => NULL,
        ],
        'TYPES_MISSION_LIBELLES'    => [
            'name'        => 'TYPES_MISSION_LIBELLES',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 1000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 45,
            'position'    => 22,
            'commentaire' => NULL,
        ],
        'TYPE_CONTRAT_ID'           => [
@@ -498,7 +474,19 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 18,
            'position'    => 19,
            'commentaire' => NULL,
        ],
        'TYPES_MISSION_LIBELLES'    => [
            'name'        => 'TYPES_MISSION_LIBELLES',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 1000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 46,
            'commentaire' => NULL,
        ],
        'UUID'                      => [
@@ -522,7 +510,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 43,
            'position'    => 44,
            'commentaire' => NULL,
        ],
        'VOLUME_HORAIRE_ID'         => [
@@ -534,7 +522,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 32,
            'position'    => 33,
            'commentaire' => NULL,
        ],
        'VOLUME_HORAIRE_INDEX'      => [
@@ -546,7 +534,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => '0',
            'position'    => 39,
            'position'    => 40,
            'commentaire' => NULL,
        ],
        'VOLUME_HORAIRE_MISSION_ID' => [
@@ -558,7 +546,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 33,
            'position'    => 34,
            'commentaire' => NULL,
        ],
        'VOLUME_HORAIRE_REF_ID'     => [
@@ -570,7 +558,7 @@ return [
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 34,
            'position'    => 35,
            'commentaire' => NULL,
        ],
    ],
+2 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ FROM
        taux_conges_payes
    FROM (
      SELECT
        is_primes,
        periode_id,
        structure_id,
        structure_ids,
@@ -177,6 +178,7 @@ FROM
          LEFT JOIN taux_remu                tr ON tr.id = mis.taux_remu_id
       ) dep
      GROUP BY
        is_primes,
        periode_id,
        structure_id,
        structure_ids,
Loading