diff --git a/module/ExportRh/src/Connecteur/Siham/SihamConnecteur.php b/module/ExportRh/src/Connecteur/Siham/SihamConnecteur.php
index 8b9327a37454804b60f7de36e704891d716bc4c9..2c4a4601a5dd8804359b9df9cfb37d753e31f0a7 100644
--- a/module/ExportRh/src/Connecteur/Siham/SihamConnecteur.php
+++ b/module/ExportRh/src/Connecteur/Siham/SihamConnecteur.php
@@ -163,6 +163,19 @@ class SihamConnecteur implements ConnecteurRhInterface
+ public function recupererContratEnCoursIntervenantRh(Intervenant $intervenant): ?array
+ {
+ $contrat = [];
+ $donneesAdministratives = $this->recupererDonneesAdministrativesIntervenantRh($intervenant);
+ var_dump($donneesAdministratives);
+ die;
+
+
+ return true;
+ }
+
+
+
public function synchroniserDonneesPersonnellesIntervenantRh(\Application\Entity\Db\Intervenant $intervenant, $datas): bool
{
try {
@@ -368,7 +381,7 @@ class SihamConnecteur implements ConnecteurRhInterface
];
$matricule = $this->siham->priseEnChargeAgent($params);
-
+
return $matricule;
} catch (SihamException $e) {
diff --git a/module/ExportRh/src/Controller/ExportRhController.php b/module/ExportRh/src/Controller/ExportRhController.php
index d6eb147e3ae6a9e8f8b2cd0896d5ddca8521842c..382783e1fa8922ccb33fd4385ce4f386344d8953 100644
--- a/module/ExportRh/src/Controller/ExportRhController.php
+++ b/module/ExportRh/src/Controller/ExportRhController.php
@@ -106,6 +106,7 @@ class ExportRhController extends AbstractController
if (!empty($intervenantRh)) {
//On regarde si il a une affectation en cours pour l'année courante si oui alors on propose uniquement une synchronisation des données personnelles
$affectationEnCours = current($this->exportRhService->getAffectationEnCoursIntervenantRh($intervenant));
+ $this->recupererContratEnCoursIntervenantRh($intervenant);
$renouvellement = true;
if (!empty($affectationEnCours)) {
diff --git a/module/ExportRh/src/Service/ExportRhService.php b/module/ExportRh/src/Service/ExportRhService.php
index ce4fbf4665be1842281f0cba4df17bc7d8adc50b..1bd6197b6c50440d4f3ba74062d77de8dc611b61 100644
--- a/module/ExportRh/src/Service/ExportRhService.php
+++ b/module/ExportRh/src/Service/ExportRhService.php
@@ -83,6 +83,13 @@ class ExportRhService extends AbstractService
+ public function getContratEnCoursIntervenantRh($intervenant)
+ {
+ return true;
+ }
+
+
+
public function getListeUO()
{
return $this->connecteur->recupererListeUO();