Merge branch 'fouten/sop' into develop
This commit is contained in:
@@ -120,7 +120,7 @@ class Compacteversies
|
||||
}
|
||||
|
||||
private function setDivSchooltypes(){
|
||||
if(!isset($this->onderdeel->modulenr)) return;
|
||||
if($this->onderdeel->licentie =='F') return;
|
||||
switch($this->onderdeel->modulenr){
|
||||
case 1: $this->onderdeel->schooltype = 'Alle';
|
||||
break;
|
||||
@@ -147,6 +147,7 @@ class Compacteversies
|
||||
}
|
||||
|
||||
private function setDiversiteit(){
|
||||
if($this->onderdeel->licentie =='F') return;
|
||||
if($this->onderdeel->nummer != 1 && $this->onderdeel->nummer != 10) return;
|
||||
$module = $this->onderdeel->modulenr;
|
||||
if(isset($this->swvID) && $this->swvID == 150 && $this->schooljaar->schooljaarnr > 8 && $this->onderdeel->modulenr != 270) $module = 660;
|
||||
@@ -166,6 +167,7 @@ class Compacteversies
|
||||
}
|
||||
|
||||
private function setExtraOmvang(){
|
||||
|
||||
if($this->onderdeel->nummer != 3 || $this->onderdeel->licentie == 'F') return;
|
||||
$schooljaren = $this->CI->Aantalleerlingen_model->get_gevuldeschooljaren_Sop($this->schooljaarnr, $this->orglist);
|
||||
if($schooljaren && count($schooljaren) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user