nieuwe versie

This commit is contained in:
Monique
2021-07-13 12:53:03 +02:00
parent 20fb7267a8
commit 444829340a
36 changed files with 655 additions and 1123 deletions
@@ -80,7 +80,7 @@ class Compactsop extends MY_Controller{
function getOnderdelenEnVersies(){
if (!$this->userid) die;
$schooljaar = $this->uri->segment(4);
$compacteVersies = new CompacteVersies($schooljaar);
$compacteVersies = new Compacteversies($schooljaar);
$onderdelen = $compacteVersies->getOnderdelen();
echo json_encode($onderdelen);
@@ -133,10 +133,10 @@ class Compactsop extends MY_Controller{
$onderdelen = $this->input->post('onderdelen');
$omvangjaren = $this->clean_input('jaren');
$compact = new CompacteOnderdelen($schooljaarnr, $onderdelen, $omvangjaren);
$compact = new Compacteonderdelen($schooljaarnr, $onderdelen, $omvangjaren);
$compacteonderdelen = $compact->getCompacteOnderdelen();
$schoolID = $this->globorgid;
$html = (new CompactePaginas($compacteonderdelen))->getHtml();
$html = (new Compactepaginas($compacteonderdelen))->getHtml();
file_put_contents(MYROOTPATH.'public/tmp/temp'.$schoolID.'.html', $html);
@@ -193,7 +193,7 @@ class Rapijkpunten extends MY_Controller{
$orgid = $this->uri->segment(4);
$module = $this->session->userdata('module');
$series = (new VergelijkbareVersies($orgid, $module))->getSeries();
$series = (new Vergelijkbareversies($orgid, $module))->getSeries();
echo json_encode(['series' =>$series]);
}
@@ -298,7 +298,7 @@ class Rapijkpunten extends MY_Controller{
if (!$orgid || !$orgversies || !$orguserid) return;
$aantal = count($orgversies);
$userLijsten = new UserLijsten($orguserid, $orgid, $orgversies);
$userLijsten = new Userlijsten($orguserid, $orgid, $orgversies);
$lijsten = $userLijsten->getLijsten();
$nieuwsteversie = $userLijsten->getNieuwsteVersie();
+5 -5
View File
@@ -189,7 +189,7 @@ class Sop extends MY_Controller{
// function getSopsEnLabels(){
// $sopid = 0;
// $sopkeuze = (new SopKeuze($sopid));
// $sopkeuze = (new Sopkeuze($sopid));
// $sops = $sopkeuze->getSops();
// $labels = $sopkeuze->getLabels();
// $soplabels = $sopkeuze->getHoofdstukLabels();
@@ -235,7 +235,7 @@ class Sop extends MY_Controller{
// }
// if($modulenr) {
// if($chapterid == 50 || $chapterid == 53) {
// $schooljaarversies = new SchooljaarVersies($chapterid, $profielid, $modulenr);
// $schooljaarversies = new Schooljaarversies($chapterid, $profielid, $modulenr);
// $filledversies = $schooljaarversies->getFilledversies();
// }
// }
@@ -263,7 +263,7 @@ class Sop extends MY_Controller{
array("sysnr" => $modulenr), "versietype");
if ($orgversietype === '1') {
$schooljaarVersies = new SchooljaarVersies($chapterid, $profielid, $modulenr);
$schooljaarVersies = new Schooljaarversies($chapterid, $profielid, $modulenr);
$filledversies = $schooljaarVersies->getFilledversies();
$orgversieid = $schooljaarVersies->getSchooljaarid();
$sopaanwezig = $schooljaarVersies->getSopAanwezig();
@@ -314,7 +314,7 @@ class Sop extends MY_Controller{
function getLabels(){
$sopid = $this->uri->segment(4);
$sopkeuze = (new SopKeuze($sopid));
$sopkeuze = (new Sopkeuze($sopid));
$labels = $sopkeuze->getLabels();
$soplabels = $sopkeuze->getHoofdstukLabels();
$aantal = count($soplabels);
@@ -335,7 +335,7 @@ class Sop extends MY_Controller{
$sopid = $this->clean_input("sopid"); // selectedprofielid
$sopinhoudid = $this->clean_input("sopinhoudid");
$richting = $this->clean_input("richting");
$sopkeuze = (new SopKeuze($sopid));
$sopkeuze = (new Sopkeuze($sopid));
$hfstlabels = $sopkeuze->getHoofdstukLabels();
if($richting === 'omhoog') $indexwaarde = -1;
+10 -8
View File
@@ -87,15 +87,17 @@ class Sopoud extends MY_Controller{
function Getversies($profielid,$chapterid){
$versies = [];
$hoofdstuk = $this->Hoofdstukken_model->get_record_by_id($chapterid);
if ($hoofdstuk->module == 0 ) return $versies;
$module = $this->Modules_model->get_record_by_id($hoofdstuk->module);
if ($module->versietype == 1) {
$versies = $this->getschooljaarversies($profielid, $chapterid);
}
if ($module->versietype == 2) {
$versies = $this->getlijstversies($profielid, $module->sysnr, $chapterid);
} ;
$module = $this->Modules_model->get_record_by_id( $hoofdstuk->module);
if($module){
if (intval($module->versietype) == 1) {
$versies = $this->getschooljaarversies($profielid, $chapterid);
}
if (intval($module->versietype) == 2) {
$versies = $this->getlijstversies($profielid, $module->sysnr, $chapterid);
} ;
}
return $versies;
}
+2 -2
View File
@@ -240,8 +240,8 @@ class Portal extends MY_Controller {
private function arrayinArray($knipArray, $invoegArray, $var1, $var2) {
$lengte = count($knipArray);
$breekpunt = "";
$eindpunt = "";
$breekpunt = 0;
$eindpunt = 0;
for ($i = 0; $i < $lengte; $i++) {
if ($knipArray[$i]->id == $var1 && $knipArray[$i]->naam == $var2) {
@@ -1,6 +1,6 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class DiversiteitAfbeeldingen {
class Diversiteitafbeeldingen {
private $CI;
private $normaantallen;
@@ -1,6 +1,6 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class GemiddeldenAfbeeldingen {
class Gemiddeldenafbeeldingen {
private $CI;
private $swvid;
@@ -37,7 +37,7 @@ class GemiddeldenAfbeeldingen {
private $gemiddeldenafbeeldingen;
public function __construct(GemiddeldeScores $gemiddeldescores, $modulenr, $orgversieid, $clusterid, $orgid){
public function __construct(Gemiddeldescores $gemiddeldescores, $modulenr, $orgversieid, $clusterid, $orgid){
$this->CI = & get_instance();
$this->gemiddeldescores = $gemiddeldescores;
$this->modulenr = $modulenr;
@@ -296,7 +296,7 @@ class GemiddeldenAfbeeldingen {
{
$this->ijkpunt->wens = 3;
if (isset($this->wensen) && $this->wensen[$index] ) {
if (isset($this->wensen) && isset($this->wensen[$index]) ) {
$this->ijkpunt->wens = $this->wensen[$index]->wens;
}
}
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class GemiddeldeScores
class Gemiddeldescores
{
private $CI;
private $ijkpunten;
+2 -2
View File
@@ -66,7 +66,7 @@ class Hoofdstuk
private function setHoofdstukKeuze(){
$hoofdstukkeuze =
new HoofdstukKeuze($this->chapterid, $this->orgversieid);
new Hoofdstukkeuze($this->chapterid, $this->orgversieid);
$this->hoofdstukkeuze = $hoofdstukkeuze->getHoofdstukKeuze();
}
@@ -87,7 +87,7 @@ class Hoofdstuk
private function setSopKeuze(){
$this->sopkeuze = new SopKeuze($this->profielid);
$this->sopkeuze = new Sopkeuze($this->profielid);
}
private function setLabels(){
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class HoofdstukKeuze
class Hoofdstukkeuze
{
private $modulenr;
private $modulenaam;
@@ -174,9 +174,9 @@ class HoofdstukKeuze
private function setInspectieOordelen()
{
$inspectieOordelen =
(new InspectieOordelen($this->orgversieid, $this->orgid, $this->clusterid))->getInspectieOordelen();
(new Inspectieoordelen($this->orgversieid, $this->orgid, $this->clusterid))->getInspectieOordelen();
$inspectieAfbeeldingen =
(new InspectieAfbeeldingen($inspectieOordelen, $this->modulenr, $this->orgversieid, $this->orgid))
(new Inspectieafbeeldingen($inspectieOordelen, $this->modulenr, $this->orgversieid, $this->orgid))
->getInspectieAfbeeldingen();
$this->data = $inspectieAfbeeldingen;
$this->soort = 'INSPECTIE';
@@ -186,7 +186,7 @@ class HoofdstukKeuze
$diversiteit
= (new Diversiteit($this->orgversieid, $this->orgid, $this->modulenr))->getDiversiteit();
$diversiteitAfbeeldingen
= (new DiversiteitAfbeeldingen($diversiteit, $this->modulenr, $this->orgversieid))->getDiversiteitAfbeeldingen();
= (new Diversiteitafbeeldingen($diversiteit, $this->modulenr, $this->orgversieid))->getDiversiteitAfbeeldingen();
$this->data = $diversiteitAfbeeldingen;
if($this->modulenr == 2 || $this->modulenr == 660)
$this->soort = 'DIVERSITEIT';
@@ -1,6 +1,6 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class InspectieAfbeeldingen {
class Inspectieafbeeldingen {
private $CI;
private $oordelen;
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class InspectieOordelen
class Inspectieoordelen
{
private $CI;
private $oordelen;
@@ -1,6 +1,6 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class SchoolAfbeeldingen {
class Schoolafbeeldingen {
private $CI;
private $swvid;
@@ -11,7 +11,7 @@ class SchoolAfbeeldingen {
private $wensen;
private $wens;
private $ijkpunten;
private $aantalY;
private $aantalY = 0;
private $labels;
private $kleuren;
private $kleurcodes;
@@ -24,8 +24,9 @@ class SchoolAfbeeldingen {
private $rij = 708;
private $standaardorg = 250;
private $aantal = 15;
private $kolombreedte;
private $orgbreedte;
private $kolombreedte = 0;
private $kolomInt = 0;
private $orgbreedte = 0;
private $aantalscores = 0;
private $ijkpuntenok = 0;
private $welkehoogste = 0;
@@ -336,11 +337,13 @@ class SchoolAfbeeldingen {
private function setKolombreedte(){
if($this->aantalY > 1) $this->aantal = $this->aantalY;
$kolombreedte = floor(($this->rij - $this->standaardorg)/$this->aantal);
$this->kolomInt = $kolombreedte;
$this->kolombreedte = $kolombreedte . 'px';
}
private function setOrgbreedte(){
if($this->aantalY > 1) $this->aantal = $this->aantalY;
$orgbreedte = floor($this->rij - ($this->aantal * $this->kolombreedte));
if($this->aantalY > 1){
$this->aantal = $this->aantalY;}
$orgbreedte = floor($this->rij - ($this->aantal * $this->kolomInt));
$this->orgbreedte = $orgbreedte . 'px';
}
@@ -1,7 +1,7 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class
SchooljaarVersies
Schooljaarversies
{
private $CI;
private $chapterid;
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class SchoolScores
class Schoolscores
{
private $CI;
private $ijkpunten;
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class SopKeuze
class Sopkeuze
{
private $orgid;
private $sops;
+1 -1
View File
@@ -58,7 +58,7 @@ class Tabellen
if( $this->orgversie == "false"){
$this->orgversie = $this->sopinhoud->orgversieid;};
$hoofdstukkeuze =
new HoofdstukKeuze($this->sopinhoud->chapter_id, $this->orgversie);
new Hoofdstukkeuze($this->sopinhoud->chapter_id, $this->orgversie);
$this->hoofdstukkeuze = $hoofdstukkeuze->getHoofdstukKeuze();
}
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class CompacteOnderdelen
class Compacteonderdelen
{
private $CI;
private $onderdeel;
@@ -209,7 +209,7 @@ class CompacteOnderdelen
{
$divcompact = New Diversiteit($this->schooljaarnr, $this->CI->globorgid, $this->onderdeel['modulenr']);
$divdata = $divcompact->getDiversiteit();
$divafbeelding = New DiversiteitAfbeeldingen($divdata, $this->onderdeel['modulenr'], $this->schooljaarnr);
$divafbeelding = New Diversiteitafbeeldingen($divdata, $this->onderdeel['modulenr'], $this->schooljaarnr);
$this->diversiteit = $divafbeelding->getDiversiteitAfbeeldingen();
$data = [
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class CompactePaginas
class Compactepaginas
{
private $CI;
private $schooljaarnr;
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class CompacteVersies
class Compacteversies
{
private $CI;
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class BestuurScores
class Bestuurscores
{
private $CI;
private $organisatie;
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class IndividueleScores
class Individuelescores
{
private $CI;
private $userid;
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class KamerScores
class Kamerscores
{
private $CI;
private $organisatie;
@@ -212,19 +212,19 @@ class Lijsten
private function setSchoolScores(){
if ($this->soort != 4 || $this->lijst->vorm != 1) return;
$this->schoolScores = new SchoolScores($this->lijst->orgversieid, $this->orgid);
$this->schoolScores = new Schoolscores($this->lijst->orgversieid, $this->orgid);
if($this->schoolScores) {
$this->schoolAfbeeldingen = new SchoolAfbeeldingen($this->schoolScores, $this->modulenr, $this->lijst->orgversieid,
$this->schoolAfbeeldingen = new Schoolafbeeldingen($this->schoolScores, $this->modulenr, $this->lijst->orgversieid,
$this->clusterid, $this->orgid);
}
}
private function setIndividueleScores(){
if($this->soort !=4 || $this->lijst->vorm != 2) return;
$this->gemiddeldeScores = new GemiddeldeScores($this->lijst->orgversieid, $this->orgid);
$this->gemiddeldeScores = new Gemiddeldescores($this->lijst->orgversieid, $this->orgid);
if($this->gemiddeldeScores){
$this->gemiddeldenAfbeeldingen = new GemiddeldenAfbeeldingen($this->gemiddeldeScores, $this->modulenr, $this->lijst->orgversieid,
$this->gemiddeldenAfbeeldingen = new Gemiddeldenafbeeldingen($this->gemiddeldeScores, $this->modulenr, $this->lijst->orgversieid,
$this->clusterid, $this->orgid);
}
}
@@ -232,7 +232,7 @@ class Lijsten
private function setBestuurScores()
{
if ($this->soort != 3) return;
$this->bestuurScores = new BestuurScores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm);
$this->bestuurScores = new Bestuurscores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm);
if ($this->bestuurScores) {
$this->bestuurAfbeeldingen = new Afbeeldingen($this->bestuurScores, $this->modulenr, $this->lijst->orgversieid,
$this->clusterid, $this->orgid, $this->zprocent);
@@ -241,7 +241,7 @@ class Lijsten
private function setKamerScores(){
if($this->soort == 1) return;
$this->kamerScores = new KamerScores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm);
$this->kamerScores = new Kamerscores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm);
if($this->kamerScores) {
$this->kamerAfbeeldingen = new Afbeeldingen($this->kamerScores, $this->modulenr, $this->lijst->orgversieid,
$this->clusterid, $this->orgid, $this->zprocent);
@@ -250,7 +250,7 @@ class Lijsten
private function setSWVScores(){
if ($this->soort == 3 || $this->soort == 4 ) return;
$this->swvScores = new SWVScores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm);
$this->swvScores = new Swvscores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm);
if($this->swvScores) {
$this->swvAfbeeldingen = new Afbeeldingen($this->swvScores, $this->modulenr, $this->lijst->orgversieid,
$this->clusterid, $this->orgid, $this->zprocent);
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class SWVScores
class Swvscores
{
private $CI;
private $organisatie;
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class UserLijsten
class Userlijsten
{
private $CI;
private $modulenr;
@@ -102,14 +102,14 @@ class UserLijsten
}
private function setIndividueleAfbeeldingen(){
$this->individueleScores = new IndividueleScores($this->orgversieid, $this->orguserid, $this->orgid);
$this->individueleScores = new Individuelescores($this->orgversieid, $this->orguserid, $this->orgid);
$this->individueleAfbeeldingen = new Afbeeldingen($this->individueleScores, $this->modulenr, $this->orgversieid, $this->clusterid, $this->orgid, $this->zprocent);
}
private function setKamerAfbeeldingen(){
$vorm = 2;
$this->kamerScores = new KamerScores($this->orgversieid, $this->orgid, $vorm);
$this->kamerScores = new Kamerscores($this->orgversieid, $this->orgid, $vorm);
if($this->kamerScores){
$this->kamerAfbeeldingen = new Afbeeldingen($this->kamerScores, $this->modulenr, $this->orgversieid,
$this->clusterid, $this->orgid, $this->zprocent);
@@ -125,9 +125,9 @@ class UserLijsten
}
private function setGemiddeldenAfbeeldingen(){
$this->gemiddeldeScores= new GemiddeldeScores($this->orgversieid, $this->orgid);
$this->gemiddeldeScores= new Gemiddeldescores($this->orgversieid, $this->orgid);
if($this->gemiddeldeScores){
$this->gemiddeldenAfbeeldingen = new GemiddeldenAfbeeldingen($this->gemiddeldeScores, $this->modulenr, $this->orgversieid, $this->clusterid,$this->orgid);
$this->gemiddeldenAfbeeldingen = new Gemiddeldenafbeeldingen($this->gemiddeldeScores, $this->modulenr, $this->orgversieid, $this->clusterid,$this->orgid);
}
}
@@ -1,6 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class VergelijkbareVersies
class Vergelijkbareversies
{
private $CI;
private $soort;
@@ -170,7 +170,7 @@ class Maakinhoudnieuw_model extends MY_Model{
}
function createData($chapterID, $orgversieID, $vergelijkingen){
$hoofdstukkeuze = new HoofdstukKeuze($chapterID, $orgversieID, $vergelijkingen);
$hoofdstukkeuze = new Hoofdstukkeuze($chapterID, $orgversieID, $vergelijkingen);
return $hoofdstukkeuze->getHoofdstukKeuze();
}
@@ -164,7 +164,7 @@ class Sopinhouden_model extends MY_Model{
// $content = '';
$versie = "";
$result = $this->getOntwikkelagenda($profielid, 4,$targetversieid);
if($result) {
if($result ) {
$versie = $result['targetversie'];
}
$imageoa = $this->Phantom_model->create_img($result['tabel1'], 'test', FALSE, FALSE, array(650, 300));
@@ -287,7 +287,9 @@ class Sopinhouden_model extends MY_Model{
$schooljaar = $this->Schooljaren_model->get_record_by_id($targetjaar);
$combifactoren = $this->Combifactoren_model->getfactoren($swvid);
$schoolcombifactor = 0;
$colspan = 2;
if ($groepen){
$colspan = $colspan + count($groepen);
foreach($groepen as $groep){
$groepasarray = explode(';',$groep->niveau);
$aantallnschool = $groep->totaantal + $aantallnschool;
@@ -337,7 +339,8 @@ class Sopinhouden_model extends MY_Model{
};
}
$data = array('normaantallen' =>$normaantallen,
'groepen' =>$groepen,
'colspan' =>$colspan,
'groepen' =>$groepen,
'osvormen' =>$osvormen,
'schooljaar' => $schooljaar->naam,
'totdiversiteit' => $totdiversiteit,
@@ -729,8 +732,9 @@ class Sopinhouden_model extends MY_Model{
}
if (!$targetversieid){
return array( 'tabel1' => '',
'tabel2' => '');
return array( 'tabel1' => '',
'tabel2' => '',
'targetversie' => '');
}
$gewenst = $this->Scores_model->getgewenst($orgid, $targetversieid);
$i =0;
@@ -1,6 +1,6 @@
<p>Schooljaar <?=$schooljaar?></p>
<?php if (isset($groepen)){ ?>
<?php if (isset($groepen) && $groepen){ ?>
<table style="table-layout: fixed; border-collapse:collapse; font-size:0.7em"
id="tablediversiteit2">
<tr style="background-color:#6F0B3D ; color:#ffffff;" >
@@ -16,7 +16,7 @@
<tr>
<td> Totaal aantal leerlingen</td>
<?php $schooltotaal = 0;
if ($groepen){
if (($groepen)){
foreach($groepen as $groep){
$schooltotaal = $schooltotaal + $groep->totaantal; ?>
<td style="text-align:right"><?=$groep->totaantal?></td>
@@ -26,13 +26,14 @@
<tr style="background-color: #f2f2f2">
<td colspan=<?php echo count($groepen) + 2; ?> >
<td colspan=<?php
echo $colspan; ?> >
<i>Uitsplitsing onderwijsvraag per groep</i>
</td>
</tr>
<tr style="background-color:#6F0B3D ; color:#ffffff;">
<td colspan=<?php echo count($groepen) + 2; ?> >Basisondersteuning</td>
<td colspan=<?php echo $colspan ?> >Basisondersteuning</td>
</tr>
<tr>
@@ -49,7 +50,7 @@
</tr>
<tr style="background-color:#6F0B3D ; color:#ffffff;">
<td colspan=<?php echo count($groepen) + 2; ?>>Basisondersteuning-plus</td>
<td colspan=<?php echo $colspan; ?>>Basisondersteuning-plus</td>
</tr>
<?php if($osvormen){
@@ -79,7 +80,7 @@
<td style= "text-align: right; "><?=$schoolsom2?></td>
</tr>
<tr style="background-color:#6F0B3D ; color:#ffffff;">
<td colspan=<?php echo count($groepen) + 2; ?> >Extra ondersteuning</td>
<td colspan=<?php echo $colspan; ?> >Extra ondersteuning</td>
</tr>
<?php if($osvormen){
foreach($osvormen as $osvorm){
@@ -109,7 +110,7 @@
<tr style="background-color:#6F0B3D ; color:#ffffff;">
<td colspan=<?php echo count($groepen) + 2; ?> >Extra ondersteuning-plus</td>
<td colspan=<?php echo $colspan; ?> >Extra ondersteuning-plus</td>
</tr>
<?php if($osvormen){
foreach($osvormen as $osvorm){
@@ -7,55 +7,55 @@
<td style ="width: 100px; text-align:right; padding-right: 2px">Percentage</td>
</tr>
<tr>
<td style="padding-left:3px">Totaal aantal leerlingen</td>
<td style="padding-left:3px; padding-right: 3px;white-space: nowrap;">Totaal aantal leerlingen</td>
<td style= "text-align:right; padding-right: 3px"><?=$totaal?></td>
<td style= "text-align:right; padding-right: 3px"></td>
</tr>
<tr>
<td style="padding-left:3px">Aantal groepen</td>
<td style="padding-left:3px; padding-right: 3px; white-space: nowrap;">Aantal groepen</td>
<td style= "text-align:right; padding-right: 3px"><?=$groepen?></td>
<td style= "text-align:right; padding-right: 3px"></td>
</tr>
<tr>
<td style="padding-left:3px">Aantal combinatiegroepen</td>
<td style="padding-left:3px; padding-right: 3px; white-space: nowrap;">Aantal combinatiegroepen</td>
<td style= "text-align:right; padding-right: 3px"><?=$combi?></td>
<td style= "text-align:right; padding-right: 3px"></td>
</tr>
<tr>
<td style="padding-left:3px">Aantal leerlingen categorie 1</td>
<td style="padding-left:3px; padding-right: 3px; white-space: nowrap;">Aantal leerlingen categorie 1</td>
<td style= "text-align:right; padding-right: 3px"><?=$som1?></td>
<td style= "text-align:right; padding-right: 3px">
<?php if ($totaal > 0 ) {echo round(($som1 / $totaal ) *100,0).'%' ;}; ?>
</td>
</tr>
<tr>
<td style="padding-left:3px">Aantal leerlingen categorie 2</td>
<td style="padding-left:3px;padding-right: 3px; white-space: nowrap;">Aantal leerlingen categorie 2</td>
<td style= "text-align:right; padding-right: 3px"><?=$som2?></td>
<td style= "text-align:right; padding-right: 3px">
<?php if ($totaal >0) {echo round(($som2 / $totaal ) *100,0).'%' ;};?>
</td>
</tr>
<tr>
<td style="padding-left:3px">Aantal leerlingen categorie 3</td>
<td style="padding-left:3px;padding-right: 3px; white-space: nowrap;">Aantal leerlingen categorie 3</td>
<td style= "text-align:right; padding-right: 3px"><?=$som3?></td>
<td style= "text-align:right; padding-right: 3px">
<?php if ($totaal> 0) {echo round(($som3 / $totaal ) *100,0).'%' ;};?>
</td>
</tr>
<tr>
<td style="padding-left:3px">Aantal leerlingen categorie 4</td>
<td style="padding-left:3px; padding-right: 3px; white-space: nowrap;">Aantal leerlingen categorie 4</td>
<td style= "text-align:right; padding-right: 3px"><?=$som4?></td>
<td style= "text-align:right; padding-right: 3px">
<?php if ($totaal > 0 ){echo round(($som4 / $totaal ) *100,0).'%' ;};?>
</td>
</tr>
<tr>
<td style="padding-left:3px">Totaal gewogen diversiteit</td>
<td style="padding-left:3px; padding-right: 3px white-space: nowrap;">Totaal gewogen diversiteit</td>
<td style= "text-align:right; padding-right: 3px"><?=$totdiversiteit?></td>
<td style= "text-align:right; padding-right: 3px"></td>
</tr>
<tr>
<td style="padding-left:3px">DQ school</td>
<td style="padding-left:3px; padding-right: 3px white-space: nowrap;">DQ school</td>
<td style= "text-align:right; padding-right: 3px"><?=number_format($totdq,2)?></td>
<td style= "text-align:right; padding-right: 3px"></td>
</tr>
@@ -48,12 +48,7 @@
var xastitel = '<?php echo $lijst->label ?>';
<?php } ?>
<?php foreach($lijst->scores as $index2 => $score){
$omschrijving = "gemiddelde";
if(isset($score->omschrijving)){
$omschrijving = $score->omschrijving;
};
?>
<?php foreach($lijst->scores as $index2 => $score){ ?>
labels.push(<?php $score->nummer ?>);
scores.push({
@@ -61,10 +56,8 @@
color: '<?=$score->kleur ?>',
name: '<?= $score->nummer ?>',
soort: 'score',
versie: <?= $lijst->periodenummer ?>,
vantm: '<?= $lijst->vantm ?>',
omschrijving: '<?php echo isset( $score->omschrijving) ? $score->omschrijving : ''; ?>' <?php // hier van $omschrijving $score->omschrijving gemaakt ?>
})
versie: <?= $lijst->periodenummer ?>
})
<?php } // foreach lijstscores ?>
verkorteVersies.push(<?= $lijst->periodenummer ?>);
@@ -74,9 +67,7 @@
color: '#000000',
name: '',
soort: 'ambitie',
versie: <?=$lijst->periodenummer ?>,
vantm: '<?= $lijst->vantm ?>',
omschrijving: '<?='test'; //$omschrijving is geen veld?>'
versie: <?=$lijst->periodenummer ?>
}
);
@@ -87,8 +78,6 @@
name : '0',
soort : 'extra',
versie : <?= $lijst->periodenummer ?>,
vantm : '<?= $lijst->vantm ?>',
omschrijving: ''
};
scores.unshift(legescore);
@@ -55,10 +55,6 @@
<?php } ?>
<?php foreach($lijst->scores as $index2 => $score){
$omschrijving = "gemiddelde";
if(isset($score->omschrijving)){
$omschrijving = $score->omschrijving;
};
?>
labels.push(<?php $score->nummer ?>);
@@ -67,9 +63,8 @@
color: '<?=$score->kleur ?>',
name: '<?= $score->nummer ?>',
soort: 'score',
versie: <?= $lijst->periodenummer ?>,
vantm: '<?= $lijst->vantm ?>',
omschrijving: '<?php echo isset( $score->omschrijving) ? $score->omschrijving : ''; ?>' <?php // hier van $omschrijving $score->omschrijving gemaakt ?>
versie: <?= $lijst->periodenummer ?>
<?php ?>
});
<?php } // foreach lijstscores ?>
@@ -80,9 +75,7 @@
color: '#000000',
name: '',
soort: 'ambitie',
versie: <?=$lijst->periodenummer ?>,
vantm: '<?= $lijst->vantm ?>',
omschrijving: '<?='test'; //$omschrijving is geen veld?>'
versie: <?=$lijst->periodenummer ?>
}
);
+6
View File
@@ -16,6 +16,12 @@
"suggest": {
"paragonie/random_compat": "Provides better randomness in PHP 5.x"
},
"autoload": {
"classmap": [
"application/libraries/monpas",
"application/libraries/monpas/ijkpunten"
]
},
"require-dev": {
"mikey179/vfsstream": "1.1.*",
"phpunit/phpunit": "4.* || 5.*"
+532 -516
View File
File diff suppressed because it is too large Load Diff
+15 -497
View File
@@ -442,8 +442,8 @@
(h[d][l]={},p(a[l],r[d][l],h[d][l],e+1));else G(a)?(h[d]=F(a)?[]:{},p(a,r[d]||{},h[d],e+1)):h[d]=r[d]||null})}var v={};p(k,this.options,v,0);return v}})(I);return I});
</script>
<script src="https://app.monpas.nl/js_lib/Highcharts/code/modules/variable-pie.js"></script>
<script src="https://app.monpas.nl/js_lib/Highcharts/code/modules/pattern-fill.js"></script>
<script src="http://monpas3.lokaal/js_lib/Highcharts/code/modules/variable-pie.js"></script>
<script src="http://monpas3.lokaal/js_lib/Highcharts/code/modules/pattern-fill.js"></script>
<link rel="stylesheet" href="/css_lib/bootstrap-3.3.2-dist/css/bootstrap.css" crossorigin="anonymous" />
// <link rel="stylesheet" href="https://app.monpas.nl/css_lib/bootstrap-3.3.2-dist/css/bootstrap.css" crossorigin="anonymous" />
@@ -721,13 +721,13 @@
<div class="sopPagina">
<input id="schooljaar1"
value='2020-2021'
value='2021-2022'
type="hidden"/>
<input id="schoolid1"
value="840 "
type ="hidden" />
<input id="schooljaarnummer1"
value="9 "
value="10 "
type ="hidden" />
<div class="row" style='padding-top:1px;'>
@@ -772,7 +772,7 @@
<td class="sopTabeltd" style="color:#737373 !important;">Datum
</td>
<td class="sopTabeltd">
27-10-2020 </td>
12-07-2021 </td>
<td class="sopTabeltd" style="color:#737373 !important;">Website
</td>
<td class="sopTabeltd" style="overflow-x:hidden; white-space:nowrap">
@@ -812,500 +812,9 @@
</div>
<div class="row">
<div class="col-xs-12" style='padding-right: 10px'>
<div class="sopKaderOnderdeel">
<div class="sopOnderdeelBlok">
<div class="sopTitelHolder" >
<p class="sopTitel">De diversiteit van de leerlingpopulatie</p>
</div>
<div class="sopKaderDivHolder">
<table class="sopKaderDivTabel"
style=" table-layout: fixed;
width : 99% !important;
font-size : 0.65em;">
<thead>
<tr >
<th style=" width:60px "></th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>A</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>B</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>C</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>D</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>E</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>F</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>I</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>H</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>J</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>K</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>G</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>L</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>M</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>N</div>
</th>
<th style=" padding:0;
margin:0;
color: #ffffff !important;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
height:100px;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
/*writing-mode: vertical-lr !important;*/
">
<div style=" -webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 70% !important;
color:#ffffff !important"
>O</div>
</th>
<th style=" padding:0;
margin:0;
vertical-align:text-top !important;
/*overflow-x: hidden;*/
white-space: nowrap;
/*text-align: center;*/
width: 1.5em;
/*-webkit-transform: rotate(90deg)!important;*/
/*-webkit-transform-origin: 50% 50% !important;*/
">
<div style="-webkit-transform: rotate(90deg)!important;
-webkit-transform-origin: 10% 80% !important;
color: #ffffff !important">
Schooltotaal</div>
</th>
</tr>
</thead>
<tbody>
<tr >
<td > Totaal aantal leerlingen</td>
<td style=" padding-right: 2px; text-align: right">10</td>
<td style=" padding-right: 2px; text-align: right">13</td>
<td style=" padding-right: 2px; text-align: right">12</td>
<td style=" padding-right: 2px; text-align: right">11</td>
<td style=" padding-right: 2px; text-align: right">13</td>
<td style=" padding-right: 2px; text-align: right">14</td>
<td style=" padding-right: 2px; text-align: right">6</td>
<td style=" padding-right: 2px; text-align: right">9</td>
<td style=" padding-right: 2px; text-align: right">12</td>
<td style=" padding-right: 2px; text-align: right">14</td>
<td style=" padding-right: 2px; text-align: right">4</td>
<td style=" padding-right: 2px; text-align: right">15</td>
<td style=" padding-right: 2px; text-align: right">15</td>
<td style=" padding-right: 2px; text-align: right">15</td>
<td style=" padding-right: 2px; text-align: right">15</td>
<td style="text-align: right">178</td>
</tr>
<tr >
<td > Totale diversiteit per groep</td>
<td style=" text-align: right; padding-right: 2px;">29</td>
<td style=" text-align: right; padding-right: 2px;">39</td>
<td style=" text-align: right; padding-right: 2px;">34</td>
<td style=" text-align: right; padding-right: 2px;">30</td>
<td style=" text-align: right; padding-right: 2px;">31</td>
<td style=" text-align: right; padding-right: 2px;">39</td>
<td style=" text-align: right; padding-right: 2px;">23</td>
<td style=" text-align: right; padding-right: 2px;">29</td>
<td style=" text-align: right; padding-right: 2px;">34</td>
<td style=" text-align: right; padding-right: 2px;">37</td>
<td style=" text-align: right; padding-right: 2px;">16</td>
<td style=" text-align: right; padding-right: 2px;">39</td>
<td style=" text-align: right; padding-right: 2px;">42</td>
<td style=" text-align: right; padding-right: 2px;">45</td>
<td style=" text-align: right; padding-right: 2px;">36</td>
<td style=" text-align: right; padding-right: 2px;">503.0</td>
</tr>
<tr>
<td> DQs</td>
<td style=" text-align: right; padding-right: 2px;">1.32</td>
<td style=" text-align: right; padding-right: 2px;">1.63</td>
<td style=" text-align: right; padding-right: 2px;">1.42</td>
<td style=" text-align: right; padding-right: 2px;">1.25</td>
<td style=" text-align: right; padding-right: 2px;">1.29</td>
<td style=" text-align: right; padding-right: 2px;">1.63</td>
<td style=" text-align: right; padding-right: 2px;">0.96</td>
<td style=" text-align: right; padding-right: 2px;">1.21</td>
<td style=" text-align: right; padding-right: 2px;">1.42</td>
<td style=" text-align: right; padding-right: 2px;">1.54</td>
<td style=" text-align: right; padding-right: 2px;">0.67</td>
<td style=" text-align: right; padding-right: 2px;">1.63</td>
<td style=" text-align: right; padding-right: 2px;">1.75</td>
<td style=" text-align: right; padding-right: 2px;">1.88</td>
<td style=" text-align: right; padding-right: 2px;">1.50</td>
<td style=" text-align: right; padding-right: 2px;">1.41</td>
</tr>
</tbody>
</table>
</div>
<div class=" sopDivKaderGrafiek" style="margin-top: 25px; height: 230px;">
<div class="highcharts-background" id="dqGroep" style="height:230px; width: 600px; "></div>
</div>
</div>
<script>
$(function(){
fFillGraph1=function(){
var xas =[];
var yas = [];
xas.push('A');
yas.push(1.32);
xas.push('B');
yas.push(1.63);
xas.push('C');
yas.push(1.42);
xas.push('D');
yas.push(1.25);
xas.push('E');
yas.push(1.29);
xas.push('F');
yas.push(1.63);
xas.push('I');
yas.push(0.96);
xas.push('H');
yas.push(1.21);
xas.push('J');
yas.push(1.42);
xas.push('K');
yas.push(1.54);
xas.push('G');
yas.push(0.67);
xas.push('L');
yas.push(1.63);
xas.push('M');
yas.push(1.75);
xas.push('N');
yas.push(1.88);
xas.push('O');
yas.push(1.5);
Highcharts.chart('dqGroep', {
chart: {
type: 'column',
animation: false,
backgroundColor: '#e6e6e6'
},
title: {
text: 'Diversiteitsquotient per groep',
style: {
fontSize: 12,
}
},
credits: {
enabled: false
},
xAxis: {
categories: xas,
labels:{
style:{
fontSize: '10px'
}
}
},
yAxis: {
min: 0,
title: {
text: 'DQ'
},
labels:{
style:{
fontSize: '8px'
}
}
},
plotOptions: {
column: {
pointPadding: 0.05,
groepPadding: 0.05,
borderWidth: 0,
color: '#7f036C'
}
},
series: [{
showInLegend: false,
animation: false,
name: 'groepen',
data: yas
} ]
});
}()
});
</script>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6" style="padding-right: 5px">
<div class="sopKaderOnderdeel">
<div class="sopKaderOnderdeel" >
<div class="sopOnderdeelBlok">
<div class="sopTitelHolder">
@@ -2291,6 +1800,15 @@
</div>
<div class="row">
<div class="col-xs-12" style='padding-right: 10px'>
<div class="sopKaderOnderdeel">
</div>
</div>
</div>
</div>