Files
monpas/application/views/monpas/reports/ijkpuntenbaroud.php
T
2021-07-10 16:25:16 +02:00

533 lines
18 KiB
PHP

<style>
/*.blauw{
background-color:#1558d0;
color:#ffffff;
}
.groen{
background-color:#15d029;
color:#ffffff;
}
.oranje{
background-color:#fea719;
}
.rood{
background-color:#fe2219;
}*/
</style>
<div class= "col-xs-12" style="font-family: OpenSans, Arial,Verdana,sans; font-size: 10px">
<h3> <?=$instrument?>: <?=$labels['Ykpunten']?></h3>
<br>
<hr />
<table style=" font-family: inherit; font-size:inherit; border-collapse:collapse; border-spacing:0px;" >
<thead>
<tr>
<th style="width: 20%"></th>
<th style="width: 20%"></th>
<th style="width: 20%"></th>
<th style="width: 30%"></th>
</tr>
</thead>
<tbody>
<tr >
<td>Organisatie: </td>
<td><?php if($organisatie->soort === 4) {echo $organisatie->brin.'-'.$organisatie->naam;}
else{echo $organisatie->naam;}?></td>
<td>Versie:</td>
<td><?php if($info->vorm == 1){echo "schoolversie";} if($info->vorm ==2){echo "individuele versie, ";
if(strlen($docentnaam) > 0){ echo $docentnaam;} else{echo "schoolgemiddelde";};}?> </td>
</tr>
<tr>
<td>Meting: </td>
<td><?=$info->naam?></td>
<td>Geldig vanaf:</td>
<td><?=$info->geldigvanaf?></td>
</tr>
<tr >
<td>Periode: </td>
<td><?=$info->periodenummer?></td>
<td>Geldig tot en met:</td>
<td><?=$info->geldigtm?></td>
</tr>
<tr >
<td>Scoretype</td>
<td><?=$info->scoreomschrijving?></td>
<td>Printdatum: </td>
<td><?=$vandaag?></td>
</tr>
</tbody>
</table>
<hr/>
<br>
<br>
<img src="<?=$inputimage?>" width=420 />
<br>
<?php
if($referentie){
?>
<div style="margin-top: -20px">
<div style="height: 15px; margin-top: 30px; OpenSans, Arial,Verdana,sans; font-size: 10px">
<div style="float: left; height: 10px; width: 30px;
margin-right: 5px; background-color: rgba(147,15,80,0.5)" >
</div>
<span style="float: left; margin-right: 3px;">Geldig t/m
</span>
<span style="float:left;" ><?=$geldigRef?>
</span>
</div>
<br>
<div style="clear:both"></div>
<div style="height: 15px; margin-top: -12px; OpenSans, Arial,Verdana,sans; font-size: 10px; width: 100%;">
<div style="float: left; height: 10px; width: 30px;
margin-right: 5px;
background-color: rgba(147,15,80,0.9);" >
</div>
<div style="float:left;">
<span style=" margin-right: 3px; margin-top: -12px;" >Geldig t/m
<span style=" margin-top: -12px;"><?=$geldigSelect?>
</span>
</span>
</div>
</div>
</div>
<?php };
?>
<?php
if(!$referentie){
?>
<div style="height: 10px; margin-bottom: 30px;">
<div style=" height: 10px; width: 30px; margin-right: 5px; margin-top: 10px; background-color: rgba(147,15,80,0.9); float: left" >
</div>
<span style="float: left; margin-right: 3px; margin-top: 10px;" >Geldig t/m
</span>
<span style="float: left; margin-top: 10px";><?=$geldigSelect?>
</span>
</div>
<?php };
?>
<hr />
<h4>Ambities</h4>
<p>Gemiddelde score><?= $ambitie->gemscore?>%</p>
<p>Minimaal <?=$ambitie->xijkpunten?> <?=$labels['ijkpunten']?> op <?=$ambitie->zprocent?>% of hoger.
<hr/>
<h4 style="margin-bottom:5px">Resultaten meting</h4>
<table style=" font-family: inherit; font-size:inherit">
<tr>
<td> Periode:
</td>
<td><?=$periodenaam?>
</td>
</tr>
<tr>
<td>Betreft:
</td>
<td><?=$resultaat->metingen?><?php if ($resultaat->metingen ==1 ) {echo " meting"; } else {echo "metingen";}; ?>
</td>
</tr>
<tr>
<td>Gemiddelde score:
</td>
<td><?=$resultaat->totgem?>
</td>
</tr>
</table>
<div >
<p>%<?=$resultaat->aantalok?> <?=$labels['ijkpunten']?> op <?=$ambitie->zprocent?>% of hoger.
</p>
<p>
Hoogst scorende <?=$labels['ijkpunt']?> is nummer <?=$resultaat->welkehoogste?>
met een score van <?=$resultaat->hoogstescore?>.
</p>
<p>
Laagst scorende <?=$labels['ijkpunt']?> is nummer <?=$resultaat->welkelaagste?>
met een score van <?=$resultaat->laagstescore?>.
</p>
</div>
<br>
<hr />
<?php
if($referentie){
?>
<h4 style="margin-bottom:5px; ">Resultaten vorige meting</h4>
<table style=" font-family: inherit; font-size:inherit">
<tr>
<td> Periode:
</td>
<td><?=$periodenaamR?>
</td>
</tr>
<tr>
<td>Betreft:
</td>
<td><?=$resultaatRef->metingenR?><?php if ($resultaatRef->metingenR ==1 ) {echo " meting"; } else {echo "metingen";}; ?>
</td>
</tr>
<tr>
<td>Gemiddelde score:
</td>
<td><?=$resultaatRef->totgemR?>
</td>
</tr>
</table>
<div >
<p>%<?=$resultaatRef->aantalokR?> <?=$labels['ijkpunten']?> op <?=$ambitie->zprocent?>% of hoger.
</p>
<p>Hoogst scorende <?=$labels['ijkpunt']?> was nummer <?=$resultaatRef->welkehoogste ?>
met een score van <?=$resultaatRef->hoogstescore ?>
</p>
<p >
Laagst scorende <?=$labels['ijkpunt']?> was nummer <?=$resultaatRef->welkelaagste ?>
met een score van <?=$resultaatRef->laagstescore ?>
</p>
</div>
<hr />
<?php };
?>
<br>
<?php
if($referentie && $toonVergelijking){
?>
<!-- Er is een eerdere versie beschikbaar en er kan een vergelijking worden getoond (scores van een leerkracht, school of bestuur)-->
<table class="col-xs-11 table table-condensed" style="font-family: inherit; font-size: inherit; table-layout:fixed; margin-top:100px;">
<thead>
<tr style="height: 15px; border-bottom: none">
<th colspan="1" style="border-right: 2px solid white; background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;vertical-align: top; ">nr</th>
<th colspan="6" style="border-right: 2px solid white; vertical-align: top; background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;"><?=$labels['ijkpunt']?></th>
<th colspan="2" style=" background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;">
<span style="padding-left: 4px;">versie geldig t/m
<div style="padding-left: 4px;"><?=$geldigRef?>
</div>
</span>
</th>
<th colspan="2" style="background-color: #ded0d7; font-weight: 300;">
<span style="padding-left: 4px;">versie geldig t/m
<div style="padding-left: 4px;"><?=$geldigSelect?>
</div>
</span>
</th>
</tr>
<tr style="height: 25px;">
<th colspan="1" style="border-right: 2px solid white; background-color: #ded0d7;">
</th>
<th colspan="6" style="border-right: 2px solid white; background-color: #ded0d7;">
</th>
<th colspan="1" style="border-right: 1px solid white; overflow: hidden; text-overflow: ellipsis; padding-left: 3px;background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;">
<?php
if(strlen($docentnaam)>1 ){
echo $docentnaam;
}
else{
echo $organisatie->naam;
};
?>
</th>
<th colspan="1" style="overflow: hidden; text-overflow: ellipsis; border-right: 2px solid white; padding-left: 3px; background-color: #ded0d7; font-weight: 300;">
<?= $toplevelnaam?>
</th>
<th colspan="1" style="overflow: hidden; text-overflow: ellipsis; border-right: 2px solid white; padding-left: 3px; background-color: #ded0d7; font-weight: 300;">
<?php
if(strlen($docentnaam)>1 ){
echo $docentnaam;
}
else{
echo $organisatie->naam;
};
?>
</th>
<th colspan="1" style="overflow: hidden; text-overflow: ellipsis; padding-left: 3px; background-color: #ded0d7; font-weight: 300;">
<?=$toplevelnaam?>
</th>
</tr>
<tr style="height: 10px;">
<th colspan="1" style="border-right: 2px solid white; background-color: #ded0d7">
</th>
<th colspan="6"; style="border-right: 2px solid white; background-color: #ded0d7">
</th>
<th colspan="1"; style=" border-right: 1px solid white; padding-left: 3px;background-color: #ded0d7; font-weight: 300;">
<span>metingen: <?=$resultaatRef->metingenR?>
</span>
</th>
<th colspan="1" style=" border-right: 2px solid white; padding-left: 3px;background-color: #ded0d7; font-weight: 300;">
<span>metingen:
<?=$resultaatRef->metingenTopR?>
</span>
</th>
<th colspan="1" style=" border-right: 1px solid white; padding-left: 3px;background-color: #ded0d7; font-weight: 300;">
<span>metingen:
<?=$resultaat->metingen ?>
</span>
</th>
<th colspan="1" style="background-color: #ded0d7; font-weight: 300;" >
<span>metingen:
<?=$resultaat->metingenTop?>
</span>
</th>
</tr>
</thead>
<tbody>
<?php
foreach($ijkpunten as $ijkpunt){ ?>
<tr style="border-bottom: 1px solid #ebebeb; max-height: 30px;" >
<td colspan="1" style="vertical-align:top; padding-left: 10px;" >
<?=$ijkpunt->nr?>
</td>
<td colspan="6" style="vertical-align:top; padding-left: 4px; text-align:left">
<?=$ijkpunt->naam?>
</td>
<td
colspan="1" style="text-align: right; vertical-align:top; padding-right:5px; color: #ffffff; background-color: <?=$ijkpunt->kleurR?>">
<?=$ijkpunt->refscore?>
</td>
<td colspan="1" style="text-align:right;color:#ffffff; vertical-align:top; padding-right: 5px; border-left: 1px solid white; background-color: <?=$ijkpunt->kleurtopR?>">
<?=$ijkpunt->toprefgem?>
</td>
<td
colspan="1" style="text-align: right; vertical-align:top; padding-right: 5px; border-left: 2px solid white; background-color: <?=$ijkpunt->kleur?>">
<?=$ijkpunt->score?>
</td>
<td colspan="1" style="text-align:right;color:#ffffff; vertical-align:top; padding-right: 5px; border-left: 1px solid white; background-color: <?=$ijkpunt->kleurtop?>">
<?=$ijkpunt->topgem?>
</td>
</tr>
<?php ;}; // foreach ijkpunten ?>
</tbody>
</table>
<?php }; ?>
<?php
if(!$referentie && $toonVergelijking){
?>
<!-- Er is geen eerdere versie beschikbaar en er kan een vergelijking worden getoond (scores van een leerkracht, school of bestuur)-->
<table class="col-xs-11 table table-condensed" style="font-family: inherit; font-size: inherit; table-layout:fixed; margin-top:500px;">
<thead>
<tr style="height: 15px; border-bottom: none">
<th colspan="1"; style="border-right: 2px solid white; background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;vertical-align: top">nr</th>
<th colspan="8"; style="border-right: 2px solid white; vertical-align: top; background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;"><?=$labels['ijkpunt']?></th>
<th colspan="2" style="background-color: #ded0d7; font-weight: 300;">
<span style="padding-left: 4px;">versie geldig t/m
<div style="padding-left: 4px;"><?=$geldigSelect?>
</div>
</span>
</th>
</tr>
<tr style="height: 25px;">
<th colspan="1"; style="border-right: 2px solid white; background-color: #ded0d7;">
</th>
<th colspan="8"; style="border-right: 2px solid white; background-color: #ded0d7;">
</th>
<th colspan="1" style="overflow: hidden; text-overflow: ellipsis; border-right: 2px solid white; padding-left: 3px; background-color: #ded0d7; font-weight: 300;">
<?php
if(strlen($docentnaam)>1 ){
echo $docentnaam;
}
else{
echo $organisatie->naam;
}
?>
</th>
<th colspan="1" style="overflow: hidden; text-overflow: ellipsis; vertical-align: top; padding-left: 3px; border-bottom: 2px solid white;background-color: #ded0d7; font-weight: 300;">
<?=$toplevelnaam?>
</th>
</tr>
<tr style="height: 10px;">
<th colspan="1"; style="border-right: 2px solid white; background-color: #ded0d7">
</th>
<th colspan="8"; style="border-right: 2px solid white; background-color: #ded0d7">
</th>
<th colspan="1" style=" border-right: 2px solid white; padding-left: 3px;background-color: #ded0d7; font-weight: 300;">
<span>metingen:
<?=$resultaat->metingen?>
</span>
</th>
<th colspan="1" style="background-color: #ded0d7; font-weight: 300;" >
<span>metingen:
<?=$resultaat->metingenTop?>
</span>
</th>
</tr>
</thead>
<tbody>
<?php foreach($ijkpunten as $ijkpunt){ ?>
<tr style="border-bottom: 1px solid #ebebeb; max-height: 30px;" >
<td colspan="1"; style="vertical-align:top; padding-left: 10px;" >
<?=$ijkpunt->nr?>
</td>
<td colspan="8"; style="vertical-align:top; padding-left: 4px; text-align:left">
<?=$ijkpunt->naam?>
</td>
<td
colspan="1"; style="text-align: right; vertical-align:top; padding-right: 5px; border-left: 1px solid white; color: #ffffff; background-color: <?=$ijkpunt->kleur?>">
<?=$ijkpunt->score?>
</td>
<td colspan="1"; style="text-align:right;color:#ffffff; vertical-align:top; padding-right: 5px; border-left: 1px solid white; background-color: <?=$ijkpunt->kleurtop?>">
<?=$ijkpunt->topgem?>
</td>
</tr>
<?php ;}; // foreach ijkpunten ?>
</tbody>
</table>
<?php }
?>
<?php
if($referentie && !$toonVergelijking){
?>
<!-- Er is een eerdere versie beschikbaar en er kan geen vergelijking worden getoond (scores van een kamer of swv)-->
<table class="col-xs-11 table table-condensed" style="font-family: inherit; font-size: inherit; table-layout:fixed; margin-top: 125px; ">
<thead>
<tr style="height: 15px; border-bottom: none">
<th colspan="1"; style="border-right: 2px solid white; background-color: #ded0d7; border-right: 2px solid white;font-weight: 300; vertical-align: top">
nr
</th>
<th colspan="6"; style="border-right: 2px solid white; vertical-align: top; background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;">
<?=$labels['ijkpunt']?>
</th>
<th colspan="2" style="background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;">
<span style="padding-left: 4px;">versie geldig t/m
<div style="padding-left: 4px;"><?=$geldigRef?>
</div>
</span>
</th>
<th colspan="2" style="background-color: #ded0d7; font-weight: 300;">
<span style="padding-left: 4px;">versie geldig t/m
<div style="padding-left: 4px;"><?=$geldigSelect?>
</div>
</span>
</th>
</tr>
<tr style="height: 25px;">
<th colspan="1"; style="border-right: 2px solid white; background-color: #ded0d7;">
</th>
<th colspan="6"; style="border-right: 2px solid white; background-color: #ded0d7;">
</th>
<th colspan="2" style="overflow: hidden; text-overflow: ellipsis; border-right: 2px solid white; padding-left: 3px; background-color: #ded0d7; font-weight: 300;">
<?=$toplevelnaam?>
</th>
<th colspan="2" style="overflow: hidden; text-overflow: ellipsis; padding-left: 3px;background-color: #ded0d7; font-weight: 300;">
<?=$toplevelnaam?>
</th>
</tr>
<tr style="height: 10px;">
<th colspan="1"; style="border-right: 2px solid white; background-color: #ded0d7">
</th>
<th colspan="6"; style="border-right: 2px solid white; background-color: #ded0d7">
</th>
<th colspan="2"; style="padding-left: 3px;border-right: 2px solid white; background-color: #ded0d7; font-weight: 300;">
<span>metingen: <?=$resultaatRef->metingenR?>
</span>
</th>
<th colspan="2" style="padding-left: 3px;background-color: #ded0d7; font-weight: 300;">
<span>metingen:
<?=$resultaat->metingen?>
</span>
</th>
</tr>
</thead>
<tbody>
<?php foreach($ijkpunten as $ijkpunt){ ?>
<tr style="border-bottom: 1px solid #ebebeb; max-height: 30px;" >
<td colspan="1"; style="vertical-align:top; padding-left: 10px;" >
<?=$ijkpunt->nr?>
</td>
<td colspan="6"; style="vertical-align:top; padding-left: 4px; text-align:left">
<?=$ijkpunt->naam?>
</td>
<td colspan="2"; style="text-align:right;color:#ffffff; vertical-align:top; padding-right: 5px; border-left: 2px solid white; background-color: <?=$ijkpunt->kleurtopR?>">
<?=$ijkpunt->toprefgem?>
</td>
<td colspan="2"; style="text-align:right;color:#ffffff; vertical-align:top; padding-right: 5px; border-left: 1px solid white; background-color: <?=$ijkpunt->kleurtop?>">
<?=$ijkpunt->topgem?>
</td>
</tr>
<?php ;}; // foreach ijkpunten ?>
</tbody>
</table>
<?php };
?>
<?php
if(!$referentie && !$toonVergelijking){
?>
Er is geen eerdere versie beschikbaar en er kan geen vergelijking worden getoond (scores van een kamer of swv).
<table class="col-xs-11 table table-condensed" style="font-family: inherit; font-size: inherit; table-layout:fixed; margin-top: 500px;">
<thead>
<tr style="height: 15px; border-bottom: none">
<th colspan="1"; style="border-right: 2px solid white; background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;vertical-align: top">
nr
</th>
<th colspan="8"; style="border-right: 2px solid white; vertical-align: top; background-color: #ded0d7; border-right: 2px solid white;font-weight: 300;">
<?=$labels['ijkpunt']?>
</th>
<th colspan="2" style="background-color: #ded0d7; font-weight: 300;">
<span style="padding-left: 4px;">versie geldig t/m
<div style="padding-left: 4px;"><?=$geldigSelect?>
</div>
</span>
</th>
</tr>
<tr style="height: 25px;">
<th colspan="1"; style="border-right: 2px solid white; background-color: #ded0d7;">
</th>
<th colspan="8"; style="border-right: 2px solid white; background-color: #ded0d7;">
</th>
<th colspan="2" style="overflow: hidden; text-overflow: ellipsis; padding-left: 3px; background-color: #ded0d7; font-weight: 300;">
<?=$toplevelnaam?>
</th>
</tr>
<tr style="height: 10px;">
<th colspan="1"; style="border-right: 2px solid white; background-color: #ded0d7">
</th>
<th colspan="8"; style="border-right: 2px solid white; background-color: #ded0d7">
</th>
<th colspan="2" style=" padding-left: 3px;background-color: #ded0d7; font-weight: 300;">
<span>metingen:
<?=$resultaat->metingen?>
</span>
</th>
</tr>
</thead>
<tbody>
<?php foreach($ijkpunten as $ijkpunt){ ?>
<tr style="border-bottom: 1px solid #ebebeb; max-height: 30px;" >
<td colspan="1"; style="vertical-align:top; padding-left: 10px;" >
<?=$ijkpunt->nr?>
</td>
<td colspan="8"; style="vertical-align:top; padding-left: 4px; text-align:left">
<?=$ijkpunt->naam?>
</td>
<td colspan="2"; style="text-align:right;color:#ffffff; vertical-align:top; padding-right: 5px; background-color: <?=$ijkpunt->kleurtop?>">
<?=$ijkpunt->topgem?>
</td>
</tr>
<?php ;}; // foreach ijkpunten ?>
</tbody>
</table>
<?php };
?>
<p></p>
<?=$kleurtabel?>
</div>