Commit a788b7ec authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Nouveau taux HETD & initialisation des nouvelles nomenclatures v21

parent a7a5cd63
Loading
Loading
Loading
Loading
+35
Changes for admin/migration/v21Nomenclatures.php: 35 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php





class v21Nomenclatures extends AbstractMigration
{

    public function description(): string
    {
        return "Peuplement des nouvelles nomenclatures";
    }



    public function utile(): bool
    {
        return $this->manager->hasNew('table', 'TAUX_REMU');
    }



    public function after()
    {
        $c   = $this->manager->getOseAdmin()->getConsole();
        $du = $this->manager->getBdd()->dataUpdater();

        $du->run('install', 'TAUX_REMU');
        $du->run('install', 'TAUX_REMU_VALEUR');
        $du->run('install', 'JOUR_FERIE');
        $du->run('install', 'TYPE_SERVICE');
        $du->run('install', 'TYPE_MISSION');
    }
}
 No newline at end of file
+1
Changes for data/taux_remu.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ return [
            '25/06/2014' => 40.91,
            '01/02/2017' => 41.41,
            '01/07/2022' => 42.86,
            '01/07/2023' => 43.50,
        ],
    ],
    'SMIC' => [