Correction sur getRapport
This commit is contained in:
parent
04083e39d5
commit
c67c79c78e
@ -1131,7 +1131,7 @@ class Entreprise extends WsScore
|
||||
}
|
||||
}
|
||||
if ($perm === false) {
|
||||
$this->sendError('9002');
|
||||
$this->sendError('0902');
|
||||
}
|
||||
|
||||
$tabRet = array();
|
||||
@ -2847,16 +2847,16 @@ class Entreprise extends WsScore
|
||||
$accesDist=true;
|
||||
$nivComment=2;
|
||||
if ($niveau==1){
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $accessDist, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $nivComment, $plus, $ref, $encours, $email);
|
||||
} elseif ($niveau==2) {
|
||||
$result->Identite = $this->getIdentite($siren, $id=0);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $accessDist, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Dirigeants = $this->getDirigeants($siren, false);
|
||||
$result->Liens = $this->getLiens($siren, true);
|
||||
$result->Ratios = $this->getRatios($siren, $page="rapport$niveau");
|
||||
} elseif ($niveau==3) {
|
||||
$result->Identite = $this->getIdentite($siren, $id=0);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $accessDist, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Dirigeants = $this->getDirigeants($siren, false);
|
||||
$result->Liens = $this->getLiens($siren, true);
|
||||
$result->Ratios = $this->getRatios($siren, $page="rapport$niveau");
|
||||
|
@ -1131,7 +1131,7 @@ class Entreprise extends WsScore
|
||||
}
|
||||
}
|
||||
if ($perm === false) {
|
||||
$this->sendError('9002');
|
||||
$this->sendError('0902');
|
||||
}
|
||||
|
||||
$tabRet = array();
|
||||
@ -2939,16 +2939,16 @@ class Entreprise extends WsScore
|
||||
$accesDist=true;
|
||||
$nivComment=2;
|
||||
if ($niveau==1){
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $accessDist, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $nivComment, $plus, $ref, $encours, $email);
|
||||
} elseif ($niveau==2) {
|
||||
$result->Identite = $this->getIdentite($siren, $id=0);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $accessDist, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Dirigeants = $this->getDirigeants($siren, false);
|
||||
$result->Liens = $this->getLiens($siren, true);
|
||||
$result->Ratios = $this->getRatios($siren, $page="rapport$niveau");
|
||||
} elseif ($niveau==3) {
|
||||
$result->Identite = $this->getIdentite($siren, $id=0);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $accessDist, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Dirigeants = $this->getDirigeants($siren, false);
|
||||
$result->Liens = $this->getLiens($siren, true);
|
||||
$result->Ratios = $this->getRatios($siren, $page="rapport$niveau");
|
||||
|
@ -1130,7 +1130,7 @@ class Entreprise extends WsScore
|
||||
}
|
||||
}
|
||||
if ($perm === false) {
|
||||
$this->sendError('9002');
|
||||
$this->sendError('0902');
|
||||
}
|
||||
|
||||
|
||||
@ -3005,16 +3005,16 @@ class Entreprise extends WsScore
|
||||
$accesDist=true;
|
||||
$nivComment=2;
|
||||
if ($niveau==1){
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $accessDist, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $nivComment, $plus, $ref, $encours, $email);
|
||||
} elseif ($niveau==2) {
|
||||
$result->Identite = $this->getIdentite($siren, $id=0);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $accessDist, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Dirigeants = $this->getDirigeants($siren, false);
|
||||
$result->Liens = $this->getLiens($siren, true);
|
||||
$result->Ratios = $this->getRatios($siren, $page="rapport$niveau");
|
||||
} elseif ($niveau==3) {
|
||||
$result->Identite = $this->getIdentite($siren, $id=0);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $accessDist, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Indiscore = $this->getIndiScore($siren, 0, $nivComment, $plus, $ref, $encours, $email);
|
||||
$result->Dirigeants = $this->getDirigeants($siren, false);
|
||||
$result->Liens = $this->getLiens($siren, true);
|
||||
$result->Ratios = $this->getRatios($siren, $page="rapport$niveau");
|
||||
|
Loading…
x
Reference in New Issue
Block a user