orgversie swv
This commit is contained in:
@@ -272,11 +272,14 @@ class Streefcijfers extends MY_Controller{
|
||||
}
|
||||
}
|
||||
|
||||
$ambitie = $this->Ambities_model->mh_get_ambities($module, $this->globorgid, $this->globorgid);
|
||||
if($ambitie) $ambities = array_merge($ambities,$ambitie);
|
||||
else{
|
||||
$standaardSWVNodig = true;
|
||||
$orgversie = $this->Orgversies_model->getOrgVersie($this->globorgid, $module);
|
||||
$orgversie = $this->Orgversies_model->getOrgVersie($this->globorgid, $module);
|
||||
if($orgversie) {
|
||||
$ambitie = $this->Ambities_model->mh_get_ambities($module, $this->globorgid, $orgversie->orgversieID);
|
||||
if ($ambitie) $ambities = array_merge($ambities, $ambitie);
|
||||
else {
|
||||
$standaardSWVNodig = true;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -383,6 +386,7 @@ class Streefcijfers extends MY_Controller{
|
||||
if (!$this->userid) die;
|
||||
|
||||
$orgversieid = $this->clean_input("orgversieid");
|
||||
$id = false;
|
||||
|
||||
if($this->super == false) {
|
||||
$result = $this->Autorisatienivos_model->checkmanage($this->userid, $this->globorgid);
|
||||
|
||||
Reference in New Issue
Block a user