From 774c6d94aa507ee6f9ae7f6b1309f661d5ce2cd2 Mon Sep 17 00:00:00 2001 From: Liesbeth ter Schure Date: Tue, 16 Nov 2021 11:33:45 +0100 Subject: [PATCH 1/3] verwijzing naar folder voor handleidingen --- .gitignore | 1 + application/controllers/shared/Menu.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d138466..92f2a90 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,4 @@ docs/ public/tmp/ documents/compactsops/ +/.vscode diff --git a/application/controllers/shared/Menu.php b/application/controllers/shared/Menu.php index 052ced9..6e97fb7 100644 --- a/application/controllers/shared/Menu.php +++ b/application/controllers/shared/Menu.php @@ -118,7 +118,7 @@ class Menu extends MY_Controller{ $this->load->helper('download'); // $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); } function getsubmenu(){ From 7a9e36cbe1e2d846cd3fdb43b48b7ffe033de6e1 Mon Sep 17 00:00:00 2001 From: Monique Date: Thu, 25 Nov 2021 08:38:20 +0100 Subject: [PATCH 2/3] volgorde orgs --- application/models/shared/Organisaties_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/shared/Organisaties_model.php b/application/models/shared/Organisaties_model.php index c971cd1..21ae65a 100644 --- a/application/models/shared/Organisaties_model.php +++ b/application/models/shared/Organisaties_model.php @@ -263,7 +263,7 @@ class Organisaties_model extends MY_Model{ return $this->get_query_row(); } 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 JOIN tb_organisaties O2 ON O2.id = O1.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 O2.id <> O2.valtonder_id AND O1.actief = 1 - ORDER BY O1.naamkort "; + ORDER BY O2.naamkort, O1.naamkort "; return $this->get_query_result(); } From ba916e9ef19c2c4efbafc4f9e882a50f42c3c553 Mon Sep 17 00:00:00 2001 From: Monique Date: Thu, 9 Dec 2021 10:25:57 +0100 Subject: [PATCH 3/3] cluster scans pssend onderwijs --- application/core/MY_Controller.php | 3 ++- .../libraries/monpas/Hoofdstukkeuze.php | 27 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php index df47282..148a9f1 100644 --- a/application/core/MY_Controller.php +++ b/application/core/MY_Controller.php @@ -55,7 +55,8 @@ class MY_Controller extends CI_Controller{ // public $version = '1.17.70'; // bopropswop // public $version = '1.17.72'; // data2mysql fout // 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 $globProfielVersieID = 1; diff --git a/application/libraries/monpas/Hoofdstukkeuze.php b/application/libraries/monpas/Hoofdstukkeuze.php index 8b8c9ae..aca542c 100644 --- a/application/libraries/monpas/Hoofdstukkeuze.php +++ b/application/libraries/monpas/Hoofdstukkeuze.php @@ -43,7 +43,7 @@ class Hoofdstukkeuze $this->setInleiding(); - $this->checkModulenummer(); +// $this->checkModulenummer(); $this->checkClusterID(); @@ -111,26 +111,25 @@ class Hoofdstukkeuze /** * */ - 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->modulenr == 0) return; - return $this->setSchoolScores(); - -// else { -// //aanvullen databases lokaal & productie komen niet helemaal overeen lijkt het uitzoeken -// } - } +// 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->modulenr == 0) return; +// return $this->setSchoolScores(); +// +//// } +// } 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 == 2 || + if( $this->clusterid ==0|| + $this->clusterid == 2 || $this->clusterid == 3 || $this->clusterid == 5 || $this->clusterid == 8 || $this->clusterid == 13|| - $this->clusterid == 14) { + $this->clusterid == 14 || + $this->clusterid == 15 ) { $this->setSchoolScores();