Loading module/Application/src/Application/Controller/PieceJointeController.php +5 −0 Original line number Diff line number Diff line Loading @@ -220,6 +220,11 @@ class PieceJointeController extends AbstractController $this->initFilters(); $intervenant = $this->getEvent()->getParam('intervenant'); $pj = $this->getEvent()->getParam('pieceJointe'); if(empty($pj)) { $typePieceJointe = $this->getEvent()->getParam('typePieceJointe'); $pj = $this->getServicePieceJointe()->getByType($intervenant, $typePieceJointe); } return compact('pj'); } Loading module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.TblPieceJointe.dcm.xml +0 −5 Original line number Diff line number Diff line Loading @@ -44,10 +44,5 @@ <join-column name="ANNEE_ID" referenced-column-name="ID"/> </join-columns> </many-to-one> <field name="dureeVie" type="integer" column="DUREE_VIE" nullable="true" > <options> <option name="default">1</option> </options> </field> </entity> </doctrine-mapping> module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.TblPieceJointeDemande.dcm.xml +0 −5 Original line number Diff line number Diff line Loading @@ -29,11 +29,6 @@ <join-column name="ANNEE_ID" referenced-column-name="ID"/> </join-columns> </many-to-one> <field name="dureeVie" type="integer" column="DUREE_VIE" nullable="true" > <options> <option name="default">1</option> </options> </field> <field name="codeIntervenant" type="string" column="CODE_INTERVENANT" nullable="true" > </field> Loading module/Application/src/Application/Entity/Db/TblPieceJointe.php +0 −17 Original line number Diff line number Diff line Loading @@ -47,12 +47,6 @@ class TblPieceJointe */ private $annee; /** * @var integer */ private $dureeVie; /** * Get demandee Loading Loading @@ -147,16 +141,5 @@ class TblPieceJointe } /** * Get dureeVie * * @return integer */ public function getDureeVie() { return $this->dureeVie; } } module/Application/src/Application/Entity/Db/TblPieceJointeDemande.php +0 −19 Original line number Diff line number Diff line Loading @@ -33,11 +33,6 @@ class TblPieceJointeDemande */ private $annee; /** * @var integer */ private $dureeVie; /** * @var varchar */ Loading Loading @@ -102,20 +97,6 @@ class TblPieceJointeDemande } /** * Get dureeVie * * @return integer */ public function getDureeVie() { return $this->dureeVie; } /** * Get codeIntervenant * Loading Loading
module/Application/src/Application/Controller/PieceJointeController.php +5 −0 Original line number Diff line number Diff line Loading @@ -220,6 +220,11 @@ class PieceJointeController extends AbstractController $this->initFilters(); $intervenant = $this->getEvent()->getParam('intervenant'); $pj = $this->getEvent()->getParam('pieceJointe'); if(empty($pj)) { $typePieceJointe = $this->getEvent()->getParam('typePieceJointe'); $pj = $this->getServicePieceJointe()->getByType($intervenant, $typePieceJointe); } return compact('pj'); } Loading
module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.TblPieceJointe.dcm.xml +0 −5 Original line number Diff line number Diff line Loading @@ -44,10 +44,5 @@ <join-column name="ANNEE_ID" referenced-column-name="ID"/> </join-columns> </many-to-one> <field name="dureeVie" type="integer" column="DUREE_VIE" nullable="true" > <options> <option name="default">1</option> </options> </field> </entity> </doctrine-mapping>
module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.TblPieceJointeDemande.dcm.xml +0 −5 Original line number Diff line number Diff line Loading @@ -29,11 +29,6 @@ <join-column name="ANNEE_ID" referenced-column-name="ID"/> </join-columns> </many-to-one> <field name="dureeVie" type="integer" column="DUREE_VIE" nullable="true" > <options> <option name="default">1</option> </options> </field> <field name="codeIntervenant" type="string" column="CODE_INTERVENANT" nullable="true" > </field> Loading
module/Application/src/Application/Entity/Db/TblPieceJointe.php +0 −17 Original line number Diff line number Diff line Loading @@ -47,12 +47,6 @@ class TblPieceJointe */ private $annee; /** * @var integer */ private $dureeVie; /** * Get demandee Loading Loading @@ -147,16 +141,5 @@ class TblPieceJointe } /** * Get dureeVie * * @return integer */ public function getDureeVie() { return $this->dureeVie; } }
module/Application/src/Application/Entity/Db/TblPieceJointeDemande.php +0 −19 Original line number Diff line number Diff line Loading @@ -33,11 +33,6 @@ class TblPieceJointeDemande */ private $annee; /** * @var integer */ private $dureeVie; /** * @var varchar */ Loading Loading @@ -102,20 +97,6 @@ class TblPieceJointeDemande } /** * Get dureeVie * * @return integer */ public function getDureeVie() { return $this->dureeVie; } /** * Get codeIntervenant * Loading