diff --git a/application/libraries/monpas/compactsop/Compactepaginas.php b/application/libraries/monpas/compactsop/Compactepaginas.php
index e30dd34..ea6bc68 100644
--- a/application/libraries/monpas/compactsop/Compactepaginas.php
+++ b/application/libraries/monpas/compactsop/Compactepaginas.php
@@ -81,7 +81,7 @@ class Compactepaginas
private function setDivBreedte(){
if (!$this->onderdeel['onderdeelnr']) return;
- if($this->onderdeel['onderdeelnr'] != 1 || $this->divBreed== 'T') return;
+ if($this->onderdeel['onderdeelnr'] != 1 || $this->onderdeel['onderdeelnr'] != 10 || $this->divBreed== 'T') return;
$aantalGroepen = count($this->onderdeel['data']['data']['groepen']);
if($aantalGroepen > 8){
$this->divBreed = 'T';
diff --git a/application/libraries/monpas/compactsop/Compacteversies.php b/application/libraries/monpas/compactsop/Compacteversies.php
index ba13a7c..4497380 100644
--- a/application/libraries/monpas/compactsop/Compacteversies.php
+++ b/application/libraries/monpas/compactsop/Compacteversies.php
@@ -152,12 +152,11 @@ class Compacteversies
private function setDiversiteit(){
if($this->onderdeel->nummer != 1 && $this->onderdeel->nummer != 10) return;
- $module = 2;
- if(isset($this->swvID) && $this->swvID == 150 && $this->schooljaar->schooljaarnr > 8) $module = 660;
- $this->aantallln = $this->CI->Groepen_model->getversiesmetleerlingen(
+ $module = $this->onderdeel->modulenr;
+ if(isset($this->swvID) && $this->swvID == 150 && $this->schooljaar->schooljaarnr > 8 && $this->onderdeel->modulenr != 270) $module = 660;
+ $this->aantallln = $this->CI->Groepen_model->getversiesmetleerlingengoedeversie(
$this->CI->globorgid, $this->schooljaarnr, $this->onderdeel->schooltype, $module);
-
if(isset($this->aantallln)){
if ($this->aantallln > 0) {
$this->onderdeel->groepen = $this->CI->Groepen_model->get_AantalGroepen($this->schooljaarnr, $this->CI->globorgid, $module);
diff --git a/application/models/monpas/Groepen_model.php b/application/models/monpas/Groepen_model.php
index 2b1f6c8..c075e18 100644
--- a/application/models/monpas/Groepen_model.php
+++ b/application/models/monpas/Groepen_model.php
@@ -45,12 +45,12 @@ class Groepen_model extends MY_Model{
FROM tb_groepen
WHERE organisatie_id = {$orgid}
AND schooljaarnr = {$schooljaarnr}
- AND module = {$module}";
+ AND module = {$module} ";
return $this->get_query_row('aantal');
}
function getversiesmetleerlingengoedeversie($orgid, $schooljaarnr, $schooltype, $module){
- $this->sql="SELECT SUM(totaantal) AS llnschool
+ $this->sql="SELECT SUM(totaantal) AS aantallln
FROM tb_groepen
WHERE organisatie_id ={$orgid}
AND schooljaarnr = {$schooljaarnr}
diff --git a/application/views/monpas/pages/sophome.php b/application/views/monpas/pages/sophome.php
index 1d526d5..2c61624 100644
--- a/application/views/monpas/pages/sophome.php
+++ b/application/views/monpas/pages/sophome.php
@@ -19,14 +19,17 @@
(gerapporteerd) in de vorm van beschrijvingen, grafieken en overzichten die u weergeeft in een
.
+
Het kan op verschillende manieren worden gepresenteerd, in de vorm van een: