187 lines
5.9 KiB
PHP
187 lines
5.9 KiB
PHP
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body{
|
|
font-family: 'Opensans', 'Verdana','sans-serif';
|
|
font-size: 12px;
|
|
|
|
}
|
|
table, .lstable {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
table-layout:fixed;
|
|
font-size: 10px
|
|
}
|
|
.modal-header{
|
|
background-color:#6F0B3D;
|
|
color: #f1f4f7;
|
|
}
|
|
.tar{
|
|
text-align: right;
|
|
}
|
|
.page_break{
|
|
page-break-before: always;
|
|
}
|
|
.pdfblok{
|
|
border: 1px solid #dbdbdb;
|
|
width : 350px;
|
|
padding: 5px;
|
|
margin-top: 40px;
|
|
}
|
|
.onderin{
|
|
width : 325px;
|
|
}
|
|
|
|
.onderin2{
|
|
width : 325px;
|
|
float : left;
|
|
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div>
|
|
<h4> Diversiteitsomvang per school</h4>
|
|
<hr/>
|
|
<table >
|
|
<tr>
|
|
<td>Organisatie:</td>
|
|
<td><?=$organisatie->brin.'-'.$organisatie->naam ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Schooljaar: </td>
|
|
<td><?=$schooljaar->naam?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Per: </td>
|
|
<td><?=$vandaag?></td>
|
|
</tr>
|
|
</table>
|
|
<hr/>
|
|
|
|
<table class="lstable" >
|
|
<thead style="background-color: #ded0d7; ">
|
|
<tr>
|
|
<th style="width:55%; vertical-align: top;text-align:left">Organisatie</th>
|
|
<th style="width:5%; vertical-align: top"> Aantal lln</th>
|
|
<th style="width:5%; vertical-align: top">Groepen</th>
|
|
<th style="width:5%; vertical-align: top">SBO</th>
|
|
<th style="width:5%; vertical-align: top">SO-1</th>
|
|
<th style="width:5%; vertical-align: top">SO-2</th>
|
|
<th style="width:5%; vertical-align: top">SO-3</th>
|
|
<th style="width:5%; vertical-align: top">TGD</th>
|
|
<th style="width:5%; vertical-align: top">DQ</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody >
|
|
<?php foreach($bgs as $bg){ ?>
|
|
<tr class='modal-header'>
|
|
<td colspan = 10 ><?=$bg->bgnaam ?></td>
|
|
</tr>
|
|
<?php
|
|
if ($bg->scholen) {
|
|
foreach($bg->scholen as $school){ ?>
|
|
<tr style="border-bottom: 1px solid #dbdbdb" data-bind="style: {fontStyle: (naam .indexOf('Gemiddeld') >=0 || naam.indexOf('Totaal') >=0 ) ? 'italic' : 'normal'}">
|
|
<td style= "border-right: 1px solid #dbdbdb"><?=$school->naam?></td>
|
|
<td style = "text-align: right; border-right: 1px solid #dbdbdb" ><?=$school->aantallln?></td>
|
|
<td style= "text-align:right; border-right: 1px solid #dbdbdb"> <?php if (isset($school->groepen)) echo $school->groepen?></td>
|
|
<td style= "text-align:right; border-right: 1px solid #dbdbdb"> <?php if (isset($school->cat5)) echo $school->cat5; ?></td>
|
|
<td style= "text-align:right; border-right: 1px solid #dbdbdb"> <?php if (isset($school->cat6)) echo $school->cat6; ?></td>
|
|
<td style= "text-align:right; border-right: 1px solid #dbdbdb"> <?php if (isset($school->cat7)) echo $school->cat7;?></td>
|
|
<td style= "text-align:right; border-right: 1px solid #dbdbdb"> <?php if (isset($school->cat8)) echo $school->cat8;?></td>
|
|
<td style= "text-align:right; border-right: 1px solid #dbdbdb"> <?php if (isset($school->tgd)) echo $school->tgd ;?></td>
|
|
<td style= "text-align:right; border-right: 1px solid #dbdbdb"> <?php if (isset($school->dq)) echo $school->dq; ?></td>
|
|
</tr>
|
|
<?php }; }; ?>
|
|
</tbody>
|
|
<?php ;};?>
|
|
</table>
|
|
|
|
<div style="width: 200px; margin-top:15px; font-size: 10px;">
|
|
<p>Legenda</p>
|
|
<table class="lstable" >
|
|
<tr>
|
|
<td style="width: 50px">SBO</td>
|
|
<td>toelaatbaarheidsverklaring speciaal basisondersteuning</td>
|
|
</tr>
|
|
<tr>
|
|
<td>SO-1</td>
|
|
<td>toelaatbaarheidsverklaring speciaal onderwijs 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td>SO-2</td>
|
|
<td>toelaatbaarheidsverklaring speciaal onderwijs 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td>SO-3</td>
|
|
<td>toelaatbaarheidsverklaring speciaal onderwijs 3</td>
|
|
</tr>
|
|
<tr>
|
|
<td>TGD</td>
|
|
<td>Totaal gewogen diversiteit</td>
|
|
</tr>
|
|
<tr>
|
|
<td>DQ</td>
|
|
<td>Diversiteitsquotiënt</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div data-bind="visible:bg || 1==1" style="margin-top: 30px;">
|
|
<h4 >Conclusies</h4>
|
|
<?php if($maxdq->dq != $mindq->dq){ ?>
|
|
<p>Hoogste diversiteit: <?=$maxdq->school ?> met DQ = <?= $maxdq->dq?></p>
|
|
<p>Laagste diversiteit:<?=$mindq->school ?>
|
|
met DQ = <?= $mindq->dq?>
|
|
</p>
|
|
<?php } ;
|
|
if($maxdq->dq == $mindq->dq) { ?>
|
|
<p>Diversiteit: <?=$mindq->school ?>
|
|
met DQ = <?= $mindq->dq?>
|
|
</p>
|
|
<?php } ; ?>
|
|
|
|
</div>
|
|
<hr/>
|
|
|
|
<div>
|
|
<?php if ($grandtotals->llng >0) { ?>
|
|
<div style="float: left">
|
|
<table class="lstable" >
|
|
<thead>
|
|
<tr style="border-bottom:1px solid #dbdbdb">
|
|
<td>Ondersteuningsvormen</td>
|
|
<td>% leerlingen</td>
|
|
</tr>
|
|
</thead>
|
|
<tr>
|
|
<td>SBO</td>
|
|
<td class="tar"><?php echo round(($grandtotals->cat5 / $grandtotals->llng) * 100); ?>%</td>
|
|
</tr>
|
|
<tr>
|
|
<td>SO-1</td>
|
|
<td class="tar"><?php echo round(($grandtotals->cat6 / $grandtotals->llng) * 100); ?>%</td>
|
|
</tr>
|
|
<tr>
|
|
<td>SO-2</td>
|
|
<td class="tar"><?php echo round(($grandtotals->cat7 / $grandtotals->llng) * 100); ?>%</td>
|
|
</tr>
|
|
<tr>
|
|
<td> SO-3Extra ondersteuning plus</td>
|
|
<td class="tar"><?php echo round(($grandtotals->cat8 / $grandtotals->llng) * 100); ?>%</td>
|
|
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div style="float: left; margin-left: 0">
|
|
<?=$img ?>
|
|
</div>
|
|
<div style="clear:both"></div>
|
|
<?php ;}; ?>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|