Commit 31c35cf8 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Mise en place d'un nouvel indicateur pour le renouvellement et la prise en...

Mise en place d'un nouvel indicateur pour le renouvellement et la prise en charge siham (Indicateur N°380)
parent f7462ca7
CREATE OR REPLACE FORCE VIEW V_INDICATEUR_380 AS
SELECT
rownum id,
t."INTERVENANT_ID",t."ANNEE_ID",t."STRUCTURE_ID"
FROM (
SELECT
i.id intervenant_id,
i.annee_id annee_id,
i.structure_id structure_id
FROM intervenant i
JOIN contrat c ON c.intervenant_id = i.id AND c.histo_destruction IS NULL
WHERE i.export_date IS NULL
AND i.affectation_fin < sysdate
AND c.
) t
\ No newline at end of file
......@@ -312,6 +312,16 @@ return [
'TEM_DISTINCT' => false,
'TEM_NOT_STRUCTURE' => false,
],
380 => [
'TYPE' => 'Contrat / avenant',
'ENABLED' => true,
'LIBELLE_PLURIEL' => '%s vacataires doivent être pris en charge ou renouvellés dans le SI RH',
'LIBELLE_SINGULIER' => '%s vacataire doit être pris en charge ou renouvellés dans le SI RH',
'MESSAGE' => null,
'ROUTE' => 'intervenant/exporter-rh',
'TEM_DISTINCT' => false,
'TEM_NOT_STRUCTURE' => false,
],
110 => [
'TYPE' => 'Affectation',
'ENABLED' => true,
......
<?php
namespace Application\Entity\Db\Indicateur;
class Indicateur380 extends AbstractIndicateur
{
}
<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<entity name="Application\Entity\Db\Indicateur\Indicateur380" table="V_INDICATEUR_380" read-only="true">
<id name="id" type="integer" column="ID"/>
<many-to-one field="annee" target-entity="Application\Entity\Db\Annee">
<join-column name="ANNEE_ID" referenced-column-name="ID"/>
</many-to-one>
<many-to-one field="intervenant" target-entity="Application\Entity\Db\Intervenant">
<join-column name="INTERVENANT_ID" referenced-column-name="ID"/>
</many-to-one>
<many-to-one field="structure" target-entity="Application\Entity\Db\Structure">
<join-column name="STRUCTURE_ID" referenced-column-name="ID"/>
</many-to-one>
</entity>
</doctrine-mapping>
......@@ -34,6 +34,15 @@ return [
],
],
],
'exporter-rh' => [
'type' => 'Segment',
'options' => [
'route' => '/:intervenant/voir?tab=export-rh',
'defaults' => [
'action' => 'voir',
],
],
],
'pec' => [
'type' => 'Segment',
'may_terminate' => false,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment