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

Bugs & DDL

parent 03a2cf7e
Loading
Loading
Loading
Loading
+0 −96
Original line number Diff line number Diff line
@@ -681,54 +681,6 @@ return [
            'position'    => 1,
            'commentaire' => NULL,
        ],
        'MODE_REFERENTIEL_PREVISIONNEL'  => [
            'name'        => 'MODE_REFERENTIEL_PREVISIONNEL',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 50,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 85,
            'commentaire' => NULL,
        ],
        'MODE_REFERENTIEL_REALISE'       => [
            'name'        => 'MODE_REFERENTIEL_REALISE',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 50,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 86,
            'commentaire' => NULL,
        ],
        'MODE_SERVICE_PREVISIONNEL'      => [
            'name'        => 'MODE_SERVICE_PREVISIONNEL',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 50,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 83,
            'commentaire' => NULL,
        ],
        'MODE_SERVICE_REALISE'           => [
            'name'        => 'MODE_SERVICE_REALISE',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 50,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 84,
            'commentaire' => NULL,
        ],
        'LIBELLE'                        => [
            'name'        => 'LIBELLE',
            'type'        => 'string',
@@ -813,54 +765,6 @@ return [
            'position'    => 96,
            'commentaire' => NULL,
        ],
        'MODE_REFERENTIEL_PREVISIONNEL'  => [
            'name'        => 'MODE_REFERENTIEL_PREVISIONNEL',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 50,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 90,
            'commentaire' => NULL,
        ],
        'MODE_REFERENTIEL_REALISE'       => [
            'name'        => 'MODE_REFERENTIEL_REALISE',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 50,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 91,
            'commentaire' => NULL,
        ],
        'MODE_SERVICE_PREVISIONNEL'      => [
            'name'        => 'MODE_SERVICE_PREVISIONNEL',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 50,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 92,
            'commentaire' => NULL,
        ],
        'MODE_SERVICE_REALISE'           => [
            'name'        => 'MODE_SERVICE_REALISE',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 50,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 93,
            'commentaire' => NULL,
        ],
        'MODIF_SERVICE_DU'               => [
            'name'        => 'MODIF_SERVICE_DU',
            'type'        => 'bool',
+7 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

namespace Paiement\Entity\Db;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Paiement\Entity\MiseEnPaiementListe;
use Application\Entity\Db\Periode;
@@ -14,7 +15,7 @@ trait ServiceAPayerTrait

    private Collection $miseEnPaiement;

    protected Collection $centreCout;
    protected ?Collection $centreCout = null;



@@ -67,6 +68,11 @@ trait ServiceAPayerTrait
            }
        };

        // Hack pour éviter un problème d'initialisation
        if (null === $this->centreCout){
            $this->centreCout = new ArrayCollection();
        }

        return $this->centreCout->filter($filter);
    }