issue #0001775: remove empty spaces from siren

This commit is contained in:
Arman KYOKCHAN 2013-11-12 12:55:26 +00:00
parent 9534e84400
commit 199ce3f905

View File

@ -62,7 +62,7 @@ Class GiantControllerLib
}
}
//setLog in WS
$setLog->setLog('giant'.$Type, $CompanyId);
//$setLog->setLog('giant'.$Type, $CompanyId);
//////////////
$report_id = $Rapport->getRapportExistId($CompanyId, $Language);
if (!empty($report_id)) {
@ -299,6 +299,7 @@ Class GiantRechercheController extends GiantFunction
$champQuery = array( 'raisonSociale', 'numero', 'voie', 'cpVille',
'telFax', 'naf', 'siret'
);
$parametres['siret']=str_replace(' ', '', $parametres['siret']);
$this->soapG->getAllMethodesFromWsdl('search');
foreach($parametres as $champ => $parametre) {
if(!empty($parametre)) {
@ -322,7 +323,6 @@ Class GiantRechercheController extends GiantFunction
$TypeAdvanced = new stdClass();
$advancedParametres->StartRow = $page;
$advancedParametres->NumRows = parent::getNumRows();
//((strlen($parametres['siret']) == 9) ? $id = 'CompanyRegisterNumber' : $id = 'CompanyId');
$labelForm = array(
'siret' => 'CompanyId',