Commit 334476ca authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Suppression du filtre vacataire sur les indicateurs contrat 420 et 430

(cherry picked from commit 1ff2e4df)
parent c9ea309c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@ SELECT DISTINCT
  LEFT JOIN contrat c ON c.intervenant_id = w.intervenant_id AND c.histo_destruction IS NULL
WHERE
  w.atteignable = 1
  AND w.type_intervenant_code = 'E'
  AND w.etape_code = 'CONTRAT'
  AND w.objectif > 0
  AND w.realisation = 0
+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ SELECT
FROM
  intervenant i
  JOIN tbl_workflow w ON w.intervenant_id = i.id
  JOIN statut si ON si.id = i.intervenant_id
  JOIN (
    SELECT DISTINCT
      c.intervenant_id,
@@ -21,7 +22,7 @@ FROM
  ) hc ON hc.intervenant_id = i.id
WHERE
  w.atteignable = 1
  AND w.type_intervenant_code = 'E'
  AND si.contrat = 1
  AND w.etape_code = 'CONTRAT'
  AND w.objectif > 0
  AND w.realisation < w.objectif
 No newline at end of file
+4 −4
Original line number Diff line number Diff line
@@ -180,15 +180,15 @@ return [
            ],
            420 => [
                'enabled'           => true,
                'libelle_singulier' => '%s vacataire est en attente de son contrat initial',
                'libelle_pluriel'   => '%s vacataires sont en attente de leur contrat initial',
                'libelle_singulier' => '%s est en attente de son contrat initial',
                'libelle_pluriel'   => '%s sont en attente de leur contrat initial',
                'route'             => 'intervenant/contrat',
                'irrecevables'      => false,
            ],
            430 => [
                'enabled'           => true,
                'libelle_singulier' => '%s vacataire est en attente de son avenant',
                'libelle_pluriel'   => '%s vacataires sont en attente de leur avenant',
                'libelle_singulier' => '%s est en attente de son avenant',
                'libelle_pluriel'   => '%s sont en attente de leur avenant',
                'route'             => 'intervenant/contrat',
                'irrecevables'      => false,
            ],