Commit 2d5df9d0 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Coquille

parent 74f50550
......@@ -2898,7 +2898,7 @@
"source": {
"type": "git",
"url": "https://git.unicaen.fr/lib/unicaen/siham.git",
"reference": "9ae9dbd52629b1a01ccb647307b1aa7cf07086e4"
"reference": "cbc2a7482dd157f96029e8438da63cf0c76ca4d9"
},
"require": {
"zendframework/zend-mail": "^2.10",
......@@ -2923,7 +2923,7 @@
}
],
"description": "PHP library for SIHAM webservices",
"time": "2021-09-27T08:51:32+00:00"
"time": "2021-09-27T10:14:03+00:00"
},
{
"name": "unicaen/tbl",
......
......@@ -10,11 +10,9 @@ use ExportRh\Entity\IntervenantRh;
use ExportRh\Form\Fieldset\SihamFieldset;
use ExportRh\Service\ExportRhServiceAwareTrait;
use UnicaenApp\Util;
use UnicaenSiham\Entity\Agent;
use UnicaenSiham\Exception\SihamException;
use UnicaenSiham\Service\Siham;
use Zend\Form\Fieldset;
use Zend\Validator\Date;
class SihamConnecteur implements ConnecteurRhInterface
......@@ -403,7 +401,6 @@ class SihamConnecteur implements ConnecteurRhInterface
'debutAdresse' => $dateEffet,
];
//TODO : travailler les coordonnées bancaires pour la prise en charge
/*COORDONNEES BANCAIRES*/
$coordonnees = $this->siham->formatCoordoonneesBancairesForSiham($dossierIntervenant->getIBAN(), $dossierIntervenant->getBIC());
$coordonnees['dateDebBanque'] = $dateEffet;
......@@ -454,7 +451,7 @@ class SihamConnecteur implements ConnecteurRhInterface
'dateEmbauche' => $dateEffet,
'dateNaissance' => $dossierIntervenant->getDateNaissance()->format('Y-m-d'),
'villeNaissance' => $dossierIntervenant->getCommuneNaissance(),
'departementNaissance' => (!empty($dossierIntervenant->getDepartementNaissance())) ? substr(1, 2, $dossierIntervenant->getDepartementNaissance()->getCode()) : '',
'departementNaissance' => (!empty($dossierIntervenant->getDepartementNaissance())) ? substr($dossierIntervenant->getDepartementNaissance()->getCode(), 1, 2) : '',
'paysNaissance' => 'FRA',
'emploi' => $datas['connecteurForm']['emploi'],
'listeCoordonneesPostales' => $coordonneesPostales,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment