Commit 5c680b77 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Merge remote-tracking branch 'origin/master' into ll-mission-plafond

# Conflicts:
#	data/ddl_columns_pos.php
parents 4c1973a4 2f11b778
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -11,6 +11,22 @@
* Taux HETD personnalisables


# OSE 20.2 (à venir)

## Nouveautés

* Nouvelle formule de calcul de Rouen

## Améliorations

* Possibilité d'entrer des dérogations aux plafonds avant d'avoir des heures à plafonner (#46387) 

## Corrections de bugs

* Les motifs de modification de service dû supprimés ne peuvent plus être sélectionnés #50328
* Messages d'erreur corrigés lors de l'exécution du script de migration de la V20.
* Le bouton prévu=>réalisé s'affiche de nouveau lorsqu'il n'y a pas de contrat (#45643)
* Formule de Poitiers : rétablissement du test pour appliquer l'ancienne formule avant 2022.

# OSE 20.1 (04/04/2023)

+1 −0
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ class AppConfig
            'Indicateur',
            'ExportRh',
            'Dossier',
            'Contrat',
        ];

        if (!self::inConsole()) {
+4 −0
Original line number Diff line number Diff line
@@ -270,6 +270,10 @@ return [
            'TYPE_PIECE_JOINTE_ID' => ['transformer' => 'SELECT id FROM type_piece_jointe WHERE histo_destruction IS NULL AND code = %s'],
        ],],
    ],
    'TYPE_SERVICE'          => [
        'actions' => ['install', 'update'],
        'key'     => 'CODE',
    ],
    'WF_ETAPE_DEP'               => [
        'actions' => ['install'],
        'key'     => ['ETAPE_SUIV_ID', 'ETAPE_PREC_ID'],
+14 −0
Original line number Diff line number Diff line
<?php

//@formatter:off

return [
    'name'    => 'TYPE_SERVICE_PK',
    'unique'  => TRUE,
    'table'   => 'TYPE_SERVICE',
    'columns' => [
        'ID',
    ],
];

//@formatter:on
+5 −0
Original line number Diff line number Diff line
@@ -307,6 +307,11 @@ CREATE OR REPLACE PACKAGE BODY FORMULE_POITIERS AS
  BEGIN
    feuille.delete;

    IF ose_formule.intervenant.annee_id < 2022 THEN
      FORMULE_POITIERS_2021.CALCUL_RESULTAT;
      RETURN;
    END IF;

    IF ose_formule.intervenant.depassement_service_du_sans_hc THEN -- HC traitées comme du service
      ose_formule.intervenant.service_du := ose_formule.intervenant.heures_service_statutaire + ose_formule.intervenant.heures_service_modifie;
    END IF;
Loading