Merge branch 'terugdraaienDatumbeperkingCS' into develop
This commit is contained in:
@@ -213,7 +213,7 @@ class Compacteversies
|
|||||||
if($this->onderdeel->type != "LIJST" && $this->onderdeel->type != "LIJSTBREED") return;
|
if($this->onderdeel->type != "LIJST" && $this->onderdeel->type != "LIJSTBREED") return;
|
||||||
$this->onderdeel->erZijnOrgVersies = 'F';
|
$this->onderdeel->erZijnOrgVersies = 'F';
|
||||||
$this->onderdeel->gegevens = 'F';
|
$this->onderdeel->gegevens = 'F';
|
||||||
$orgversies = $this->CI->Orgversies_model->getOrgversiesBijSOP($this->swvID, $this->onderdeel->modulenr, $this->schooljaar->eind);
|
$orgversies = $this->CI->Orgversies_model->getOrgversiesBijSOP($this->swvID, $this->onderdeel->modulenr);
|
||||||
if($orgversies){
|
if($orgversies){
|
||||||
$this->onderdeel->erZijnOrgVersies = 'T';
|
$this->onderdeel->erZijnOrgVersies = 'T';
|
||||||
|
|
||||||
@@ -223,7 +223,7 @@ class Compacteversies
|
|||||||
private function setGeopendeVersies(){
|
private function setGeopendeVersies(){
|
||||||
if($this->onderdeel->type != "LIJST" && $this->onderdeel->type != "LIJSTBREED") return;
|
if($this->onderdeel->type != "LIJST" && $this->onderdeel->type != "LIJSTBREED") return;
|
||||||
$this->onderdeel->geopendeversies = $this->CI->Filledversions_model->getfilledversions_bij_orglist(
|
$this->onderdeel->geopendeversies = $this->CI->Filledversions_model->getfilledversions_bij_orglist(
|
||||||
$this->orglist, $this->onderdeel->modulenr, $this->schooljaar->eind);
|
$this->orglist, $this->onderdeel->modulenr);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function loopGeopendeVersies(){
|
private function loopGeopendeVersies(){
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ class Filledversions_model extends MY_Model{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getfilledversions_bij_orglist($orglist, $modulenr, $schooljaareind){
|
function getfilledversions_bij_orglist($orglist, $modulenr){
|
||||||
$this->sql = "SELECT DISTINCT(FV.orgversie_id) as id, OV.organisatie_id, periodenummer, OV.actief, versie_id, V.naam,
|
$this->sql = "SELECT DISTINCT(FV.orgversie_id) as id, OV.organisatie_id, periodenummer, OV.actief, versie_id, V.naam,
|
||||||
OV.vorm, OV.scoretype, OV.score_omschrijving,
|
OV.vorm, OV.scoretype, OV.score_omschrijving,
|
||||||
DATE_FORMAT(geldigvanaf, '%d-%m-%Y') AS geldigvanaf,
|
DATE_FORMAT(geldigvanaf, '%d-%m-%Y') AS geldigvanaf,
|
||||||
@@ -93,8 +93,6 @@ class Filledversions_model extends MY_Model{
|
|||||||
JOIN tb_versies V ON V.id =OV.versie_id
|
JOIN tb_versies V ON V.id =OV.versie_id
|
||||||
WHERE FV.organisatie_id IN ({$orglist})
|
WHERE FV.organisatie_id IN ({$orglist})
|
||||||
AND V.modulenr = {$modulenr}
|
AND V.modulenr = {$modulenr}
|
||||||
AND OV.invullentm <= '{$schooljaareind}'
|
|
||||||
|
|
||||||
ORDER BY OV.actief DESC, OV.periodenummer DESC ";
|
ORDER BY OV.actief DESC, OV.periodenummer DESC ";
|
||||||
return $this->get_query_result();
|
return $this->get_query_result();
|
||||||
|
|
||||||
|
|||||||
@@ -187,15 +187,13 @@ class Orgversies_model extends MY_Model{
|
|||||||
return $this->get_query_result();
|
return $this->get_query_result();
|
||||||
}
|
}
|
||||||
|
|
||||||
function getOrgVersiesBijSop($swvid, $modulenr, $schooljaareind){
|
function getOrgVersiesBijSop($swvid, $modulenr){
|
||||||
$this->sql = "SELECT OV.id,V.naam
|
$this->sql = "SELECT OV.id,V.naam
|
||||||
FROM tb_orgversies OV
|
FROM tb_orgversies OV
|
||||||
JOIN tb_versies V ON V.id =OV.versie_id
|
JOIN tb_versies V ON V.id =OV.versie_id
|
||||||
JOIN tb_organisaties O ON OV.organisatie_id = O.id
|
JOIN tb_organisaties O ON OV.organisatie_id = O.id
|
||||||
WHERE (O.id = {$swvid} OR O.valtonder_id = {$swvid})
|
WHERE (O.id = {$swvid} OR O.valtonder_id = {$swvid})
|
||||||
AND V.modulenr = {$modulenr}
|
AND V.modulenr = {$modulenr}
|
||||||
AND OV.invullentm <='{$schooljaareind}'
|
|
||||||
|
|
||||||
";
|
";
|
||||||
return $this->get_query_result();
|
return $this->get_query_result();
|
||||||
|
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
min:0,
|
min:0,
|
||||||
max: 100,
|
max: 100,
|
||||||
y: 20,
|
y: 20,
|
||||||
title: false,
|
title: ' ',
|
||||||
labels:{
|
labels:{
|
||||||
skew3d: true,
|
skew3d: true,
|
||||||
style:{
|
style:{
|
||||||
@@ -230,7 +230,7 @@
|
|||||||
|
|
||||||
<div class="sopKaderTabel" >
|
<div class="sopKaderTabel" >
|
||||||
<?php if ($data['lijsten'][0]->scores){ ?>
|
<?php if ($data['lijsten'][0]->scores){ ?>
|
||||||
<table class="sopTabel" style="width:355px; " >
|
<table class="sopTabel" style="width:355px; margin-bottom: 0 " >
|
||||||
<thead >
|
<thead >
|
||||||
<tr style="">
|
<tr style="">
|
||||||
<th style="width: 20px; padding-left:3px; ">nr</th>
|
<th style="width: 20px; padding-left:3px; ">nr</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user