Merge branch 'feature/clusterScans' into develop
# Conflicts: # application/core/MY_Controller.php
This commit is contained in:
@@ -118,7 +118,7 @@ class Menu extends MY_Controller{
|
|||||||
|
|
||||||
$this->load->helper('download');
|
$this->load->helper('download');
|
||||||
// $data = file_get_contents($this->rootpath ."/documents/".$handleiding->documentnaam);
|
// $data = file_get_contents($this->rootpath ."/documents/".$handleiding->documentnaam);
|
||||||
$data = file_get_contents("/home/mps/prod/documents/".$handleiding->documentnaam);//TW: rootpath is verkeerd door symlink
|
$data = file_get_contents("/home/monpas/prod/documents/".$handleiding->documentnaam);//TW: rootpath is verkeerd door symlink
|
||||||
force_download($handleiding->documentnaam, $data);
|
force_download($handleiding->documentnaam, $data);
|
||||||
}
|
}
|
||||||
function getsubmenu(){
|
function getsubmenu(){
|
||||||
|
|||||||
@@ -55,7 +55,8 @@ class MY_Controller extends CI_Controller{
|
|||||||
// public $version = '1.17.70'; // bopropswop
|
// public $version = '1.17.70'; // bopropswop
|
||||||
// public $version = '1.17.72'; // data2mysql fout
|
// public $version = '1.17.72'; // data2mysql fout
|
||||||
// public $version = '1.17.73'; // 0-waarden aantal tlvs in omvang extra ondersteuning
|
// public $version = '1.17.73'; // 0-waarden aantal tlvs in omvang extra ondersteuning
|
||||||
public $version = '1.17.75'; // mogelijkheid tot uitzetten extra ondersteuning in divmeters
|
// public $version = '1.17.75'; // mogelijkheid tot uitzetten extra ondersteuning in divmeters
|
||||||
|
public $version = '1.17.76'; // cluster scans passend onderwijs
|
||||||
|
|
||||||
public $partituurid;
|
public $partituurid;
|
||||||
public $globProfielVersieID = 1;
|
public $globProfielVersieID = 1;
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class Hoofdstukkeuze
|
|||||||
|
|
||||||
$this->setInleiding();
|
$this->setInleiding();
|
||||||
|
|
||||||
$this->checkModulenummer();
|
// $this->checkModulenummer();
|
||||||
|
|
||||||
$this->checkClusterID();
|
$this->checkClusterID();
|
||||||
|
|
||||||
@@ -111,26 +111,25 @@ class Hoofdstukkeuze
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private function checkModulenummer()//hoofstukken bij een instrument dat niet bij een cluster is ingedeeld
|
// private function checkModulenummer()//hoofstukken bij een instrument dat niet bij een cluster is ingedeeld
|
||||||
{
|
// {
|
||||||
if ($this->clusterid != 0 && $this->clusterid != 7 && $this->clusterid != 10 && $this->clusterid != 11) return;
|
// if ($this->clusterid != 0 && $this->clusterid != 7 && $this->clusterid != 10 && $this->clusterid != 11) return;
|
||||||
if ($this->modulenr == 0) return;
|
// if ($this->modulenr == 0) return;
|
||||||
return $this->setSchoolScores();
|
// return $this->setSchoolScores();
|
||||||
|
//
|
||||||
// else {
|
//// }
|
||||||
// //aanvullen databases lokaal & productie komen niet helemaal overeen lijkt het uitzoeken
|
// }
|
||||||
// }
|
|
||||||
}
|
|
||||||
private function checkClusterID(){//hoofdstukken bij een instrument dat tot een cluster behoort
|
private function checkClusterID(){//hoofdstukken bij een instrument dat tot een cluster behoort
|
||||||
if(!$this->clusterid) return;
|
|
||||||
if ($this->clusterid == 1 || $this->clusterid ==7 ) return;// (1)partituren (7) framwork monitoren, Niet in Sop
|
if ($this->clusterid == 1 || $this->clusterid ==7 ) return;// (1)partituren (7) framwork monitoren, Niet in Sop
|
||||||
|
|
||||||
if( $this->clusterid == 2 ||
|
if( $this->clusterid ==0||
|
||||||
|
$this->clusterid == 2 ||
|
||||||
$this->clusterid == 3 ||
|
$this->clusterid == 3 ||
|
||||||
$this->clusterid == 5 ||
|
$this->clusterid == 5 ||
|
||||||
$this->clusterid == 8 ||
|
$this->clusterid == 8 ||
|
||||||
$this->clusterid == 13||
|
$this->clusterid == 13||
|
||||||
$this->clusterid == 14) {
|
$this->clusterid == 14 ||
|
||||||
|
$this->clusterid == 15 ) {
|
||||||
|
|
||||||
$this->setSchoolScores();
|
$this->setSchoolScores();
|
||||||
|
|
||||||
|
|||||||
@@ -263,7 +263,7 @@ class Organisaties_model extends MY_Model{
|
|||||||
return $this->get_query_row();
|
return $this->get_query_row();
|
||||||
}
|
}
|
||||||
function getbgsonderswv($swvid){
|
function getbgsonderswv($swvid){
|
||||||
$this->sql="SELECT O1.id, O1.soort, O1.naam, O1.plaats, O1.actief
|
$this->sql="SELECT O1.id, O1.soort, O1.naam, O1.plaats, O1.actief, O2.naamkort AS kamer
|
||||||
FROM tb_organisaties O1
|
FROM tb_organisaties O1
|
||||||
JOIN tb_organisaties O2 ON O2.id = O1.valtonder_id
|
JOIN tb_organisaties O2 ON O2.id = O1.valtonder_id
|
||||||
JOIN tb_organisaties O3 ON O3.id = O2.valtonder_id
|
JOIN tb_organisaties O3 ON O3.id = O2.valtonder_id
|
||||||
@@ -271,7 +271,7 @@ class Organisaties_model extends MY_Model{
|
|||||||
AND O1.id <> O3.valtonder_id
|
AND O1.id <> O3.valtonder_id
|
||||||
AND O2.id <> O2.valtonder_id
|
AND O2.id <> O2.valtonder_id
|
||||||
AND O1.actief = 1
|
AND O1.actief = 1
|
||||||
ORDER BY O1.naamkort ";
|
ORDER BY O2.naamkort, O1.naamkort ";
|
||||||
return $this->get_query_result();
|
return $this->get_query_result();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user