Commit 3d15f917 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

creation d'un indicateur pour suivre les candidatures en attente de validation

parent d905e74d
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
--Indicateur sur le nombre de candidature en attente de validation.
CREATE OR REPLACE FORCE VIEW V_INDICATEUR_2010 AS
SELECT
c.intervenant_id,
i.structure_id
FROM
candidature c
JOIN intervenant i ON i.id = c.intervenant_id
LEFT JOIN validation v ON v.id = c.validation_id AND v.histo_destruction IS NULL
WHERE
  c.histo_destruction IS null
  AND c.motif IS null
  AND v.id IS NULL
GROUP BY
  c.intervenant_id,
  i.annee_id,
  i.structure_id
 No newline at end of file
+12 −0
Original line number Diff line number Diff line
<?php

return [
    'Missions'             => [
        'id'          => 18,
        'indicateurs' => [
            2010 => [
                'enabled'           => true,
                'libelle_singulier' => '%s étudiant sont en attente de validation d\'une candidature',
                'libelle_pluriel'   => '%s étudiants sont en attente de validation d\'une candidature',
                'route'             => 'intervenant/candidature',
                'irrecevables'      => false,
            ],
        ],
    ],
    'Données personnelles' => [
        'id'          => 1,
        'indicateurs' => [