Diverses correction, revue code getidentite, marquage des éléments date
This commit is contained in:
parent
731b170615
commit
00abfdd5f1
@ -22,7 +22,7 @@ class MMarques {
|
||||
function __construct() {
|
||||
//$this->partGetSession();
|
||||
$this->partConnection();
|
||||
$this->iDb=new WDb('bopi');
|
||||
$this->iDb=new WDB('bopi');
|
||||
$this->iInsee=new MInsee();
|
||||
}
|
||||
|
||||
|
@ -445,6 +445,9 @@ class IdentiteResult
|
||||
*/
|
||||
public $DateImmat;
|
||||
|
||||
/** @var string */
|
||||
public $DateClotEt;
|
||||
|
||||
/**
|
||||
* Date de radiation juridique au RCS
|
||||
* @var string
|
||||
|
@ -94,157 +94,153 @@ class WsEntreprise extends WsScore
|
||||
{
|
||||
$iBourse = new MBourse($siren);
|
||||
$bourse = $iBourse->getInfosBourse($siren);
|
||||
|
||||
$identite = new IdentiteResult();
|
||||
$identite->id = $entrep['id'];
|
||||
$identite->Siret = $entrep['Siret'];
|
||||
$identite->SiretSiege = $entrep['SiretSiege'];
|
||||
$identite->Siege = $entrep['Siege'];
|
||||
$identite->TribunalCode = $entrep['Tribunal'];
|
||||
$identite->TribunalLib = $entrep['TribunalLib'];
|
||||
//'NumGreffe' = $entrep['numGreffe'], // Ajouté le 4 08 2009
|
||||
$identite->NumRC = $entrep['numRC']; // Ajouté le 4 08 2009
|
||||
$identite->Actif = $entrep['Actif'];
|
||||
$identite->EntActiveRCS = $entrep['EntActiveRCS'];
|
||||
$identite->AutreId = $entrep['AutreId'];
|
||||
$identite->Source = $entrep['Source'];
|
||||
$identite->SourceId = $entrep['SourceId'];
|
||||
$identite->Isin = $entrep['Isin'];
|
||||
$identite->Nom = strtr($entrep['Nom'],'/*',' ');
|
||||
$identite->Nom2 = $entrep['Nom2'];
|
||||
$identite->NomLong = $entrep['nomLong']; // Ajouté le 4 08 2009
|
||||
$identite->NomCommercial = $entrep['NomCommercial']; // Ajouté le 16 11 2010
|
||||
$identite->Siret = $entrep['Siret'];
|
||||
$identite->Sigle = $entrep['Sigle'];
|
||||
$identite->SigleLong = $entrep['sigleLong']; // Ajouté le 4 08 2009
|
||||
$identite->Enseigne = $entrep['Enseigne'];
|
||||
$identite->EnseigneLong = $entrep['enseigneLong']; // Ajouté le 16 11 2010
|
||||
$identite->Adresse = $entrep['Adresse'];
|
||||
$identite->Adresse2 = $entrep['Adresse2'];
|
||||
$identite->AdresseNum = $entrep['AdresseNum'];
|
||||
$identite->AdresseBtq = $entrep['AdresseBtq'];
|
||||
$identite->AdresseVoie = $entrep['AdresseVoie'];
|
||||
$identite->AdresseRue = $entrep['AdresseRue'];
|
||||
$identite->CP = $entrep['CP'];
|
||||
$identite->Ville = $entrep['Ville'];
|
||||
$identite->Pays = $entrep['Pays']; // Ajouté le 18 02 2008
|
||||
$identite->PaysIso2 = $entrep['PaysIso2'];
|
||||
$identite->AdresseDom = $entrep['AdresseDom'];
|
||||
$identite->AdresseDomEnt = $entrep['AdresseDomEnt'];
|
||||
$identite->AdresseDomNb = $entrep['AdresseDomNb'];
|
||||
$identite->Civilite = $entrep['Civilite'];
|
||||
$identite->NbEtab = $entrep['NbEtab'];
|
||||
$identite->Tel = $entrep['Tel'];
|
||||
$identite->Fax = $entrep['Fax'];
|
||||
$identite->Web = $entrep['Web'];
|
||||
$identite->Mail = $entrep['Mail'];
|
||||
$identite->GeoLat = $entrep['GeoLat'];
|
||||
$identite->GeoLon = $entrep['GeoLon'];
|
||||
$identite->GeoPrecis = $entrep['GeoPrecis'];
|
||||
$identite->GeoInfos = $entrep['GeoInfos'];
|
||||
$identite->TvaNumero = $entrep['TvaNumero'];
|
||||
$identite->TvaAttribue = $entrep['TvaAttribue'];
|
||||
$identite->FJ = $entrep['FJ'];
|
||||
$identite->FJ_lib = $entrep['FJ_lib'];
|
||||
$identite->FJ2 = $entrep['FJ2']; // Ajouté le 4 08 2009
|
||||
$identite->FJ2_Lib = $entrep['FJ2_Lib']; // Ajouté le 4 08 2009
|
||||
$identite->Siren = $entrep['Siren'];
|
||||
$identite->Nic = $entrep['Nic'];
|
||||
$identite->NafEnt = $entrep['NafEnt'];
|
||||
$identite->NafEntLib = $entrep['NafEntLib'];
|
||||
$identite->NafEtab = $entrep['NafEtab'];
|
||||
$identite->NafEtabLib = $entrep['NafEtabLib'];
|
||||
$identite->NaceEtab = $entrep['NaceEtab'];
|
||||
$identite->NaceEnt = $entrep['NaceEnt'];
|
||||
$identite->Nafa = $entrep['APRM'];
|
||||
$identite->NafaLib = $entrep['APRM_Lib'];
|
||||
$identite->NumRM = $entrep['NumRM'];
|
||||
$identite->Activite = $entrep['Activite'];
|
||||
$identite->Capital = $entrep['Capital'];
|
||||
$identite->CapitalDev = $entrep['CapitalDev'];
|
||||
$identite->CapitalLib = $entrep['CapitalLib']; // Ajouté le 18 02 2008
|
||||
$identite->CapitalType = $entrep['CapitalType']; // Ajouté le 4 08 2009
|
||||
$identite->DateCreaEt = WDate::dateT('Ymd','Y-m-d',$entrep['DateCreaEt']);
|
||||
$identite->DateCreaEn = WDate::dateT('Ymd','Y-m-d',$entrep['DateCreaEn']);
|
||||
$identite->DateClotEt = $entrep['DateClotEt']; //@todo : date
|
||||
$identite->DateImmat = $entrep['dateImmat']; // Ajouté le 4 08 2009
|
||||
$identite->DateRadiation = $entrep['dateRad']; // Ajouté le 4 08 2009
|
||||
//'DateMajRCS' = $entrep['DateMajRCS'], // Ajouté le 4 08 2009
|
||||
$identite->EffEnTr = $entrep['EffEnTr'];
|
||||
$identite->EffEnTrLib = $entrep['EffEnTrLib'];
|
||||
$identite->Effectif = $entrep['Effectif'];
|
||||
$identite->EffEtTr = $entrep['EffEtTr']; // Ajout le 11 08 2010
|
||||
$identite->EffEtTrLib = $entrep['EffEtTrLib']; // Ajout le 11 08 2010
|
||||
$identite->EffectifEtab = $entrep['EffectifEtab']; // Ajout le 11 08 2010
|
||||
$identite->Dept = $entrep['Dept'];
|
||||
$identite->codeCommune = $entrep['codeCommune'];
|
||||
$identite->AnneeEffEn = $entrep['AnneeEffEn'];
|
||||
$identite->AnneeEffEt = $entrep['AnneeEffEt'];
|
||||
$identite->AnneeTCA = $entrep['AnneeTCA'];
|
||||
$identite->TrancheCA = $entrep['TrancheCA'];
|
||||
$identite->TrancheCALib = $entrep['TrancheCALib'];
|
||||
$identite->dir1Code = $entrep['dir1Code'];
|
||||
$identite->dir1Titre = $entrep['dir1Titre'];
|
||||
$identite->dir1NomPrenom = $entrep['dir1NomPrenom'];
|
||||
$identite->dir1DateFct = $entrep['dir1DateFct']; //@todo : date
|
||||
$identite->dir1DateNaiss = $entrep['dir1DateNaiss']; //@todo : date // Ajouté le 4 08 2009
|
||||
$identite->dir1LieuNaiss = $entrep['dir1LieuNaiss']; // Ajouté le 4 08 2009
|
||||
$identite->dir2Code = $entrep['dir2Code'];
|
||||
$identite->dir2Titre = $entrep['dir2Titre'];
|
||||
$identite->dir2NomPrenom = $entrep['dir2NomPrenom'];
|
||||
$identite->dir2DateFct = $entrep['dir2DateFct']; //@todo : date
|
||||
$identite->dir2DateNaiss = $entrep['dir2DateNaiss']; //@todo : date // Ajouté le 4 08 2009
|
||||
$identite->dir2LieuNaiss = $entrep['dir2LieuNaiss']; // Ajouté le 4 08 2009
|
||||
$identite->Rivoli = $entrep['Rivoli'];
|
||||
|
||||
$tabRet = array(
|
||||
'id' =>$entrep['id'],
|
||||
'Siret' =>$entrep['Siret'],
|
||||
'SiretSiege' =>$entrep['SiretSiege'],
|
||||
'Siege' =>$entrep['Siege'],
|
||||
'TribunalCode' =>$entrep['Tribunal'],
|
||||
'TribunalLib' =>$entrep['TribunalLib'],
|
||||
//'NumGreffe' =>$entrep['numGreffe'], // Ajouté le 4 08 2009
|
||||
'NumRC' =>$entrep['numRC'], // Ajouté le 4 08 2009
|
||||
'Actif' =>$entrep['Actif'],
|
||||
'EntActiveRCS' =>$entrep['EntActiveRCS'],
|
||||
'AutreId' =>$entrep['AutreId'],
|
||||
'Source' =>$entrep['Source'],
|
||||
'SourceId' =>$entrep['SourceId'],
|
||||
'Isin' =>$entrep['Isin'],
|
||||
'Nom' =>strtr($entrep['Nom'],'/*',' '),
|
||||
'Nom2' =>$entrep['Nom2'],
|
||||
'NomLong' =>$entrep['nomLong'], // Ajouté le 4 08 2009
|
||||
'NomCommercial' =>$entrep['NomCommercial'], // Ajouté le 16 11 2010
|
||||
'Siret' =>$entrep['Siret'],
|
||||
'Sigle' =>$entrep['Sigle'],
|
||||
'SigleLong' =>$entrep['sigleLong'], // Ajouté le 4 08 2009
|
||||
'Enseigne' =>$entrep['Enseigne'],
|
||||
'EnseigneLong' =>$entrep['enseigneLong'], // Ajouté le 16 11 2010
|
||||
'Adresse' =>$entrep['Adresse'],
|
||||
'Adresse2' =>$entrep['Adresse2'],
|
||||
'AdresseNum' =>$entrep['AdresseNum'],
|
||||
'AdresseBtq' =>$entrep['AdresseBtq'],
|
||||
'AdresseVoie' =>$entrep['AdresseVoie'],
|
||||
'AdresseRue' =>$entrep['AdresseRue'],
|
||||
'CP' =>$entrep['CP'],
|
||||
'Ville' =>$entrep['Ville'],
|
||||
'Pays' =>$entrep['Pays'], // Ajouté le 18 02 2008
|
||||
'PaysIso2' =>$entrep['PaysIso2'],
|
||||
'AdresseDom' =>$entrep['AdresseDom'],
|
||||
'AdresseDomEnt' =>$entrep['AdresseDomEnt'],
|
||||
'AdresseDomNb' =>$entrep['AdresseDomNb'],
|
||||
'Civilite' =>$entrep['Civilite'],
|
||||
'NbEtab' =>$entrep['NbEtab'],
|
||||
'Tel' =>$entrep['Tel'],
|
||||
'Fax' =>$entrep['Fax'],
|
||||
'Web' =>$entrep['Web'],
|
||||
'Mail' =>$entrep['Mail'],
|
||||
'GeoLat' =>$entrep['GeoLat'],
|
||||
'GeoLon' =>$entrep['GeoLon'],
|
||||
'GeoPrecis' =>$entrep['GeoPrecis'],
|
||||
'GeoInfos' =>$entrep['GeoInfos'],
|
||||
'TvaNumero' =>$entrep['TvaNumero'],
|
||||
'TvaAttribue' =>$entrep['TvaAttribue'],
|
||||
'FJ' =>$entrep['FJ'],
|
||||
'FJ_lib' =>$entrep['FJ_lib'],
|
||||
'FJ2' =>$entrep['FJ2'], // Ajouté le 4 08 2009
|
||||
'FJ2_Lib' =>$entrep['FJ2_Lib'], // Ajouté le 4 08 2009
|
||||
'Siren' =>$entrep['Siren'],
|
||||
'Nic' =>$entrep['Nic'],
|
||||
'NafEnt' =>$entrep['NafEnt'],
|
||||
'NafEntLib' =>$entrep['NafEntLib'],
|
||||
'NafEtab' =>$entrep['NafEtab'],
|
||||
'NafEtabLib' =>$entrep['NafEtabLib'],
|
||||
'NaceEtab' =>$entrep['NaceEtab'],
|
||||
'NaceEnt' =>$entrep['NaceEnt'],
|
||||
'Nafa' =>$entrep['APRM'],
|
||||
'NafaLib' =>$entrep['APRM_Lib'],
|
||||
'NumRM' =>$entrep['NumRM'],
|
||||
'Activite' =>$entrep['Activite'],
|
||||
'Capital' =>$entrep['Capital'],
|
||||
'CapitalDev' =>$entrep['CapitalDev'],
|
||||
'CapitalLib' =>$entrep['CapitalLib'], // Ajouté le 18 02 2008
|
||||
'CapitalType' =>$entrep['CapitalType'], // Ajouté le 4 08 2009
|
||||
'DateCreaEt' =>$entrep['DateCreaEt'],
|
||||
'DateCreaEn' =>$entrep['DateCreaEn'],
|
||||
'DateClotEt' =>$entrep['DateClotEt'],
|
||||
'DateImmat' =>$entrep['dateImmat'], // Ajouté le 4 08 2009
|
||||
'DateRadiation' =>$entrep['dateRad'], // Ajouté le 4 08 2009
|
||||
// 'DateMajRCS' =>$entrep['DateMajRCS'], // Ajouté le 4 08 2009
|
||||
'EffEnTr' =>$entrep['EffEnTr'],
|
||||
'EffEnTrLib' =>$entrep['EffEnTrLib'],
|
||||
'Effectif' =>$entrep['Effectif'],
|
||||
$identite->InfosIris->codIris = $entrep['InfosIris']['codIris'];
|
||||
$identite->InfosIris->codComIris = $entrep['InfosIris']['codComIris'];
|
||||
$identite->InfosIris->libIris = $entrep['InfosIris']['libIris'];
|
||||
$identite->InfosIris->typIris = $entrep['InfosIris']['typIris'];
|
||||
$identite->InfosIris->evoIris = $entrep['InfosIris']['evoIris'];
|
||||
$identite->InfosIris->trIris = $entrep['InfosIris']['trIris'];
|
||||
$identite->InfosIris->grdQuartier = $entrep['InfosIris']['grdQuartier'];
|
||||
|
||||
'EffEtTr' =>$entrep['EffEtTr'], // Ajout le 11 08 2010
|
||||
'EffEtTrLib' =>$entrep['EffEtTrLib'], // Ajout le 11 08 2010
|
||||
'EffectifEtab' =>$entrep['EffectifEtab'], // Ajout le 11 08 2010
|
||||
$identite->NatureActivite = $entrep['NatureActivite']; // Nature de l'activité
|
||||
$identite->OrigineCreation = $entrep['OrigineCreation']; // Origine de la création
|
||||
$identite->TypeExploitation = $entrep['TypeExploitation'];
|
||||
$identite->Auxiliaire = $entrep['Auxiliaire']; // 1=Auxiliaire / 0=Non auxiliaire
|
||||
$identite->Saisonnalite = $entrep['Saisonnalite']; // P=Activité permanente / S=Activité saisonnière
|
||||
$identite->SituationJuridique = $entrep['SituationJuridique'];
|
||||
|
||||
$identite->Bilan->Cloture = $entrep['bilanDate']; //@todo : date
|
||||
$identite->Bilan->Duree = $entrep['bilanMois'];
|
||||
$identite->Bilan->Devise = $entrep['bilanDevise'];
|
||||
$identite->Bilan->Capital = $entrep['bilanDA'];
|
||||
$identite->Bilan->CA = $entrep['bilanFL'];
|
||||
$identite->Bilan->Resultat = $entrep['bilanHN'];
|
||||
$identite->Bilan->Effectif = $entrep['bilanYP'];
|
||||
|
||||
'Dept' =>$entrep['Dept'],
|
||||
'codeCommune' =>$entrep['codeCommune'],
|
||||
$identite->Bourse->placeCotation = $bourse['placeCotation'];
|
||||
$identite->Bourse->nombreTitres = $bourse['nombreTitres'];
|
||||
$identite->Bourse->capitalisation = $bourse['close']*$bourse['nombreTitres'];
|
||||
$identite->Bourse->derCoursDate = $bourse['date']; //@todo : date
|
||||
$identite->Bourse->derCoursCloture = $bourse['close']; //@todo : date
|
||||
|
||||
'AnneeEffEn' =>$entrep['AnneeEffEn'],
|
||||
'AnneeEffEt' =>$entrep['AnneeEffEt'],
|
||||
'AnneeTCA' =>$entrep['AnneeTCA'],
|
||||
|
||||
'TrancheCA' =>$entrep['TrancheCA'],
|
||||
'TrancheCALib' =>$entrep['TrancheCALib'],
|
||||
'dir1Code' =>$entrep['dir1Code'],
|
||||
'dir1Titre' =>$entrep['dir1Titre'],//utf8
|
||||
'dir1NomPrenom' =>$entrep['dir1NomPrenom'],
|
||||
'dir1DateFct' =>$entrep['dir1DateFct'],
|
||||
'dir1DateNaiss' =>$entrep['dir1DateNaiss'],// Ajouté le 4 08 2009
|
||||
'dir1LieuNaiss' =>$entrep['dir1LieuNaiss'],// Ajouté le 4 08 2009
|
||||
'dir2Code' =>$entrep['dir2Code'],
|
||||
'dir2Titre' =>$entrep['dir2Titre'],//utf8
|
||||
'dir2NomPrenom' =>$entrep['dir2NomPrenom'],
|
||||
'dir2DateFct' =>$entrep['dir2DateFct'],
|
||||
'dir2DateNaiss' =>$entrep['dir2DateNaiss'],// Ajouté le 4 08 2009
|
||||
'dir2LieuNaiss' =>$entrep['dir2LieuNaiss'],// Ajouté le 4 08 2009
|
||||
'Rivoli' =>$entrep['Rivoli'],
|
||||
'InfosIris' =>array('codIris' => $entrep['InfosIris']['codIris'],
|
||||
'codComIris'=> $entrep['InfosIris']['codComIris'],
|
||||
'libIris' => $entrep['InfosIris']['libIris'],
|
||||
'typIris' => $entrep['InfosIris']['typIris'],
|
||||
'evoIris' => $entrep['InfosIris']['evoIris'],
|
||||
'trIris' => $entrep['InfosIris']['trIris'],
|
||||
'grdQuartier'=>$entrep['InfosIris']['grdQuartier']),
|
||||
'NatureActivite' =>$entrep['NatureActivite'], // Nature de l'activité
|
||||
'OrigineCreation' =>$entrep['OrigineCreation'], // Origine de la création
|
||||
'TypeExploitation' =>$entrep['TypeExploitation'],
|
||||
'Auxiliaire' =>$entrep['Auxiliaire'], // 1=Auxiliaire / 0=Non auxiliaire
|
||||
'Saisonnalite' =>$entrep['Saisonnalite'], // P=Activité permanente / S=Activité saisonnière
|
||||
'SituationJuridique'=>$entrep['SituationJuridique'],
|
||||
'Bilan' =>array(
|
||||
'Cloture' => $entrep['bilanDate'],
|
||||
'Duree' => $entrep['bilanMois'],
|
||||
'Devise' => $entrep['bilanDevise'],
|
||||
'Capital' => $entrep['bilanDA'],
|
||||
'CA' => $entrep['bilanFL'],
|
||||
'Resultat' => $entrep['bilanHN'],
|
||||
'Effectif' => $entrep['bilanYP'],
|
||||
),
|
||||
'Bourse' =>array(
|
||||
'placeCotation'=>$bourse['placeCotation'],
|
||||
'nombreTitres'=>$bourse['nombreTitres'],
|
||||
'capitalisation'=>$bourse['close']*$bourse['nombreTitres'],
|
||||
'derCoursDate'=>$bourse['date'],
|
||||
'derCoursCloture'=>$bourse['close']
|
||||
),
|
||||
'AutreSiren' =>$entrep['AutreSiren'],
|
||||
'DateMajINSEE' =>$entrep['DateMajINSEE'],
|
||||
'DateMajRCS' =>$entrep['DateMajRCS'],
|
||||
'DateMajBILAN' =>$entrep['bilanDateMaj'],
|
||||
'DateMajANN' =>$entrep['dateMajANN'],
|
||||
'DateMajID' =>$entrep['dateMajIdentite'],
|
||||
//'importExport' =>$entrep['importExport'],
|
||||
);
|
||||
$identite->AutreSiren = $entrep['AutreSiren'];
|
||||
$identite->DateMajINSEE = $entrep['DateMajINSEE']; //@todo : date
|
||||
$identite->DateMajRCS = $entrep['DateMajRCS']; //@todo : date
|
||||
$identite->DateMajBILAN = $entrep['bilanDateMaj']; //@todo : date
|
||||
$identite->DateMajANN = $entrep['dateMajANN']; //@todo : date
|
||||
$identite->DateMajID = $entrep['dateMajIdentite']; //@todo : date
|
||||
//'importExport' = $entrep['importExport'],
|
||||
|
||||
if (preg_match('/NAF4/i', $this->tabInfoUser['pref']))
|
||||
{
|
||||
$entrep2=$iInsee->getNaf4($siren, $nic, $id);
|
||||
$tabRet['Naf4Ent'] = $entrep2['apen4'];
|
||||
$tabRet['Naf4Etab'] = $entrep2['apet4'];
|
||||
$tabRet['Naf4EntLib'] = $entrep2['apen4_lib'];
|
||||
$tabRet['Naf4EtabLib'] = $entrep2['apet4_lib'];
|
||||
$entrep2 = $iInsee->getNaf4($siren, $nic, $id);
|
||||
$identite->Naf4Ent = $entrep2['apen4'];
|
||||
$identite->Naf4Etab = $entrep2['apet4'];
|
||||
$identite->Naf4EntLib = $entrep2['apen4_lib'];
|
||||
$identite->Naf4EtabLib = $entrep2['apet4_lib'];
|
||||
}
|
||||
|
||||
debugLog('I', 'Etablissement retourné = '. $entrep['Nom'], __LINE__, __FILE__, __FUNCTION__, __CLASS__);
|
||||
@ -254,14 +250,13 @@ class WsEntreprise extends WsScore
|
||||
$fp=fopen(LOG_PATH.'/accesDistant.log', 'a');
|
||||
fwrite($fp,$ligne.EOL);
|
||||
fclose($fp);
|
||||
|
||||
$result = arrayToClass($tabRet, 'IdentiteResult');
|
||||
|
||||
$error->errnum = 0;
|
||||
$error->errmsg = '';
|
||||
}
|
||||
}
|
||||
$outputParams->error = $error;
|
||||
$outputParams->result = $result;
|
||||
$outputParams->result = $identite;
|
||||
return $outputParams;
|
||||
}
|
||||
|
||||
@ -305,8 +300,8 @@ class WsEntreprise extends WsScore
|
||||
$actionnaire->Siren = $lien['Siren'];
|
||||
$actionnaire->Actif = $lien['Actif'];
|
||||
$actionnaire->Source = $lien['Source'];
|
||||
$actionnaire->DateLien = $lien['DateLien'];
|
||||
$actionnaire->DateMaj = $lien['DateMaj'];
|
||||
$actionnaire->DateLien = $lien['DateLien']; //@todo : date
|
||||
$actionnaire->DateMaj = $lien['DateMaj']; //@todo : date
|
||||
$tabAct[] = $actionnaire;
|
||||
}
|
||||
}
|
||||
@ -325,8 +320,8 @@ class WsEntreprise extends WsScore
|
||||
$participation->Siren = $lien['Siren'];
|
||||
$participation->Actif = $lien['Actif'];
|
||||
$participation->Source = $lien['Source'];
|
||||
$participation->DateLien = $lien['DateLien'];
|
||||
$participation->DateMaj = $lien['DateMaj'];
|
||||
$participation->DateLien = $lien['DateLien']; //@todo : date
|
||||
$participation->DateMaj = $lien['DateMaj']; //@todo : date
|
||||
$tabPar[] = $participation;
|
||||
}
|
||||
}
|
||||
@ -470,18 +465,15 @@ class WsEntreprise extends WsScore
|
||||
$dirigeant->Civilite = $dir['Civilite'];
|
||||
$dirigeant->Nom = $dir['Nom'];
|
||||
$dirigeant->Prenom = $dir['Prenom'];
|
||||
$dirigeant->NaissDate = $dir['NaissDate'];
|
||||
$dirigeant->NaissDate = $dir['NaissDate']; //@todo : date
|
||||
$dirigeant->NaissVille = $dir['NaissVille'];
|
||||
$dirigeant->NaissDepPays = $dir['NaissDepPays'];
|
||||
$dirigeant->Ancien = $dir['Ancien'];
|
||||
$dirigeant->DateFct = $dir['DateFct'];
|
||||
|
||||
$dirigeant->DateFct = $dir['DateFct']; //@todo : date
|
||||
$liste[] = $dirigeant;
|
||||
}
|
||||
|
||||
$this->wsLog('dirigeants',$siren,$option);
|
||||
debugLog('I', 'Nb Dirigeants retournés = '. count($dirs), __LINE__, __FILE__, __FUNCTION__, __CLASS__);
|
||||
|
||||
}
|
||||
$output = new DirigeantsReturn();
|
||||
$output->error = $error;
|
||||
@ -580,7 +572,7 @@ class WsEntreprise extends WsScore
|
||||
$annonce->BodaccCode = $ann['BodaccCode'];
|
||||
$annonce->BodaccNum = $ann['BodaccNum'];
|
||||
$annonce->NumAnnonce = $ann['NumAnnonce'];
|
||||
$annonce->DateParution = $ann['DateParution'];
|
||||
$annonce->DateParution = $ann['DateParution']; //@todo : date
|
||||
$annonce->Departement = $ann['Departement'];
|
||||
$annonce->Tribunal = $ann['Tribunal'];
|
||||
$annonce->TribunalCode = $ann['TribunalCode'];
|
||||
@ -598,10 +590,9 @@ class WsEntreprise extends WsScore
|
||||
$annonce->nomCommercial = $ann['nomCommercial'];
|
||||
$annonce->sigle = $ann['sigle'];
|
||||
$annonce->adresse = $ann['adresse'];
|
||||
|
||||
$annonce->dateEffet = $ann['dateEffet'];
|
||||
$annonce->dateJugement = $ann['dateJugement'];
|
||||
$annonce->dateInsertionSD = $ann['dateInsertionSD'];
|
||||
$annonce->dateEffet = $ann['dateEffet']; //@todo : date
|
||||
$annonce->dateJugement = $ann['dateJugement']; //@todo : date
|
||||
$annonce->dateInsertionSD = $ann['dateInsertionSD']; //@todo : date
|
||||
$annonce->evenements = $evens;
|
||||
$annonce->Lien_Annonce_Pdf = $ann['Lien_Annonce_Pdf'];
|
||||
|
||||
@ -626,7 +617,7 @@ class WsEntreprise extends WsScore
|
||||
$annonce->BodaccCode = $ann['BodaccCode'];
|
||||
$annonce->BodaccNum = $ann['BodaccNum'];
|
||||
$annonce->NumAnnonce = $ann['NumAnnonce'];
|
||||
$annonce->DateParution = $ann['DateParution'];
|
||||
$annonce->DateParution = $ann['DateParution']; //@todo : date
|
||||
$annonce->Departement = $ann['Departement'];
|
||||
$annonce->Tribunal = $ann['Tribunal'];
|
||||
//$annonce->TribunalCode = $ann['TribunalCode'];
|
||||
@ -639,9 +630,9 @@ class WsEntreprise extends WsScore
|
||||
//$annonce->codFJ = $ann['codFJ'];
|
||||
//$annonce->capital = $ann['capital'];
|
||||
//$annonce->capitalDev = $ann['capitalDev'];
|
||||
$annonce->dateEffet = $ann['dateEffet'];
|
||||
$annonce->dateJugement = $ann['dateJugement'];
|
||||
$annonce->dateInsertionSD = $ann['dateInsertionSD'];
|
||||
$annonce->dateEffet = $ann['dateEffet']; //@todo : date
|
||||
$annonce->dateJugement = $ann['dateJugement']; //@todo : date
|
||||
$annonce->dateInsertionSD = $ann['dateInsertionSD']; //@todo : date
|
||||
$annonce->evenements = $evens;
|
||||
$annonce->Lien_Annonce_Pdf = $ann['Lien_Annonce_Pdf'];
|
||||
|
||||
@ -668,7 +659,7 @@ class WsEntreprise extends WsScore
|
||||
$annonce->BodaccCode = $ann['BodaccCode'];
|
||||
$annonce->BodaccNum = $ann['BodaccNum'];
|
||||
$annonce->NumAnnonce = $ann['NumAnnonce'];
|
||||
$annonce->DateParution = $ann['DateParution'];
|
||||
$annonce->DateParution = $ann['DateParution']; //@todo : date
|
||||
$annonce->Departement = $ann['Departement'];
|
||||
$annonce->Tribunal = $ann['Tribunal'];
|
||||
//$annonce->TribunalCode = $ann['TribunalCode'];
|
||||
@ -681,9 +672,10 @@ class WsEntreprise extends WsScore
|
||||
//$annonce->codFJ = $ann['codFJ'];
|
||||
//$annonce->capital = $ann['capital'];
|
||||
//$annonce->capitalDev = $ann['capitalDev'];
|
||||
$annonce->dateEffet = $ann['dateEffet'];
|
||||
$annonce->dateJugement = $ann['dateJugement'];
|
||||
$annonce->dateInsertionSD = $ann['dateInsertionSD'];
|
||||
//@todo : date
|
||||
$annonce->dateEffet = $ann['dateEffet']; //@todo : date
|
||||
$annonce->dateJugement = $ann['dateJugement']; //@todo : date
|
||||
$annonce->dateInsertionSD = $ann['dateInsertionSD']; //@todo : date
|
||||
$annonce->evenements = $evens;
|
||||
$annonce->Lien_Annonce_Pdf = $ann['Lien_Annonce_Pdf'];
|
||||
|
||||
@ -709,7 +701,7 @@ class WsEntreprise extends WsScore
|
||||
$annonce->BodaccCode = $ann['BodaccCode'];
|
||||
$annonce->BodaccNum = $ann['BodaccNum'];
|
||||
$annonce->NumAnnonce = $ann['NumAnnonce'];
|
||||
$annonce->DateParution = $ann['DateParution'];
|
||||
$annonce->DateParution = $ann['DateParution']; //@todo : date
|
||||
$annonce->Departement = $ann['Departement'];
|
||||
$annonce->Tribunal = $ann['Tribunal'];
|
||||
//$annonce->TribunalCode = $ann['TribunalCode'];
|
||||
@ -722,9 +714,9 @@ class WsEntreprise extends WsScore
|
||||
//$annonce->codFJ = $ann['codFJ'];
|
||||
//$annonce->capital = $ann['capital'];
|
||||
//$annonce->capitalDev = $ann['capitalDev'];
|
||||
$annonce->dateEffet = $ann['dateEffet'];
|
||||
$annonce->dateJugement = $ann['dateJugement'];
|
||||
$annonce->dateInsertionSD = $ann['dateInsertionSD'];
|
||||
$annonce->dateEffet = $ann['dateEffet']; //@todo : date
|
||||
$annonce->dateJugement = $ann['dateJugement']; //@todo : date
|
||||
$annonce->dateInsertionSD = $ann['dateInsertionSD']; //@todo : date
|
||||
$annonce->evenements = $evens;
|
||||
$annonce->Lien_Annonce_Pdf = $ann['Lien_Annonce_Pdf'];
|
||||
|
||||
@ -740,7 +732,7 @@ class WsEntreprise extends WsScore
|
||||
}
|
||||
debugLog('I', "Nb Annonces $filtre retournées pour $siren (source=$filtre, id=$idAnn) = ". count($liste), __LINE__, __FILE__, __FUNCTION__, __CLASS__);
|
||||
$this->wsLog('annonces',$siren,$filtre.'/'.$idAnn);
|
||||
file_put_contents(PATH_LOG.'/annonces.log', print_r($liste,1));
|
||||
file_put_contents(LOG_PATH.'/annonces.log', print_r($liste,1));
|
||||
|
||||
$output = new AnnoncesReturn();
|
||||
$output->error = $error;
|
||||
@ -887,13 +879,13 @@ class WsEntreprise extends WsScore
|
||||
foreach($value as $bilan)
|
||||
{
|
||||
$element = new ListeBilans();
|
||||
$element->dateProvPartenaire = $bilan['dateProvPartenaire'];
|
||||
$element->dateInsert = $bilan['dateInsert'];
|
||||
$element->dateProvPartenaire = $bilan['dateProvPartenaire']; //@todo : date
|
||||
$element->dateInsert = $bilan['dateInsert']; //@todo : date
|
||||
$element->typeBilan = $bilan['typeBilan'];
|
||||
$element->dureeExercice = $bilan['dureeExercice'];
|
||||
$element->dateExercice = $bilan['dateExercice'];
|
||||
$element->dateExercice = $bilan['dateExercice']; //@todo : date
|
||||
$element->millesime = $bilan['millesime'];
|
||||
$element->dateExercicePre = $bilan['dateExercicePre'];
|
||||
$element->dateExercicePre = $bilan['dateExercicePre']; //@todo : date
|
||||
$element->dureeExercicePre = $bilan['dureeExercicePre'];
|
||||
$element->monnaie = $bilan['monnaie'];
|
||||
$element->source = $bilan['source'];
|
||||
@ -999,8 +991,8 @@ class WsEntreprise extends WsScore
|
||||
$iEven->EvenCode = $even['codeEven'];
|
||||
$iEven->EvenLib = $even['libEven'];
|
||||
$iEven->EvenLibDet = $even['libEvenDet'];
|
||||
$iEven->EvenDate = $even['dateEven'];
|
||||
$iEven->DateInfo = $even['dateMAJ'];
|
||||
$iEven->EvenDate = $even['dateEven']; //@todo : date
|
||||
$iEven->DateInfo = $even['dateMAJ']; //@todo : date
|
||||
$tabRet[] = $iEven;
|
||||
}
|
||||
}
|
||||
@ -1314,35 +1306,34 @@ class WsEntreprise extends WsScore
|
||||
foreach ($anns as $nb=>$ann)
|
||||
{
|
||||
//debugLog('I', "Siren/Siret $siren trouvé : ".$etab['Siren'].' '.$etab['Nic'].', '.$etab['Nom'] .', '.$etab['CP'].', '.$etab['Ville'], __LINE__, __FILE__, __FUNCTION__, __CLASS__);
|
||||
if ($id == false)
|
||||
{
|
||||
if ($id == false){
|
||||
|
||||
$infos = new InfosReg();
|
||||
$infos->id = $ann['id'];
|
||||
$infos->source = $ann['source'];
|
||||
$infos->DateParution = $ann['DateParution'];
|
||||
$infos->DateParution = $ann['DateParution']; //@todo : date
|
||||
$infos->raisonSociale = $ann['raisonSociale'];
|
||||
$infos->titre = $ann['titre'];
|
||||
$infos->pj = $ann['pj'];
|
||||
$infos->url = $ann['url'];
|
||||
$infos->dateInsertionSD = $ann['dateInsertionSD'];
|
||||
|
||||
$infos->dateInsertionSD = $ann['dateInsertionSD']; //@todo : date
|
||||
$tabRet[] = $infos;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
} else {
|
||||
|
||||
$infos = new InfosReg();
|
||||
$infos->id = $ann['id'];
|
||||
$infos->source = $ann['source'];
|
||||
$infos->DateParution = $ann['DateParution'];
|
||||
$infos->DateParution = $ann['DateParution']; //@todo : date
|
||||
$infos->raisonSociale = $ann['raisonSociale'];
|
||||
$infos->titre = $ann['titre'];
|
||||
$infos->communique = $ann['communique'];
|
||||
$infos->communiqueHtml = $ann['communiqueHtml'];
|
||||
$infos->pj = $ann['pj'];
|
||||
$infos->url = $ann['url'];
|
||||
$infos->dateInsertionSD = $ann['dateInsertionSD'];
|
||||
|
||||
$infos->dateInsertionSD = $ann['dateInsertionSD']; //@todo : date
|
||||
$tabRet[] = $infos;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -1350,7 +1341,6 @@ class WsEntreprise extends WsScore
|
||||
debugLog('I', 'Nb infos retournés = '. count($anns), __LINE__, __FILE__, __FUNCTION__, __CLASS__);
|
||||
$this->wsLog('infosreg',$siren,$id);
|
||||
}
|
||||
|
||||
$output = new InfosRegReturn();
|
||||
$output->error = $error;
|
||||
$output->result = $tabRet;
|
||||
@ -1371,14 +1361,14 @@ class WsEntreprise extends WsScore
|
||||
debugLog('I',"Infos bourse demandées pour $siren",__LINE__,__FILE__, __FUNCTION__, __CLASS__);
|
||||
$siren = substr($siren,0,9);
|
||||
|
||||
if ($siren*1==0)
|
||||
{
|
||||
if ($siren*1==0){
|
||||
|
||||
debugLog('W', "Siren $siren inexistant", __LINE__, __FILE__, __FUNCTION__, __CLASS__);
|
||||
$error->errnum = 102;
|
||||
$error->errmsg = 'Siren inexistant';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
} else {
|
||||
|
||||
$iBourse = new MBourse($siren);
|
||||
$bourse = $iBourse->getInfosBourse($siren);
|
||||
//debugLog('W', print_r($entrep, true), __LINE__, __FILE__, __FUNCTION__, __CLASS__);
|
||||
@ -1401,9 +1391,9 @@ class WsEntreprise extends WsScore
|
||||
$result->CodeDatastream = $bourse['code_datastream'];
|
||||
$result->Isin = $bourse['code_isin'];
|
||||
$result->CodeRic = $bourse['code_ric'];
|
||||
$result->DateIntroduction = prepareString($bourse['dateIntroduction']);
|
||||
$result->DateDerAG = prepareString($bourse['dateDerAG']);
|
||||
$result->DateRadiation = prepareString($bourse['dateRadiation']);
|
||||
$result->DateIntroduction = prepareString($bourse['dateIntroduction']); //@todo : date
|
||||
$result->DateDerAG = prepareString($bourse['dateDerAG']); //@todo : date
|
||||
$result->DateRadiation = prepareString($bourse['dateRadiation']); //@todo : date
|
||||
$result->AutreIsin = $bourse['autre_isin'];
|
||||
$result->EligibleSRD = $bourse['eligibleSRD'];
|
||||
$result->EligiblePEA = $bourse['eligiblePEA'];
|
||||
@ -1414,16 +1404,16 @@ class WsEntreprise extends WsScore
|
||||
$result->Web = $bourse['web'];
|
||||
$result->Mail = $bourse['mail'];
|
||||
|
||||
$result->Marche = prepareString($bourse['marche']);
|
||||
$result->Description = prepareString($bourse['description']);
|
||||
$result->Secteur = prepareString($bourse['secteur']);
|
||||
$result->Activite = prepareString($bourse['activite']);
|
||||
$result->ActiviteDet = prepareString($bourse['activiteDet']);
|
||||
$result->Marche = $bourse['marche'];
|
||||
$result->Description = $bourse['description'];
|
||||
$result->Secteur = $bourse['secteur'];
|
||||
$result->Activite = $bourse['activite'];
|
||||
$result->ActiviteDet = $bourse['activiteDet'];
|
||||
|
||||
$result->placeCotation = prepareString($bourse['placeCotation']);
|
||||
$result->placeCotation = $bourse['placeCotation'];
|
||||
$result->nombreTitres = $bourse['nombreTitres'];
|
||||
$result->capitalisation = $bourse['close']*$bourse['nombreTitres'];
|
||||
$result->derCoursDate = $bourse['date'];
|
||||
$result->derCoursDate = $bourse['date']; //@todo : date
|
||||
$result->derCoursCloture = $bourse['close'];
|
||||
$result->derCoursOuverture = $bourse['open'];
|
||||
$result->derCoursPlusHaut = $bourse['high'];
|
||||
@ -1458,7 +1448,7 @@ class WsEntreprise extends WsScore
|
||||
$error = new ErrorType();
|
||||
debugLog('I',"Liste des privilèges detail sur $siren ".print_r($tabTypes, true),__LINE__,__FILE__, __FUNCTION__, __CLASS__);
|
||||
$iPriv = new MPrivileges();
|
||||
$ret = $iPriv->getPrivilegesDetail($siren, $tabTypes);
|
||||
$ret = $iPriv->getPrivilegesDetail($siren, $tabTypes); //@todo : date
|
||||
|
||||
$output = new PrivilegesDetailReturn();
|
||||
$output->error = new ErrorType();
|
||||
@ -1490,12 +1480,12 @@ class WsEntreprise extends WsScore
|
||||
$priv->insType = '03';
|
||||
$priv->nb = $value['nb'];
|
||||
$priv->insTypeLib = $value['insTypeLib'];
|
||||
$priv->dateFraiche = $value['dateFraiche'];
|
||||
$priv->dateDerInsc = $value['dateDerInsc'];
|
||||
$priv->dateFraiche = $value['dateFraiche']; //@todo : date
|
||||
$priv->dateDerInsc = $value['dateDerInsc']; //@todo : date
|
||||
$priv->nomDerCre = $value['nomDerCre'];
|
||||
$priv->numDebiteur = $value['numDebiteur'];
|
||||
$priv->greffeLib = $value['greffeLib'];
|
||||
$priv->dateMajSD = $value['dateMajSD'];
|
||||
$priv->dateMajSD = $value['dateMajSD']; //@todo : date
|
||||
$priv->insCumul = $value['insCumul'];
|
||||
$tabRet[] = $priv;
|
||||
}
|
||||
@ -1506,12 +1496,12 @@ class WsEntreprise extends WsScore
|
||||
$priv->insType = '04';
|
||||
$priv->nb = $value['nb'];
|
||||
$priv->insTypeLib = $value['insTypeLib'];
|
||||
$priv->dateFraiche = $value['dateFraiche'];
|
||||
$priv->dateDerInsc = $value['dateDerInsc'];
|
||||
$priv->dateFraiche = $value['dateFraiche']; //@todo : date
|
||||
$priv->dateDerInsc = $value['dateDerInsc']; //@todo : date
|
||||
$priv->nomDerCre = $value['nomDerCre'];
|
||||
$priv->numDebiteur = $value['numDebiteur'];
|
||||
$priv->greffeLib = $value['greffeLib'];
|
||||
$priv->dateMajSD = $value['dateMajSD'];
|
||||
$priv->dateMajSD = $value['dateMajSD']; //@todo : date
|
||||
$priv->insCumul = $value['insCumul'];
|
||||
$tabRet[] = $priv;
|
||||
}
|
||||
@ -1630,7 +1620,6 @@ class WsEntreprise extends WsScore
|
||||
else
|
||||
{
|
||||
$result = 1;
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -1699,8 +1688,8 @@ class WsEntreprise extends WsScore
|
||||
$liste->siren = $tabSurv['siren'];
|
||||
$liste->nic = $tabSurv['nic'];
|
||||
$liste->ref = $tabSurv['ref'];
|
||||
$liste->dateAjout = $tabSurv['dateAjout'];
|
||||
$liste->dateDerEnvoi = $tabSurv['dateDerEnvoi'];
|
||||
$liste->dateAjout = $tabSurv['dateAjout']; //@todo : date
|
||||
$liste->dateDerEnvoi = $tabSurv['dateDerEnvoi']; //@todo : date
|
||||
$tabRet[] = $liste;
|
||||
} else {
|
||||
if (trim($tabSurv['rs'])<>'') {
|
||||
@ -1727,12 +1716,12 @@ class WsEntreprise extends WsScore
|
||||
$liste->siren = $tabSurv['siren'];
|
||||
$liste->nic = $tabSurv['nic'];
|
||||
$liste->ref = $tabSurv['ref'];
|
||||
$liste->dateAjout = $tabSurv['dateAjout'];
|
||||
$liste->dateAjout = $tabSurv['dateAjout']; //@todo : date
|
||||
$liste->encoursClient = $tabSurv['encoursClient'];
|
||||
$liste->rs = $rs;
|
||||
$liste->cp = $cp;
|
||||
$liste->ville = $ville;
|
||||
$liste->dateDerEnvoi = $tabSurv['dateDerEnvoi'];
|
||||
$liste->dateDerEnvoi = $tabSurv['dateDerEnvoi']; //@todo : date
|
||||
$tabRet[] = $liste;
|
||||
}
|
||||
}
|
||||
@ -1867,13 +1856,13 @@ class WsEntreprise extends WsScore
|
||||
foreach($tabBilans as $bilan)
|
||||
{
|
||||
$element = new ListeBilans();
|
||||
$element->dateProvPartenaire = $bilan['dateProvPartenaire'];
|
||||
$element->dateInsert = $bilan['dateInsert'];
|
||||
$element->dateProvPartenaire = $bilan['dateProvPartenaire']; //@todo : date
|
||||
$element->dateInsert = $bilan['dateInsert']; //@todo : date
|
||||
$element->typeBilan = $bilan['typeBilan'];
|
||||
$element->dureeExercice = $bilan['dureeExercice'];
|
||||
$element->dateExercice = $bilan['dateExercice'];
|
||||
$element->dateExercice = $bilan['dateExercice']; //@todo : date
|
||||
$element->millesime = $bilan['millesime'];
|
||||
$element->dateExercicePre = $bilan['dateExercicePre'];
|
||||
$element->dateExercicePre = $bilan['dateExercicePre']; //@todo : date
|
||||
$element->dureeExercicePre = $bilan['dureeExercicePre'];
|
||||
$element->monnaie = $bilan['monnaie'];
|
||||
$element->source = $bilan['source'];
|
||||
@ -2000,7 +1989,7 @@ class WsEntreprise extends WsScore
|
||||
$annonces->Num_Parution = $etab['Num_Parution'];
|
||||
$annonces->Num_Annonce = $etab['Num_Annonce'];
|
||||
$annonces->Num_Page = $etab['Num_Page'];
|
||||
$annonces->Date_Parution = $etab['Date_Parution'];
|
||||
$annonces->Date_Parution = $etab['Date_Parution']; //@todo : date
|
||||
$annonces->Departement = $etab['Departement'];
|
||||
$annonces->Tribunal_Code = $etab['Tribunal_Code'];
|
||||
$annonces->Tribunal = $iBodacc->getTribunalNom($etab['Tribunal_Code']);
|
||||
@ -2096,7 +2085,7 @@ class WsEntreprise extends WsScore
|
||||
|
||||
//Informations sur le bilan
|
||||
$bilansInfos = new RatiosBilansInfos();
|
||||
$bilansInfos->dateCloture = $tabBilan[$i]['DATE_CLOTURE'];
|
||||
$bilansInfos->dateCloture = $tabBilan[$i]['DATE_CLOTURE']; //@todo : date
|
||||
$bilansInfos->duree = $tabBilan[$i]['DUREE_MOIS'];
|
||||
$bilansInfos->devise = $tabBilan[$i]['MONNAIE'];
|
||||
$bilansInfos->typeBilan = $tabBilan[$i]['CONSOLIDE'];
|
||||
@ -2339,10 +2328,8 @@ class WsEntreprise extends WsScore
|
||||
$banque->libBanque = $libBanque;
|
||||
$banque->adresse1 = $adrBanque1;
|
||||
$banque->adresse2 = $adrBanque2;
|
||||
$banque->ville = $adrBanqueCP;
|
||||
$banque->cp = $adrBanqueCP;
|
||||
$banque->ville = $adrBanqueVille;
|
||||
|
||||
$tabRet[] = $banque;
|
||||
}
|
||||
} else {
|
||||
@ -2435,7 +2422,7 @@ class WsEntreprise extends WsScore
|
||||
$competence->Web = $tribunal['triWeb'];
|
||||
$competence->Mail = $tribunal['triMail'];
|
||||
$competence->Statut = $tribunal['triStatut'];
|
||||
$competence->DateCessation = $tribunal['triDateCessation'];
|
||||
$competence->DateCessation = $tribunal['triDateCessation']; //@todo : date
|
||||
$competence->Remarque = $tribunal['triCommentaire'];
|
||||
$tabRet[] = $competence;
|
||||
|
||||
@ -2516,7 +2503,7 @@ class WsEntreprise extends WsScore
|
||||
$competence->Web = $tribunal['triWeb'];
|
||||
$competence->Mail = $tribunal['triMail'];
|
||||
$competence->Statut = $tribunal['triStatut'];
|
||||
$competence->DateCessation = $tribunal['triDateCessation'];
|
||||
$competence->DateCessation = $tribunal['triDateCessation']; //@todo : date
|
||||
$competence->Remarque = $tribunal['triCommentaire'];
|
||||
if ($tribunal['triNumGreffe']*1>0)
|
||||
{
|
||||
@ -2550,13 +2537,13 @@ class WsEntreprise extends WsScore
|
||||
$competence->AdrComp = strtoupper($tribunal['adresseComp']);
|
||||
$competence->CP = $tribunal['cp'];
|
||||
$competence->Ville = strtoupper($tribunal['ville']);
|
||||
//'CodeInsee'=>$tribunal['CodeInsee'],
|
||||
//'CodeInsee'=>$tribunal['CodeInsee'],
|
||||
$competence->Tel = $tribunal['tel'];
|
||||
$competence->Fax = $tribunal['fax'];
|
||||
$competence->Web = $tribunal['web'];
|
||||
$competence->Mail = $tribunal['email'];
|
||||
$competence->Statut = $tribunal['Statut'];
|
||||
//'DateCessation'=>$tribunal['triDateCessation'],
|
||||
//'DateCessation'=>$tribunal['triDateCessation'],
|
||||
$competence->Remarque = $tribunal['contact'];
|
||||
//,,,,Prenom,,,Statut,,,cp,ville,tel,fax,email,web,contact
|
||||
$tabRet[] = $competence;
|
||||
@ -2578,16 +2565,15 @@ class WsEntreprise extends WsScore
|
||||
$competence->AdrComp = strtoupper($tribunal['adresseComp']);
|
||||
$competence->CP = $tribunal['cp'];
|
||||
$competence->Ville = strtoupper($tribunal['ville']);
|
||||
//'CodeInsee'=>$tribunal['CodeInsee'],
|
||||
//'CodeInsee'=>$tribunal['CodeInsee'],
|
||||
$competence->Tel = $tribunal['tel'];
|
||||
$competence->Fax = $tribunal['fax'];
|
||||
$competence->Web = $tribunal['web'];
|
||||
$competence->Mail = $tribunal['email'];
|
||||
$competence->Statut = $tribunal['Statut'];
|
||||
//'DateCessation'=>$tribunal['triDateCessation'],
|
||||
//'DateCessation'=>$tribunal['triDateCessation'],
|
||||
$competence->Remarque = $tribunal['contact'];
|
||||
//,,,,Prenom,,,Statut,,,cp,ville,tel,fax,email,web,contact
|
||||
|
||||
$tabRet[] = $competence;
|
||||
}
|
||||
}/** @todo A revoir Fin : Lier correctement les mandataires à un TI principal **/
|
||||
@ -2614,13 +2600,13 @@ class WsEntreprise extends WsScore
|
||||
$competence->AdrComp = strtoupper($tribunal['adresseComp']);
|
||||
$competence->CP = $adr['cp'];
|
||||
$competence->Ville = strtoupper($tribunal['ville']);
|
||||
//'CodeInsee'=>$tribunal['CodeInsee'],
|
||||
//'CodeInsee'=>$tribunal['CodeInsee'],
|
||||
$competence->Tel = $tribunal['tel'];
|
||||
$competence->Fax = $tribunal['fax'];
|
||||
$competence->Web = $tribunal['web'];
|
||||
$competence->Mail = $tribunal['email'];
|
||||
$competence->Statut = $tribunal['Statut'];
|
||||
//'DateCessation'=>$tribunal['triDateCessation'];
|
||||
//'DateCessation'=>$tribunal['triDateCessation'];
|
||||
$competence->Remarque = strtr($tribunal['contact'],
|
||||
array( '<br/>'=>', ', '<br>'=>', ',
|
||||
'<br />'=>', ',
|
||||
@ -2663,7 +2649,7 @@ class WsEntreprise extends WsScore
|
||||
$competence->Web = $tribunal['triWeb'];
|
||||
$competence->Mail = $tribunal['triMail'];
|
||||
$competence->Statut = $tribunal['triStatut'];
|
||||
$competence->DateCessation = $tribunal['triDateCessation'];
|
||||
$competence->DateCessation = $tribunal['triDateCessation']; //@todo : date
|
||||
$competence->Remarque = $remarque;
|
||||
$tabRet[] = $competence;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user