Merge branch 'doctrine-mrncs' into develop
This commit is contained in:
commit
30351c395e
@ -3094,7 +3094,7 @@ class Metier_Insee_MInsee extends Metier_Insee_Table
|
|||||||
$tabRet['numGreffe'] = $etabG['NumGreffe'];
|
$tabRet['numGreffe'] = $etabG['NumGreffe'];
|
||||||
$tabRet['numRC'] = $etabG['NumRC2'];
|
$tabRet['numRC'] = $etabG['NumRC2'];
|
||||||
$tabRet['Enseigne'] = $etabG['Enseigne'];
|
$tabRet['Enseigne'] = $etabG['Enseigne'];
|
||||||
$iRncs = new Metier_Partenaires_MRncs($this->iDb);
|
$iRncs = new Metier_Partenaires_MRncs();
|
||||||
$tabRet['Tribunal'] = $iRncs->getCodeBodaccTribunal($etabG['NumGreffe']);
|
$tabRet['Tribunal'] = $iRncs->getCodeBodaccTribunal($etabG['NumGreffe']);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3334,7 +3334,7 @@ class Metier_Insee_MInsee extends Metier_Insee_Table
|
|||||||
|
|
||||||
$iGeffes = new Metier_Partenaires_MGreffes();
|
$iGeffes = new Metier_Partenaires_MGreffes();
|
||||||
$etabG = $iGeffes->getIdentite($siren);
|
$etabG = $iGeffes->getIdentite($siren);
|
||||||
$iRncs = new Metier_Partenaires_MRncs($this->iDb);
|
$iRncs = new Metier_Partenaires_MRncs();
|
||||||
|
|
||||||
if ($this->debugtime) {
|
if ($this->debugtime) {
|
||||||
$duree=round(microtime(1)-$tdeb, 3);
|
$duree=round(microtime(1)-$tdeb, 3);
|
||||||
|
@ -95,7 +95,7 @@ class Metier_Partenaires_MPrivileges
|
|||||||
$where.= " ORDER BY i.dateFraiche DESC, i.insType ASC, i.insDate ASC;";
|
$where.= " ORDER BY i.dateFraiche DESC, i.insType ASC, i.insDate ASC;";
|
||||||
$tables = "jo.greffes_privileges i";
|
$tables = "jo.greffes_privileges i";
|
||||||
|
|
||||||
$iRncs = new Metier_Partenaires_MRncs($this->iDb);
|
$iRncs = new Metier_Partenaires_MRncs();
|
||||||
$tabRet = array();
|
$tabRet = array();
|
||||||
$tabPriv = $this->iDb->select($tables, $fields, $where, true, MYSQL_ASSOC);
|
$tabPriv = $this->iDb->select($tables, $fields, $where, true, MYSQL_ASSOC);
|
||||||
if (count($tabPriv) > 0) {
|
if (count($tabPriv) > 0) {
|
||||||
@ -149,7 +149,7 @@ class Metier_Partenaires_MPrivileges
|
|||||||
*/
|
*/
|
||||||
public function getPrivilegesCumul($siren, $tabTypes=array('03', '04'))
|
public function getPrivilegesCumul($siren, $tabTypes=array('03', '04'))
|
||||||
{
|
{
|
||||||
$iRncs = new Metier_Partenaires_MRncs($this->iDb);
|
$iRncs = new Metier_Partenaires_MRncs();
|
||||||
$tabRet = array();
|
$tabRet = array();
|
||||||
$tabTmp = $this->getPrivilegesDetail($siren, $tabTypes);
|
$tabTmp = $this->getPrivilegesDetail($siren, $tabTypes);
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -928,7 +928,7 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
|
|||||||
/**
|
/**
|
||||||
* Différences INSEE/RNCS
|
* Différences INSEE/RNCS
|
||||||
*/
|
*/
|
||||||
$iRncs = new Metier_Partenaires_MRncs($iDb);
|
$iRncs = new Metier_Partenaires_MRncs();
|
||||||
$tabIdentiteRncs=$iRncs->getInfosEntrep($siren);
|
$tabIdentiteRncs=$iRncs->getInfosEntrep($siren);
|
||||||
$ACTIFRNCS = $tabIdentiteRncs['actif'];
|
$ACTIFRNCS = $tabIdentiteRncs['actif'];
|
||||||
$ACTIFINSEE = $tabIdentite['Actif'];
|
$ACTIFINSEE = $tabIdentite['Actif'];
|
||||||
|
@ -873,7 +873,7 @@ class Metier_Scoring_Base extends Metier_Scoring_Vars
|
|||||||
/**
|
/**
|
||||||
* Différences INSEE/RNCS
|
* Différences INSEE/RNCS
|
||||||
*/
|
*/
|
||||||
$iRncs = new Metier_Partenaires_MRncs($this->db);
|
$iRncs = new Metier_Partenaires_MRncs();
|
||||||
$tabIdentiteRncs = $iRncs->getInfosEntrep($siren);
|
$tabIdentiteRncs = $iRncs->getInfosEntrep($siren);
|
||||||
$this->ACTIFRNCS = $tabIdentiteRncs['actif'];
|
$this->ACTIFRNCS = $tabIdentiteRncs['actif'];
|
||||||
$this->ACTIFINSEE = $tabIdentite['Actif'];
|
$this->ACTIFINSEE = $tabIdentite['Actif'];
|
||||||
|
@ -294,7 +294,7 @@ class Entreprise extends Scores_Ws_Server
|
|||||||
|
|
||||||
$output = new AvisRncs();
|
$output = new AvisRncs();
|
||||||
$iDb = new Metier_Util_Db();
|
$iDb = new Metier_Util_Db();
|
||||||
$rncs = new Metier_Partenaires_MRncs($iDb);
|
$rncs = new Metier_Partenaires_MRncs();
|
||||||
|
|
||||||
//jo.etablissements => insee uniquement, rncs ?
|
//jo.etablissements => insee uniquement, rncs ?
|
||||||
|
|
||||||
|
@ -349,7 +349,7 @@ class Entreprise extends Scores_Ws_Server
|
|||||||
|
|
||||||
$output = new AvisRncs();
|
$output = new AvisRncs();
|
||||||
$iDb = new Metier_Util_Db();
|
$iDb = new Metier_Util_Db();
|
||||||
$rncs = new Metier_Partenaires_MRncs($iDb);
|
$rncs = new Metier_Partenaires_MRncs();
|
||||||
|
|
||||||
//jo.etablissements => insee uniquement, rncs ?
|
//jo.etablissements => insee uniquement, rncs ?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user