diff --git a/library/WsScore/Clients/ClientsConfig.php b/library/WsScore/Clients/ClientsConfig.php index 29d99133..ae86bc3f 100644 --- a/library/WsScore/Clients/ClientsConfig.php +++ b/library/WsScore/Clients/ClientsConfig.php @@ -42,6 +42,6 @@ return array( 'versions' => array( '0.1' => array( 'actif' => true, 'defaut' => true ), ), - 'idClient' => array(1), + 'idClient' => array(1,192), ), ); \ No newline at end of file diff --git a/library/WsScore/Clients/Rrg/v0.1/Entreprise.php b/library/WsScore/Clients/Rrg/v0.1/Entreprise.php index eee3b2bd..a1d44970 100644 --- a/library/WsScore/Clients/Rrg/v0.1/Entreprise.php +++ b/library/WsScore/Clients/Rrg/v0.1/Entreprise.php @@ -60,7 +60,7 @@ class Entreprise extends Scores_Ws_Server $Infos->FJ = $evaluation['FJ']; $Infos->DateCreaEn = $evaluation['DateCreaEn']; - $Infos->AdresseNum = $evaluation['AdresseNum']; + $Infos->AdresseNum = str_pad($evaluation['AdresseNum'], 5, 0); $Infos->AdresseBtq = $evaluation['AdresseBtq']; $Infos->AdresseVoie = $evaluation['AdresseVoie']; if ($evaluation['AdresseRue'] != '') {