Commit 1fdfa81f authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Petits bugs corrigés

parent f8bc92ab
Loading
Loading
Loading
Loading
+25 −0
Changes for admin/src/DataGen.php: 25 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -61,6 +61,11 @@ class DataGen
            'context' => ['install', 'update'],
            'key'     => 'CODE',
        ],
        [
            'table'   => 'PLAFOND_PERIMETRE',
            'context' => ['install', 'update'],
            'key'     => 'CODE',
        ],
        [
            'table'   => 'TYPE_VOLUME_HORAIRE',
            'context' => ['install', 'update'],
@@ -660,6 +665,26 @@ class DataGen



    public function PLAFOND_PERIMETRE()
    {
        $data     = require $this->oseAdmin->getOseDir() . 'data/plafonds.php';
        $plafonds = [];
        $id       = 0;
        foreach ($data['perimetres'] as $code => $libelle) {
            $id++;
            $plafond    = [
                'ID'      => $id,
                'CODE'    => $code,
                'LIBELLE' => $libelle,
            ];
            $plafonds[] = $plafond;
        }

        return $plafonds;
    }



    public function INDICATEUR()
    {
        $data        = require $this->oseAdmin->getOseDir() . 'data/indicateurs.php';
+1 −0
Changes for module/Indicateur/src/Indicateur/Entity/Db/Indicateur.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

namespace Indicateur\Entity\Db;

use Application\Entity\Db\Structure;
use Indicateur\Service\IndicateurServiceAwareTrait;

/**
+1 −0
Changes for module/Indicateur/src/Indicateur/Entity/Db/NotificationIndicateur.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
namespace Indicateur\Entity\Db;

use Application\Constants;
use Application\Entity\Db\Affectation;
use DateTime;

/**
+1 −2
Changes for module/Plafond/src/Plafond/Entity/Db/PlafondApplication.php: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@

namespace Plafond\Entity\Db;

use Plafond\Entity\Db\PlafondAwareTrait;
use Plafond\Entity\Db\PlafondEtatAwareTrait;
use Application\Entity\Db\Annee;
use Application\Entity\Db\Traits\TypeVolumeHoraireAwareTrait;

/**