Commit 625e3418 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

enveloppes budgétaires compatibles multi-composantes

parent 49070c6b
Loading
Loading
Loading
Loading
+1
Changes for config/autoload/unicaen-tbl.global.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ return [
                    'ANNEE_ID',
                    'TYPE_RESSOURCE_ID',
                    'STRUCTURE_ID',
                    'STRUCTURE_IDS',
                    'HEURES',
                ],
                'key'     => [
+12
Changes for data/ddl/table/TBL_DMEP_LIQUIDATION.php: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -57,6 +57,18 @@ return [
            'position'    => 4,
            'commentaire' => NULL,
        ],
        'STRUCTURE_IDS'     => [
            'name'        => 'STRUCTURE_IDS',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 1000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => FALSE,
            'default'     => '\'-\'',
            'position'    => 6,
            'commentaire' => NULL,
        ],
        'TYPE_RESSOURCE_ID' => [
            'name'        => 'TYPE_RESSOURCE_ID',
            'type'        => 'int',
+4 −1
Changes for data/ddl/view/V_EXPORT_DMEP.sql: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -34,7 +34,10 @@ SELECT i.id intervenant_id
       i.annee_id                                                 annee_id,
       saff.id                                                    structure_aff_id,
       sens.id                                                    structure_ens_id,
       nvl(sens.id, saff.id)                                      structure_id,
       COALESCE(sens.id, saff.id)                                 structure_id,
       saff.ids                                                   structure_aff_ids,
       sens.ids                                                   structure_ens_ids,
       COALESCE(sens.ids, saff.ids)                               structure_ids,
       cc.id                                                      centre_cout_id,
       ep.id                                                      element_pedagogique_id,
       etp.id                                                     etape_id,
+7 −5
Changes for data/ddl/view/V_TBL_DMEP_LIQUIDATION.sql: 7 added lines, 5 removed lines.
Original line number Diff line number Diff line
CREATE OR REPLACE FORCE VIEW V_TBL_DMEP_LIQUIDATION AS
SELECT
  annee_id,
  type_ressource_id,
  structure_id,
  SUM(heures) heures
  t1.annee_id,
  t1.type_ressource_id,
  t1.structure_id,
  str.ids structure_ids,
  SUM(t1.heures) heures
FROM
(
  SELECT
@@ -43,5 +44,6 @@ FROM
    /*@ANNEE_ID=i.annee_id*/

) t1
JOIN structure str ON str.id = t1.structure_id
GROUP BY
  annee_id, type_ressource_id, structure_id
 No newline at end of file
  t1.annee_id, t1.type_ressource_id, t1.structure_id, str.ids
 No newline at end of file
+1
Changes for data/ddl_columns_pos.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -1451,6 +1451,7 @@ return [
        'ANNEE_ID',
        'TYPE_RESSOURCE_ID',
        'STRUCTURE_ID',
        'STRUCTURE_IDS',
        'HEURES',
    ],
    'TBL_DOSSIER'                    => [
Loading