Skip to content
Snippets Groups Projects
Commit bf6cc3eb authored by lecluse's avatar lecluse
Browse files

v1.6.5

Correction de bugs en cascade portant sur le dossier et ses indicateurs
parent f5e787b0
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,8 @@ $settings = [
'app_infos' => [
'nom' => "OSE",
'desc' => "Organisation des Services d'Enseignement",
'version' => "1.6.4",
'date' => "16/11/2015",
'version' => "1.6.5",
'date' => "17/11/2015",
'contact' => ['mail' => "Contactez votre composante.", /*'tel' => "01 02 03 04 05"*/],
'mentionsLegales' => "http://www.unicaen.fr/outils-portail-institutionnel/mentions-legales/",
'informatiqueEtLibertes' => "http://www.unicaen.fr/outils-portail-institutionnel/informatique-et-libertes/",
......
......@@ -559,6 +559,7 @@ class Dossier implements HistoriqueAwareInterface
public function fromIntervenant(Intervenant $intervenant)
{
$this
->setIntervenant($intervenant)
->setNomUsuel($intervenant->getNomUsuel())
->setNomPatronymique($intervenant->getNomPatronymique())
->setPrenom($intervenant->getPrenom())
......
......@@ -28,7 +28,7 @@
<field name="dateNaissance" type="datetime" column="DATE_NAISSANCE" nullable="true"/>
<field name="villeNaissance" type="string" column="VILLE_NAISSANCE" length="128" nullable="true"/>
<field name="premierRecrutement" type="boolean" column="PREMIER_RECRUTEMENT" nullable="false"/>
<one-to-one field="intervenant" target-entity="Application\Entity\Db\Intervenant" mapped-by="dossier"/>
<!--<one-to-one field="intervenant" target-entity="Application\Entity\Db\Intervenant" mapped-by="dossier"/>-->
<many-to-one field="civilite" target-entity="Application\Entity\Db\Civilite">
<join-columns>
<join-column name="CIVILITE_ID" referenced-column-name="ID"/>
......@@ -65,5 +65,10 @@
</join-columns>
</many-to-one>
<one-to-many field="pieceJointe" target-entity="Application\Entity\Db\PieceJointe" mapped-by="dossier" />
<many-to-one field="intervenant" target-entity="Application\Entity\Db\Intervenant">
<join-columns>
<join-column name="INTERVENANT_ID" referenced-column-name="ID"/>
</join-columns>
</many-to-one>
</entity>
</doctrine-mapping>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment