Commit c5e909c5 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Merge branch 'master' of https://git.unicaen.fr/open-source/OSE into ll-pb-import

parents 21249cbd 98d4b94d
Loading
Loading
Loading
Loading
+2 −0
Changes for CHANGELOG.md: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -51,6 +51,8 @@ Une nouvelle documentation sur les connecteurs est disponible ici : [Import de d

* Erreur sur l'édition d'une dotation au niveau budget (#33703)
* Correction ordre d'affichage des pièces jointes pour l'intervenant comme paramétré dans l'adminstration (#34324)
* Ajout de deux nouveaux indicateurs (730 et 740), identiques aux 710 et 720 mais pour les permanents (#34577)
* Bug sur validation/dévalidation d'une pièce jointe (erreur 403) dans le cas d'un paramétrage de workflow sans service prévisionnel (#34526)

# OSE 14.15

+2 −1
Changes for admin/migration/MigrationDossier.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ class MigrationDossier extends AbstractMigration

    protected function before()
    {

        $this->manager->sauvegarderTable('DOSSIER', 'DOSSIER_SAVE');

        $bdd = $this->manager->getBdd();
@@ -57,7 +58,7 @@ class MigrationDossier extends AbstractMigration
        $nbDossierMigration = 0;

        //Get id pays FRANCE
        $sql      = "SELECT id FROM PAYS WHERE libelle = 'FRANCE'";
        $sql      = "SELECT id FROM PAYS WHERE ose_divers.str_reduce(libelle) = 'france'  AND HISTO_DESTRUCTION IS NULL";
        $pays     = $bdd->select($sql);
        $france   = current($pays);
        $idFrance = $france['ID'];
+13 −0
Changes for data/ddl/view/V_INDICATEUR_730.sql: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
CREATE
OR REPLACE FORCE VIEW V_INDICATEUR_730 AS
SELECT rownum id, t."ANNEE_ID", t."INTERVENANT_ID", t."STRUCTURE_ID"
FROM (
         SELECT DISTINCT w.annee_id,
                         w.intervenant_id,
                         w.structure_id
         FROM tbl_workflow w
         WHERE w.etape_code = 'SERVICE_VALIDATION'
           AND w.type_intervenant_code = 'P'
           AND w.atteignable = 1
           AND w.objectif > w.realisation
     ) t
 No newline at end of file
+13 −0
Changes for data/ddl/view/V_INDICATEUR_740.sql: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
CREATE
OR REPLACE FORCE VIEW V_INDICATEUR_740 AS
SELECT rownum id, t."ANNEE_ID", t."INTERVENANT_ID", t."STRUCTURE_ID"
FROM (
         SELECT DISTINCT w.annee_id,
                         w.intervenant_id,
                         w.structure_id
         FROM tbl_workflow w
         WHERE w.etape_code = 'SERVICE_VALIDATION_REALISE'
           AND w.type_intervenant_code = 'P'
           AND w.atteignable = 1
           AND w.objectif > w.realisation
     ) t
 No newline at end of file
+32 −11
Changes for data/indicateurs.php: 32 added lines, 11 removed lines.
Original line number Diff line number Diff line
@@ -51,16 +51,6 @@ return [
        'TEM_DISTINCT'      => true,
        'TEM_NOT_STRUCTURE' => false,
    ],
    710  => [
        'TYPE'              => 'Enseignements <em>Vacataires</em>',
        'ENABLED'           => true,
        'LIBELLE_PLURIEL'   => '%s vacataires sont en attente de validation de leurs enseignements <i>prévisionnels</i>',
        'LIBELLE_SINGULIER' => '%s vacataire est en attente de validation de ses enseignements <i>prévisionnels</i>',
        'MESSAGE'           => null,
        'ROUTE'             => 'intervenant/validation/service/prevu',
        'TEM_DISTINCT'      => true,
        'TEM_NOT_STRUCTURE' => false,
    ],
    610  => [
        'TYPE'              => 'Enseignements et référentiel <em>Permanents</em>',
        'ENABLED'           => true,
@@ -91,8 +81,18 @@ return [
        'TEM_DISTINCT'      => true,
        'TEM_NOT_STRUCTURE' => false,
    ],
    710  => [
        'TYPE'              => 'Enseignements <em>Permanents</em> ou <em>Vacataires</em>',
        'ENABLED'           => true,
        'LIBELLE_PLURIEL'   => '%s vacataires sont en attente de validation de leurs enseignements <i>prévisionnels</i>',
        'LIBELLE_SINGULIER' => '%s vacataire est en attente de validation de ses enseignements <i>prévisionnels</i>',
        'MESSAGE'           => null,
        'ROUTE'             => 'intervenant/validation/service/prevu',
        'TEM_DISTINCT'      => true,
        'TEM_NOT_STRUCTURE' => false,
    ],
    720  => [
        'TYPE'              => 'Enseignements <em>Vacataires</em>',
        'TYPE'              => 'Enseignements <em>Permanents</em> ou <em>Vacataires</em>',
        'ENABLED'           => true,
        'LIBELLE_PLURIEL'   => '%s vacataires sont en attente de validation de leurs enseignements <i>réalisés</i>',
        'LIBELLE_SINGULIER' => '%s vacataire est en attente de validation de ses enseignements <i>réalisés</i>',
@@ -101,6 +101,27 @@ return [
        'TEM_DISTINCT'      => true,
        'TEM_NOT_STRUCTURE' => false,
    ],
    730  => [
        'TYPE'              => 'Enseignements <em>Permanents</em> ou <em>Vacataires</em>',
        'ENABLED'           => true,
        'LIBELLE_PLURIEL'   => '%s permanents sont en attente de validation de leurs enseignements <i>prévisionnels</i>',
        'LIBELLE_SINGULIER' => '%s permanents est en attente de validation de ses enseignements <i>prévisionnels</i>',
        'MESSAGE'           => null,
        'ROUTE'             => 'intervenant/validation/service/prevu',
        'TEM_DISTINCT'      => true,
        'TEM_NOT_STRUCTURE' => false,
    ],
    740  => [
        'TYPE'              => 'Enseignements <em>Permanents</em> ou <em>Vacataires</em>',
        'ENABLED'           => true,
        'LIBELLE_PLURIEL'   => '%s permanents sont en attente de validation de leurs enseignements <i>réalisés</i>',
        'LIBELLE_SINGULIER' => '%s permanents est en attente de validation de ses enseignements <i>réalisés</i>',
        'MESSAGE'           => null,
        'ROUTE'             => 'intervenant/validation/service/realise',
        'TEM_DISTINCT'      => true,
        'TEM_NOT_STRUCTURE' => false,
    ],

    640  => [
        'TYPE'              => 'Enseignements et référentiel <em>Permanents</em>',
        'ENABLED'           => true,
Loading