status wat betreft invullen lijsten
This commit is contained in:
@@ -96,6 +96,10 @@ class Schoolafbeeldingen {
|
||||
return $this->adviezen;
|
||||
}
|
||||
|
||||
public function getSomscore(){
|
||||
return $this->somscore;
|
||||
}
|
||||
|
||||
private function setScores(){
|
||||
$this->scores = $this->schoolscores->getScores();
|
||||
}
|
||||
|
||||
@@ -200,12 +200,13 @@ class Lijsten
|
||||
private function setSchoolScores(){
|
||||
if ($this->soort != 4 || $this->lijst->vorm != 1) return;
|
||||
$this->schoolScores = new Schoolscores($this->lijst->orgversieid, $this->orgid);
|
||||
|
||||
if($this->schoolScores) {
|
||||
$this->metingen = 1;
|
||||
$this->aantalorgs = 1;
|
||||
$this->schoolAfbeeldingen = new Schoolafbeeldingen($this->schoolScores, $this->modulenr, $this->lijst->orgversieid,
|
||||
$this->clusterid, $this->orgid);
|
||||
$this->metingen = 0;
|
||||
$this->aantalorgs = 1;
|
||||
$somscore = $this->schoolAfbeeldingen->getSomscore();
|
||||
if($somscore > 0) $this->metingen = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -301,7 +302,8 @@ class Lijsten
|
||||
break;
|
||||
case 4: if(empty($this->schoolScores) ||empty($this->gemiddeldeScores) ) return;
|
||||
if(count((array) $this->schoolScores) > 0) {
|
||||
$this->lijst->metingen = 1;
|
||||
$somscore = $this->schoolAfbeeldingen->getSomscore();
|
||||
if($somscore > 0) $this->lijst->metingen = 1;
|
||||
$this->lijst->aantalorgs = 1;
|
||||
}
|
||||
if(count((array)$this->gemiddeldeScores)> 0){
|
||||
|
||||
Reference in New Issue
Block a user