Modification empreinte MSolvabilite
This commit is contained in:
parent
dfa32f9d4b
commit
c867f4b7e9
@ -2130,8 +2130,7 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
|
|||||||
$tabIdentite['DateCreaEn'],
|
$tabIdentite['DateCreaEn'],
|
||||||
$tabIdentite['DateCreaEt'],
|
$tabIdentite['DateCreaEt'],
|
||||||
'',
|
'',
|
||||||
$RECME,
|
$RECME
|
||||||
$iDb
|
|
||||||
);
|
);
|
||||||
$noteStructure=$isolv->getSolvabilite();
|
$noteStructure=$isolv->getSolvabilite();
|
||||||
$timer['solv']=microtime(true);
|
$timer['solv']=microtime(true);
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
class Metier_Scores_MSolvabilite
|
class Metier_Scores_MSolvabilite
|
||||||
{
|
{
|
||||||
protected $iDb;
|
|
||||||
private $naf;
|
private $naf;
|
||||||
private $trEff;
|
private $trEff;
|
||||||
private $dep;
|
private $dep;
|
||||||
@ -1039,14 +1038,8 @@ class Metier_Scores_MSolvabilite
|
|||||||
* @param number $recme
|
* @param number $recme
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function __construct($siren, $naf='', $trancheEff='', $effectifReel='', $depSiege_CodePosSiege='', $fj='', $capital='', $capitalDev='', $dateCreaEn='', $dateCreaSiege='', $singularite='', $recme=0, $db = null)
|
public function __construct($siren, $naf='', $trancheEff='', $effectifReel='', $depSiege_CodePosSiege='', $fj='', $capital='', $capitalDev='', $dateCreaEn='', $dateCreaSiege='', $singularite='', $recme=0)
|
||||||
{
|
{
|
||||||
if ($db === null) {
|
|
||||||
$this->iDb = new Metier_Util_Db();
|
|
||||||
} else {
|
|
||||||
$this->iDb = $db;
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->naf=$naf;
|
$this->naf=$naf;
|
||||||
$this->trEff=$trancheEff;
|
$this->trEff=$trancheEff;
|
||||||
if ($this->trEff=='NN' || $this->trEff=='00' || ($this->trEff*1)==0) {
|
if ($this->trEff=='NN' || $this->trEff=='00' || ($this->trEff*1)==0) {
|
||||||
|
@ -2073,9 +2073,7 @@ class Metier_Scoring_Base extends Metier_Scoring_Vars
|
|||||||
$tabIdentite['DateCreaEn'],
|
$tabIdentite['DateCreaEn'],
|
||||||
$tabIdentite['DateCreaEt'],
|
$tabIdentite['DateCreaEt'],
|
||||||
'',
|
'',
|
||||||
$this->RECME,
|
$this->RECME);
|
||||||
$this->db
|
|
||||||
);
|
|
||||||
$noteStructure = $isolv->getSolvabilite();
|
$noteStructure = $isolv->getSolvabilite();
|
||||||
$timer['solv'] = microtime(true);
|
$timer['solv'] = microtime(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user