Loading data/ddl/table/TYPE_MISSION.php +12 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,18 @@ return [ 'commentaire' => NULL, 'sequence' => 'TYPE_MISSION_ID_SEQ', 'columns' => [ 'ACCOMPAGNEMENT_ETUDIANTS' => [ 'name' => 'ACCOMPAGNEMENT_ETUDIANTS', 'type' => 'bool', 'bdd-type' => 'NUMBER', 'length' => 0, 'scale' => '0', 'precision' => 1, 'nullable' => FALSE, 'default' => '0', 'position' => 12, 'commentaire' => NULL, ], 'ANNEE_ID' => [ 'name' => 'ANNEE_ID', 'type' => 'int', Loading data/ddl_columns_pos.php +1 −0 Original line number Diff line number Diff line Loading @@ -2155,6 +2155,7 @@ return [ 'HISTO_DESTRUCTION', 'HISTO_DESTRUCTEUR_ID', 'TAUX_REMU_ID', 'ACCOMPAGNEMENT_ETUDIANTS', ], 'MISSION' => [ 'ID', Loading module/Mission/config/type.config.php +4 −2 Original line number Diff line number Diff line Loading @@ -38,10 +38,11 @@ return [ 'intervenants' => [ 'pages' => [ 'missions-type' => [ 'label' => "Type de mission", 'label' => "Types de missions", 'route' => 'missions-type', 'resource' => PrivilegeController::getResourceId(MissionTypeController::class, 'index'), 'resource' => PrivilegeController::getResourceId(Controller\MissionTypeController::class, 'index'), 'order' => 70, 'color' => '#BBCF55', ], ], ], Loading @@ -49,6 +50,7 @@ return [ ], ], 'controllers' => [ Controller\MissionTypeController::class => Controller\MissionTypeControllerFactory::class, ], Loading module/Mission/src/Entity/Db/Mapping/Mission.Entity.Db.TypeMission.dcm.xml +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ <many-to-one field="annee" target-entity="Application\Entity\Db\Annee"> <join-column name="ANNEE_ID" referenced-column-name="ID"/> </many-to-one> <field name="accompagnementEtudiants" type="boolean" column="ACCOMPAGNEMENT_ETUDIANTS" nullable="false"/> <field name="histoCreation" type="datetime" column="HISTO_CREATION" nullable="false"/> <many-to-one field="histoCreateur" target-entity="Application\Entity\Db\Utilisateur"> Loading module/Mission/src/Entity/Db/TypeMission.php +18 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,8 @@ class TypeMission implements ParametreEntityInterface protected ?TauxRemu $tauxRemu = null; protected bool $accompagnementEtudiants = false; public function getId(): ?int Loading Loading @@ -75,6 +77,22 @@ class TypeMission implements ParametreEntityInterface public function isAccompagnementEtudiants(): bool { return $this->accompagnementEtudiants; } public function setAccompagnementEtudiants(bool $accompagnementEtudiants): TypeMission { $this->accompagnementEtudiants = $accompagnementEtudiants; return $this; } public function __toString(): string { return $this->getLibelle(); Loading Loading
data/ddl/table/TYPE_MISSION.php +12 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,18 @@ return [ 'commentaire' => NULL, 'sequence' => 'TYPE_MISSION_ID_SEQ', 'columns' => [ 'ACCOMPAGNEMENT_ETUDIANTS' => [ 'name' => 'ACCOMPAGNEMENT_ETUDIANTS', 'type' => 'bool', 'bdd-type' => 'NUMBER', 'length' => 0, 'scale' => '0', 'precision' => 1, 'nullable' => FALSE, 'default' => '0', 'position' => 12, 'commentaire' => NULL, ], 'ANNEE_ID' => [ 'name' => 'ANNEE_ID', 'type' => 'int', Loading
data/ddl_columns_pos.php +1 −0 Original line number Diff line number Diff line Loading @@ -2155,6 +2155,7 @@ return [ 'HISTO_DESTRUCTION', 'HISTO_DESTRUCTEUR_ID', 'TAUX_REMU_ID', 'ACCOMPAGNEMENT_ETUDIANTS', ], 'MISSION' => [ 'ID', Loading
module/Mission/config/type.config.php +4 −2 Original line number Diff line number Diff line Loading @@ -38,10 +38,11 @@ return [ 'intervenants' => [ 'pages' => [ 'missions-type' => [ 'label' => "Type de mission", 'label' => "Types de missions", 'route' => 'missions-type', 'resource' => PrivilegeController::getResourceId(MissionTypeController::class, 'index'), 'resource' => PrivilegeController::getResourceId(Controller\MissionTypeController::class, 'index'), 'order' => 70, 'color' => '#BBCF55', ], ], ], Loading @@ -49,6 +50,7 @@ return [ ], ], 'controllers' => [ Controller\MissionTypeController::class => Controller\MissionTypeControllerFactory::class, ], Loading
module/Mission/src/Entity/Db/Mapping/Mission.Entity.Db.TypeMission.dcm.xml +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ <many-to-one field="annee" target-entity="Application\Entity\Db\Annee"> <join-column name="ANNEE_ID" referenced-column-name="ID"/> </many-to-one> <field name="accompagnementEtudiants" type="boolean" column="ACCOMPAGNEMENT_ETUDIANTS" nullable="false"/> <field name="histoCreation" type="datetime" column="HISTO_CREATION" nullable="false"/> <many-to-one field="histoCreateur" target-entity="Application\Entity\Db\Utilisateur"> Loading
module/Mission/src/Entity/Db/TypeMission.php +18 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,8 @@ class TypeMission implements ParametreEntityInterface protected ?TauxRemu $tauxRemu = null; protected bool $accompagnementEtudiants = false; public function getId(): ?int Loading Loading @@ -75,6 +77,22 @@ class TypeMission implements ParametreEntityInterface public function isAccompagnementEtudiants(): bool { return $this->accompagnementEtudiants; } public function setAccompagnementEtudiants(bool $accompagnementEtudiants): TypeMission { $this->accompagnementEtudiants = $accompagnementEtudiants; return $this; } public function __toString(): string { return $this->getLibelle(); Loading