Skip to content
Snippets Groups Projects
Commit 68b89279 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

numero insee

parent d98fac26
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class SihamConnecteur implements ConnecteurRhInterface
$intervenantRh->setCodeRh($v->getMatricule());
$dateNaissance = new \DateTime($v->getDateNaissance());
$intervenantRh->setDateNaissance($dateNaissance);
$intervenantRh->setNumeroInsee($v->getNumeroInsee());
$intervenantRh->setNumeroInsee($v->getNumeroInseeDefinitif());
$listIntervenantRh[] = $intervenantRh;
}
}
......
......@@ -128,6 +128,7 @@ if ($priseEnCharge) {
</td>
<td class="active">
<?php
if (!empty($intervenantRh)) {
$adresse = '';
$adresse .= (!empty(trim($intervenantRh->getAdresseNumero()))) ? $intervenantRh->getAdresseNumero() . ' ' : '';
$adresse .= (!empty(trim($intervenantRh->getAdresseNumeroCompl()))) ? $intervenantRh->getAdresseNumeroCompl() . ' ' : '';
......@@ -137,6 +138,7 @@ if ($priseEnCharge) {
$adresse .= '<br/>';
$adresse .= $intervenantRh->getAdresseCodePostal() . ' ' . $intervenantRh->getAdresseCommune();
echo $adresse;
}
?>
</td>
</tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment