Commit 2df4bb39 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Nouveau paramétrage générale pour choisir l'état de sortie pour les indémnités de fin de mission.

parent ab1a7a3c
Loading
Loading
Loading
Loading
+83
Changes for data/etats_sortie.php: 83 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -259,6 +259,89 @@ return [
    "LIBELLE": {
        "libelle": "Libellé"
    }
}',
    ],
    [
        'CODE'           => 'siham-indemnites',
        'LIBELLE'        => 'Extraction Siham indemnités de fin de contrat',
        'PDF_TRAITEMENT' => null,
        'AUTO_BREAK'     => false,
        'REQUETE'        => 'SELECT * FROM v_export_paiement_indemnites_siham',
        'CSV_PARAMS'     => '{
     "ANNEE_ID": {
        "visible": false
    },
     "TYPE_INTERVENANT": {
        "visible": false
    },
     "PERIODE_CODE": {
        "visible": false
    },
    "PRIME_ID": {
        "visible": false
    },
    "STRUCTURE_IDS": {
        "visible": false
    },
    "TYPE_INTERVENANT_ID": {
        "visible": false
    },
    "STRUCTURE_ID": {
        "visible": false
    },
    "PERIODE_ID": {
        "visible": false
    },
    "INTERVENANT_ID": {
        "visible": false
    },
    "TYPE": {
        "libelle": "type"
    },
    "MATRICULE": {
        "libelle": "Matricule"
    },
     "CODE_INDEMNITE_RETENU": {
        "libelle": "Code indemnité/retenue"
    },
     "DU_MOIS": {
        "libelle": "Du mois (AAAA-MM)"
    },
     "ANNEE_DE_PAYE": {
        "libelle": "Année de paye (AA)"
    },
     "MOIS_DE_PAYE": {
        "libelle": "Mois de paye (MM)"
    },
    "NUMERO_DE_REMISE": {
        "libelle": "Numéro de remise"
    },
    "TG_SPECIFIQUE": {
        "libelle": "TG spécifique"
    },
    "DOSSIER_DE_PAYE": {
        "libelle": "Dossier de paye"
    },
    "DATE_PECUNIAIRE": {
        "libelle": "Date pécuniaire"
    },
    "NOMBRE_D_UNITES": {
        "libelle": "Nombre d’unités",
        "type": "float"
    },
    "MONTANT": {
        "libelle": "Montant",
        "type": "float"
    },
    "LIBELLE": {
        "libelle": "Libellé"
    },
    "MODE_DE_CALCUL": {
        "libelle": "Mode de calcul"
    },
    "CODE_ORIGINE": {
        "libelle": "Code origine"
    }
}',
    ],
    [
+5
Changes for data/parametres.php: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -48,6 +48,11 @@ return [
        "DESCRIPTION" => "État de sortie pour l'extraction de paie",
        "QUERY"       => 'SELECT id valeur FROM etat_sortie WHERE code = :valeur',
    ],
    "es_extraction_indemnites"                   => [
        "VALEUR"      => "siham-indemnites",
        "DESCRIPTION" => "État de sortie pour l'extraction des indemnites de fin de mission",
        "QUERY"       => 'SELECT id valeur FROM etat_sortie WHERE code = :valeur',
    ],
    "es_services_pdf"                            => [
        "VALEUR"      => "export_services",
        "DESCRIPTION" => "État de sortie pour l'édition PDF des services",
+13
Changes for module/Application/src/Form/ParametresForm.php: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -313,6 +313,19 @@ class ParametresForm extends AbstractForm
                       ],
                   ]);

        $this->add([
                       'type'       => 'Select',
                       'name'       => 'es_extraction_indemnites',
                       'options'    => [
                           'value_options' => Util::collectionAsOptions($this->getServiceEtatSortie()->getList()),
                           'label'         => 'État de sortie pour l\'extraction des indémnités de fin de mission',
                       ],
                       'attributes' => [
                           'class'            => 'selectpicker',
                           'data-live-search' => 'true',
                       ],
                   ]);

        $this->add([
                       'type'       => 'Select',
                       'name'       => 'es_services_pdf',
+5
Changes for module/Application/view/application/parametre/generaux.phtml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -76,6 +76,11 @@
                        <?= $this->formControlGroup($form->get('es_extraction_paie')); ?>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6">
                        <?= $this->formControlGroup($form->get('es_extraction_indemnites')); ?>
                    </div>
                </div>
            </div>
        </div>

+1 −1
Changes for module/Intervenant/src/Service/SituationMatrimonialeServiceFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ class SituationMatrimonialeServiceFactory
     * @param string             $requestedName
     * @param array|null         $options
     *
     * @return CiviliteService
     * @return SituationMatrimonialeService
     */
    public function __invoke(ContainerInterface $container, $requestedName, $options = null)
    {
Loading