Commit 361dcba8 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

WIP tbl piece jointe

parent 3164f7b3
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10,5 +10,6 @@
$stbl = $container->get(\UnicaenTbl\Service\TableauBordService::class);

$data = ['INTERVENANT_ID' => 824751];
$data=[];

$stbl->calculer('paiement', $data);
 No newline at end of file
$stbl->calculer('piece_jointe', $data);
+5 −44
Original line number Diff line number Diff line
@@ -137,51 +137,8 @@ return [
                ],
            ],

            'piece_jointe_demande' => [
                'order'   => 2,
                'process' => 'DbDiff',
                'cols'    => [
                    'ANNEE_ID',
                    'CODE_INTERVENANT',
                    'INTERVENANT_ID',
                    'TYPE_PIECE_JOINTE_ID',
                    'HEURES_POUR_SEUIL',
                    'OBLIGATOIRE',
                    'HEURES_POUR_SEUIL_HETD',
                    'DUREE_VIE',
                ],
                'key'     => [
                    'INTERVENANT_ID',
                    'TYPE_PIECE_JOINTE_ID',
                ],
            ],

            'piece_jointe_fournie' => [
                'order'              => 3,
                'process'            => 'DbDiff',
                'cols'               => [
                    'ANNEE_ID',
                    'CODE_INTERVENANT',
                    'TYPE_PIECE_JOINTE_ID',
                    'INTERVENANT_ID',
                    'PIECE_JOINTE_ID',
                    'VALIDATION_ID',
                    'FICHIER_ID',
                    'DUREE_VIE',
                    'DATE_VALIDITE',
                    'DATE_ARCHIVE',
                ],
                'key'                => [
                    'TYPE_PIECE_JOINTE_ID',
                    'INTERVENANT_ID',
                    'VALIDATION_ID',
                    'FICHIER_ID',
                ],
                'key_values_if_null' => [
                    'VALIDATION_ID' => 0,
                    'FICHIER_ID'    => 0,
                ],
            ],


            'agrement' => [
                'order'              => 4,
@@ -369,6 +326,10 @@ return [
                    'HEURES_POUR_SEUIL',
                    'OBLIGATOIRE',
                    'DEMANDEE_APRES_RECRUTEMENT',
                    'DATE_ORIGINE',
                    'DATE_VALIDITEE',
                    'SEUIL_HETD',

                ],
                'key'     => [
                    'TYPE_PIECE_JOINTE_ID',
+2 −2
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ return [
            'length'      => 0,
            'scale'       => null,
            'precision'   => null,
            'nullable'    => false,
            'nullable'    => true,
            'default'     => '0',
            'position'    => 10,
            'commentaire' => '',
@@ -136,7 +136,7 @@ return [
            'length'      => 0,
            'scale'       => null,
            'precision'   => null,
            'nullable'    => false,
            'nullable'    => true,
            'default'     => '0',
            'position'    => 11,
            'commentaire' => '',
+1 −1
Original line number Diff line number Diff line
@@ -106,4 +106,4 @@ GROUP BY
	i.code,
	tpj.id,
	tpj.code
ORDER BY i.annee_id DESC;
 No newline at end of file
ORDER BY i.annee_id DESC
 No newline at end of file
+0 −27
Original line number Diff line number Diff line
@@ -34,34 +34,7 @@ services:



  ose-test:
    container_name: ose-test
  
    environment:
      APPLICATION_ENV: test
      APPLICATION_HOSTNAME: ose-test.localhost.unicaen.fr
      XDEBUG_CONFIG: "remote_host=172.21.0.15"
      PHP_IDE_CONFIG: "serverName=ose-test.localhost.unicaen.fr"
      IGNORE_MV_EXT_SERVICE: "true"

    build:
      context: .
      dockerfile: Dockerfile
      args:
        PHP_VERSION: 8.2
        APPLICATION_ENV: test

    volumes:
      - .:/app

    working_dir: /app

    extra_hosts:
      - "host.docker.internal:host-gateway"

    networks:
      devnet:
        ipv4_address: 172.21.0.15



Loading