sopBobRopSwop en divmeter voor po2203 in compact sop

This commit is contained in:
Monique
2021-09-07 10:28:28 +02:00
parent 29b45411b4
commit 4c9eb6a4fd
49 changed files with 397 additions and 450 deletions
+13 -2
View File
@@ -49,14 +49,25 @@ class Groepen_model extends MY_Model{
return $this->get_query_row('aantal');
}
function getversiesmetleerlingen($orgid, $schooljaarnr, $schooltype, $module){
function getversiesmetleerlingengoedeversie($orgid, $schooljaarnr, $schooltype, $module){
$this->sql="SELECT SUM(totaantal) AS llnschool
FROM tb_groepen
WHERE organisatie_id ={$orgid}
AND schooljaarnr = {$schooljaarnr}
AND schooltype = '{$schooltype}'
AND module = {$module} ";
return $this->get_query_row('llnschool');
return $this->get_query_row("aantallln");
}
function getversiesmetleerlingen($orgid, $schooljaarnr, $schooltype, $module){
$this->sql="SELECT totaantal, niveau, schooljaarnr
FROM tb_groepen
WHERE organisatie_id ={$orgid}
AND schooljaarnr = {$schooljaarnr}
AND schooltype = '{$schooltype}'
AND module = {$module} ";
return $this->get_query_result();
}