Commit e80adffe authored by joriot221's avatar joriot221
Browse files

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

parents 31d1754d dbca165a
Loading
Loading
Loading
Loading
+2 −2
Changes for data/ddl/table/TBL_AGREMENT.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => '1',
            'position'    => 10,
            'position'    => 9,
            'commentaire' => NULL,
        ],
        'ID'               => [
@@ -78,7 +78,7 @@ return [
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => NULL,
            'position'    => 11,
            'position'    => 1,
            'commentaire' => NULL,
        ],
        'INTERVENANT_ID'   => [
+36 −4
Changes for data/ddl/view/V_INTERVENANT_HISTORIQUE.sql: 36 added lines, 4 removed lines.
Original line number Diff line number Diff line
CREATE OR REPLACE FORCE VIEW V_INTERVENANT_HISTORIQUE AS
CREATE
OR REPLACE FORCE VIEW V_INTERVENANT_HISTORIQUE AS
WITH historique AS (
--Initialisation des données personnelles
    SELECT d.intervenant_id                              intervenant_id,
@@ -57,7 +58,22 @@ SELECT pj.intervenant_id intervenant_id,
FROM piece_jointe pj
         JOIN type_piece_jointe tpj ON pj.type_piece_jointe_id = tpj.id
         JOIN utilisateur u ON u.id = pj.histo_createur_id
WHERE pj.histo_destruction IS NULL

UNION ALL

--Suppression pièces justificatives
SELECT pj.intervenant_id                             intervenant_id,
       '2 - Pièces justificatives'                   categorie,
       'Suppression pièce justificative : ' || tpj.libelle label,
       pj.histo_destruction                             histo_date,
       pj.histo_destructeur_id                          histo_createur_id,
       u.display_name                                histo_user,
       'glyphicon glyphicon-ok'                      icon,
       2                                             ordre
FROM piece_jointe pj
         JOIN type_piece_jointe tpj ON pj.type_piece_jointe_id = tpj.id
         JOIN utilisateur u ON u.id = pj.histo_destructeur_id
WHERE pj.histo_destruction IS NOT NULL

UNION ALL
--Validation des pièces justificatives
@@ -98,7 +114,7 @@ UNION ALL
--Service référentiel uniquement pour les permanents
SELECT  s.intervenant_id                                                                     intervenant_id,
       '3 - Service prévisionnel et/ou service référentiel'                                 categorie,
        'Service référentiel : ' || fr.libelle_court || ' pour la composante ' || str.libelle_court                      label,
        'Ajout service référentiel : ' || fr.libelle_court || ' pour la composante ' || str.libelle_court                      label,
       s.histo_modification                                                                histo_date,
       s.histo_modificateur_id                                                             histo_createur_id,
       u.display_name                                                        histo_user,
@@ -109,8 +125,24 @@ FROM
  JOIN fonction_referentiel fr ON fr.id = s.fonction_id
  JOIN utilisateur u ON u.id = s.histo_modificateur_id
  LEFT JOIN STRUCTURE str ON str.id = s.structure_id

 UNION ALL
--Suppression service référentiel uniquement pour les permanents
SELECT  s.intervenant_id                                                                     intervenant_id,
       '3 - Service prévisionnel et/ou service référentiel'                                 categorie,
        'Suppression service référentiel : ' || fr.libelle_court || ' pour la composante ' || str.libelle_court                      label,
       s.histo_destruction                                                                histo_date,
       s.histo_destructeur_id                                                             histo_createur_id,
       u.display_name                                                        histo_user,
       'glyphicon glyphicon-ok'                                              icon,
       3                                ordre
FROM
  service_referentiel s
  JOIN fonction_referentiel fr ON fr.id = s.fonction_id
  JOIN utilisateur u ON u.id = s.histo_destructeur_id
  LEFT JOIN STRUCTURE str ON str.id = s.structure_id
WHERE
 s.histo_destruction IS NULL
 s.histo_destruction IS NOT NULL

 UNION ALL
--Validation du service prévisionnel
+0 −2
Changes for data/ddl_columns_pos.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -1401,8 +1401,6 @@ return [
        'STRUCTURE_ID',
        'AGREMENT_ID',
        'DUREE_VIE',
        'DUREE_VIE',
        'ID',
    ],
    'TBL_CHARGENS'                   => [
        'ID',
+20 −0
Changes for data/ddl_config.php: 20 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -33,6 +33,25 @@ return [
            'V_CHARGENS_PRECALCUL_HEURES',
            'V_INDIC_DEPASS_HC_HORS_REMU_FC',
            'V_INDIC_DEPASS_REF',
            'V_INDICATEUR_130',
            'V_INDICATEUR_200',
            'V_INDICATEUR_340',
            'V_INDICATEUR_350',
            'V_INDICATEUR_360',
            'V_INDICATEUR_361',
            'V_INDICATEUR_370',
            'V_INDICATEUR_380',
            'V_INDICATEUR_660',
            'V_INDICATEUR_670',
            'V_INDICATEUR_740',
            'V_INDICATEUR_1010',
            'V_INDICATEUR_1011',
            'V_INDICATEUR_1020',
            'V_INDICATEUR_1021',
            'V_INDICATEUR_1110',
            'V_INDICATEUR_1111',
            'V_INDICATEUR_1120',
            'V_INDICATEUR_1121',
            'V_INDICATEUR_520',
            'V_INDICATEUR_530',
            'V_INDICATEUR_540',
@@ -81,6 +100,7 @@ return [
            'TYPE_AGREMENT_STATUT_ID_SEQ',
            'TBL_NOEUD_ID_SEQ',
            'STATUT_INTERVENANT_ID_SEQ',
            'PLAFOND_APPLICATION_ID_SEQ',
        ],
    ],
];
 No newline at end of file
+2 −4
Changes for module/Application/src/Form/TypeIntervention/Traits/TypeInterventionStructureSaisieFormAwareTrait.php: 2 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -14,13 +14,12 @@ trait TypeInterventionStructureSaisieFormAwareTrait
    protected ?TypeInterventionStructureSaisieForm $formTypeInterventionTypeInterventionStructureSaisie = null;



    /**
     * @param TypeInterventionStructureSaisieForm $formTypeInterventionTypeInterventionStructureSaisie
     *
     * @return self
     */
    public function setFormTypeInterventionTypeInterventionStructureSaisie(?TypeInterventionStructureSaisieForm $formTypeInterventionTypeInterventionStructureSaisie)
    public function setFormTypeInterventionnStructureSaisie(?TypeInterventionStructureSaisieForm $formTypeInterventionTypeInterventionStructureSaisie)
    {
        $this->formTypeInterventionTypeInterventionStructureSaisie = $formTypeInterventionTypeInterventionStructureSaisie;

@@ -28,8 +27,7 @@ trait TypeInterventionStructureSaisieFormAwareTrait
    }



    public function getFormTypeInterventionTypeInterventionStructureSaisie(): ?TypeInterventionStructureSaisieForm
    public function getFormTypeInterventionStructureSaisie(): ?TypeInterventionStructureSaisieForm
    {
        if (!empty($this->formTypeInterventionTypeInterventionStructureSaisie)) {
            return $this->formTypeInterventionTypeInterventionStructureSaisie;
Loading