Commit 61fbbd7d authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Merge remote-tracking branch 'origin/master' into ll-refonte-tbl

# Conflicts:
#	CHANGELOG.md
parents 3bd3ea23 fd263109
Loading
Loading
Loading
Loading
+19 −4
Changes for CHANGELOG.md: 19 added lines, 4 removed lines.
Original line number Diff line number Diff line
# Version stable

[OSE 21.1](#ose-212-31082023)
[OSE 21.1](#ose-213-15092023)

# OSE 22 (à venir)

## Nouveautés

* Nouveau mode de calcul des heures à payer
  * Paiements : Gestion fine des changements de valeurs de taux horaires en cours d'année
  * Paiements : Répartition des heures AA/AC tenant compte du semestre des heures réalisées
  * Mises en paiement possibles pour les missions (emplois étudiants)
* Gestion des primes de fin de mission (emplois étudiants)

@@ -14,17 +16,28 @@

* Ajout des dates de dévalidation des données personnelles dans les notes/historique par intervenant

## Notes de mise à jour

* Attention : Oracle est requis en version 19 au minimum. Ose ne pourra plus fonctionner avec Oracle 11.


# OSE 21.3 (à venir)


# OSE 21.3 (15/09/2023)

## Améliorations

* Au niveau des données personnelles, le champ employeur peut être activé et mis en facultatif (#51889)


## Corrections de bugs

* Le filtre par élément pédagogique refonctionne normalement pour l'affichage du résumé des services (#51144)
* Possibilité d'éditer ou ajouter un employeur via l'administration (#52301 et #52261)
* Filtre formation refonctionne normalement au niveau de l'offre de formation
* Les calculs n'ignorent plus certains plafonds dont le montant est fixé par requête (#51991)
* Les libellés des enveloppes budgétaires s'affichent mieux sur la page des demandes de mises en paiement (#51066)
* Système de gestion des heures négatives de la formule de calcul du Havre corrigé (#48972)



# OSE 21.2 (31/08/2023)

@@ -38,6 +51,8 @@
* Correction de V_CONTRATS_SERVICES (#51795)
* Nouveaux problèmes corrigés au niveau du calcul des plafonds



# OSE 21.1 (13/07/2023)

## Corrections de bugs
+4 −3
Changes for data/ddl/view/V_TBL_MISSION_PRIME.sql: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -4,14 +4,15 @@ i.annee_id annee_id,
i.id 			    intervenant_id,
i.structure_id      structure_id,
'1' 				actif,
count(*)		    prime,
CASE WHEN count(mp.id) = 0 THEN 1 ELSE count(mp.id) END		    prime,
SUM(CASE WHEN mp.declaration_id IS NOT NULL THEN 1 ELSE 0 END)   declaration,
SUM(CASE WHEN mp.validation_id IS NOT NULL THEN 1 ELSE 0 END)   validation,
SUM(CASE WHEN mp.date_refus IS NOT NULL THEN 1 ELSE 0 END)   refus
FROM
mission_prime mp
JOIN intervenant i ON i.id = mp.intervenant_id
intervenant i
LEFT JOIN mission_prime mp ON i.id = mp.intervenant_id AND mp.histo_destruction IS null
WHERE mp.histo_destruction IS NULL
AND i.histo_destruction IS NULL
/*@INTERVENANT_ID=i.id*/
/*@ANNEE_ID=i.annee_id*/
GROUP BY
+3 −3
Changes for front/Mission/ListePrime.vue: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
<template>
    <prime v-for="(prime, index) in primes" :canValider="canValider" :intervenant="this.intervenant"
    <prime v-for="(prime, index) in primes" :canGerer="canGerer" :intervenant="this.intervenant"
           :numero="index"
           :prime="prime"
           @reload="reload"></prime>
    <div v-if="!load" class="text-secondary text-center fs-6   " style="text-align:center;"> Chargement en cours...<br/><br/></div>
    <div v-if="primes.length == 0 && load" class="text-secondary text-center fs-6   " style="text-align:center;"> Aucune prime de fin de mission
        actuellement...<br/><br/></div>
    <div v-if="this.missionsWithoutPrime > 0">
    <div v-if="this.missionsWithoutPrime > 0 && this.canGerer">
        <a :href="ajoutUrl" class=" btn btn-primary" @click.prevent="ajout">Créer une nouvelle prime</a>
    </div>
</template>
@@ -23,7 +23,7 @@ export default {
        intervenant: {type: Number, required: true},
        numero: {type: Number, required: false},
        missionsWithoutPrime: {type: Number, required: false},
        canValider: {type: Boolean, required: false},
        canGerer: {type: Boolean, required: false},

    },
    data()
+8 −7
Changes for front/Mission/Prime.vue: 8 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -65,14 +65,14 @@
                                   @click.prevent="supprimer">
                                    Supprimer
                                </a>&nbsp;
                                <a v-if="prime.declaration && !prime.validation && this.canValider  && !prime.dateRefus"
                                <a v-if="prime.declaration && !prime.validation && this.canGerer  && !prime.dateRefus"
                                   :href="validerUrl"
                                   class="btn btn-success"
                                   title="Valider"
                                   @click.prevent="valider">
                                    Valider
                                </a>&nbsp;
                                <a v-if="prime.declaration && prime.validation && this.canValider  && !prime.dateRefus"
                                <a v-if="prime.declaration && prime.validation && this.canGerer  && !prime.dateRefus"
                                   :href="devaliderUrl"
                                   class="btn btn-danger d-grid gap-2"
                                   title="Dévalider"
@@ -83,15 +83,16 @@
                        </div>
                    </div>
                    <div class="col-md-6">

                        <div v-if="!prime.validation">
                            <input :checked="prime.dateRefus" :disabled="prime.validation" name="prime" type="checkbox"
                                   @change="refuser"/>&nbsp;
                            Ou en cochant cette case, <b>je déclare ne pas pouvoir bénéficier de la prime</b> de fin de mission en raison du démarrage d'un
                            nouveau
                            contrat au sein de la
                            fonction publique à la suite de ces missions.

                            <br/><br/>

                        </div>
                        <div>
                            <div>
                                <label class=" form-label">Suivi de la déclaration : </label>
@@ -153,14 +154,14 @@
                    <div class="col-md-12 ">
                      <span class="float-end">
                          <a
                              v-if="!prime.validation && !prime.dateRefus"
                              v-if="!prime.validation && !prime.dateRefus  && this.canGerer"
                              :href="modifierPrimeUrl"
                              class="btn btn-primary"
                              @click.prevent="modifierPrime"
                          >Modifier</a>
                          &nbsp;
                          <a
                              v-if="!prime.validation && !prime.dateRefus"
                              v-if="!prime.validation && !prime.dateRefus && this.canGerer"
                              :href="supprimerPrimeUrl"
                              class="btn btn-danger"
                              @click.prevent="supprimerPrime"
@@ -183,7 +184,7 @@ export default {
        prime: {required: true},
        numero: {required: false},
        intervenant: {required: true},
        canValider: {type: Boolean, required: false},
        canGerer: {type: Boolean, required: false},

    },
    data()
+48 −26
Changes for module/Application/src/Entity/Db/WfEtape.php: 48 added lines, 26 removed lines.
Original line number Diff line number Diff line
@@ -11,27 +11,49 @@ class WfEtape
{
    const CANDIDATURE_SAISIE                  = 'CANDIDATURE_SAISIE';
    const CANDIDATURE_VALIDATION              = 'CANDIDATURE_VALIDATION';

    const CODE_CLOTURE_REALISE                = 'CLOTURE_REALISE';

const CODE_CONSEIL_ACADEMIQUE             = TypeAgrement::CODE_CONSEIL_ACADEMIQUE;

const CODE_CONSEIL_RESTREINT              = TypeAgrement::CODE_CONSEIL_RESTREINT;

    const CODE_CONTRAT                        = 'CONTRAT';

    const CODE_DEMANDE_MEP                    = 'DEMANDE_MEP';

    const CODE_DONNEES_PERSO_SAISIE           = 'DONNEES_PERSO_SAISIE';
    const CODE_SERVICE_SAISIE                 = 'SERVICE_SAISIE';
    const CODE_PJ_SAISIE                      = 'PJ_SAISIE';
    const CODE_PJ_VALIDATION                  = 'PJ_VALIDATION';

    const CODE_DONNEES_PERSO_VALIDATION       = 'DONNEES_PERSO_VALIDATION';
    const CODE_SERVICE_VALIDATION             = 'SERVICE_VALIDATION';
    const CODE_REFERENTIEL_VALIDATION         = 'REFERENTIEL_VALIDATION';

    const CODE_MISSION_PRIME                  = 'MISSION_PRIME';

    const CODE_MISSION_SAISIE                 = 'MISSION_SAISIE';
    const CODE_MISSION_VALIDATION             = 'MISSION_VALIDATION';

    const CODE_MISSION_SAISIE_REALISE         = 'MISSION_SAISIE_REALISE';

    const CODE_MISSION_VALIDATION             = 'MISSION_VALIDATION';

    const CODE_MISSION_VALIDATION_REALISE     = 'MISSION_VALIDATION_REALISE';
    const CODE_CONSEIL_RESTREINT              = TypeAgrement::CODE_CONSEIL_RESTREINT;  // NB: c'est texto le code du type d'agrément
    const CODE_CONSEIL_ACADEMIQUE             = TypeAgrement::CODE_CONSEIL_ACADEMIQUE; // NB: c'est texto le code du type d'agrément
    const CODE_CONTRAT                        = 'CONTRAT';
    const CODE_SERVICE_SAISIE_REALISE         = 'SERVICE_SAISIE_REALISE';
    const CODE_CLOTURE_REALISE                = 'CLOTURE_REALISE';
    const CODE_SERVICE_VALIDATION_REALISE     = 'SERVICE_VALIDATION_REALISE';

    const CODE_PJ_SAISIE                      = 'PJ_SAISIE';  // NB: c'est texto le code du type d'agrément

    const CODE_PJ_VALIDATION                  = 'PJ_VALIDATION'; // NB: c'est texto le code du type d'agrément

    const CODE_REFERENTIEL_VALIDATION         = 'REFERENTIEL_VALIDATION';

    const CODE_REFERENTIEL_VALIDATION_REALISE = 'REFERENTIEL_VALIDATION_REALISE';
    const CODE_DEMANDE_MEP                    = 'DEMANDE_MEP';

    const CODE_SAISIE_MEP                     = 'SAISIE_MEP';

    const CODE_SERVICE_SAISIE                 = 'SERVICE_SAISIE';

    const CODE_SERVICE_SAISIE_REALISE         = 'SERVICE_SAISIE_REALISE';

    const CODE_SERVICE_VALIDATION             = 'SERVICE_VALIDATION';

    const CODE_SERVICE_VALIDATION_REALISE     = 'SERVICE_VALIDATION_REALISE';

    const CURRENT = 'current-etape';
    const NEXT    = 'next-etape';

@@ -112,41 +134,41 @@ class WfEtape


    /**
     * Get libelleIntervenant
     * @param \Application\Acl\Role $role
     *
     * @return string
     */
    public function getLibelleIntervenant()
    public function getLibelle (\Application\Acl\Role $role)
    {
        return $this->libelleIntervenant;
        if ($role->getIntervenant()) {
            return $this->getLibelleIntervenant();
        } else {
            return $this->getLibelleAutres();
        }
    }



    /**
     * Get libelleAutres
     * Get libelleIntervenant
     *
     * @return string
     */
    public function getLibelleAutres()
    public function getLibelleIntervenant ()
    {
        return $this->libelleAutres;
        return $this->libelleIntervenant;
    }



    /**
     * @param \Application\Acl\Role $role
     * Get libelleAutres
     *
     * @return string
     */
    public function getLibelle(\Application\Acl\Role $role)
    public function getLibelleAutres ()
    {
        if ($role->getIntervenant()) {
            return $this->getLibelleIntervenant();
        } else {
            return $this->getLibelleAutres();
        }
        return $this->libelleAutres;
    }


Loading