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['DateCreaEt'],
|
||||
'',
|
||||
$RECME,
|
||||
$iDb
|
||||
$RECME
|
||||
);
|
||||
$noteStructure=$isolv->getSolvabilite();
|
||||
$timer['solv']=microtime(true);
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?php
|
||||
class Metier_Scores_MSolvabilite
|
||||
{
|
||||
protected $iDb;
|
||||
private $naf;
|
||||
private $trEff;
|
||||
private $dep;
|
||||
@ -1039,14 +1038,8 @@ class Metier_Scores_MSolvabilite
|
||||
* @param number $recme
|
||||
* @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->trEff=$trancheEff;
|
||||
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['DateCreaEt'],
|
||||
'',
|
||||
$this->RECME,
|
||||
$this->db
|
||||
);
|
||||
$this->RECME);
|
||||
$noteStructure = $isolv->getSolvabilite();
|
||||
$timer['solv'] = microtime(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user