Merge
This commit is contained in:
commit
3e8367bad4
@ -37,7 +37,7 @@ profil.db.jo.params.dbname=jo
|
||||
profil.db.jo.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
profil.db.metier.adapter=mysqli
|
||||
profil.db.metier.params.host="p:195.154.170.169:53336"
|
||||
profil.db.metier.params.host="195.154.170.169:53336"
|
||||
profil.db.metier.params.username=wsuser
|
||||
profil.db.metier.params.password=wspass2012
|
||||
profil.db.metier.params.dbname=jo
|
||||
|
@ -876,8 +876,9 @@ function situationJuridiqueData($siren, $nic, $values = false)
|
||||
$tabData['situationParution']='';
|
||||
$tabData['situationDernCode']='';
|
||||
$tabData['situationDernEven']='';
|
||||
$iInsee = new MInsee();
|
||||
$iDb = new WDB();
|
||||
foreach ($tabTmp as $sit) {
|
||||
$iInsee = new MInsee();
|
||||
$tmp = $iInsee->getAnnoncesLegales($siren, 0, $sit);
|
||||
if (count($tmp)>0) {
|
||||
$tmp=$tmp[0];
|
||||
@ -889,7 +890,6 @@ function situationJuridiqueData($siren, $nic, $values = false)
|
||||
}
|
||||
}
|
||||
if ($tabData['situationJuridique']=='NC') {
|
||||
$iDb = new WDB();
|
||||
$rep = $iDb->select('rncs_entrep', 'actif, dateRad', "siren='".$siren."'", false, MYSQL_ASSOC);
|
||||
$entrep = $rep[0];
|
||||
if (isset($entrep['actif']) && $entrep['actif']*1==0){
|
||||
|
Loading…
Reference in New Issue
Block a user