169 lines
5.1 KiB
PHP
169 lines
5.1 KiB
PHP
<p>Schooljaar <?=$schooljaar?></p>
|
|
|
|
<?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;" >
|
|
<td style="width: 200px"></td>
|
|
<?php
|
|
if ($groepen){
|
|
foreach($groepen as $groep){ ?>
|
|
<td style="width: 90px; text-align: right" ><?=$groep->naam?></td>
|
|
<?php };};?>
|
|
<td style="text-align: right">Schooltotaal</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> Totaal aantal leerlingen</td>
|
|
<?php $schooltotaal = 0;
|
|
if ($groepen){
|
|
foreach($groepen as $groep){
|
|
$schooltotaal = $schooltotaal + $groep->totaantal; ?>
|
|
<td style="text-align:right"><?=$groep->totaantal?></td>
|
|
<?php };};?>
|
|
<td style= "text-align: right; " ><?=$schooltotaal?></td>
|
|
</tr>
|
|
|
|
|
|
<tr style="background-color: #f2f2f2">
|
|
<td colspan=<?php
|
|
echo $colspan; ?> >
|
|
<i>Uitsplitsing onderwijsvraag per groep</i>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr style="background-color:#6F0B3D ; color:#ffffff;">
|
|
<td colspan=<?php echo $colspan ?> >Basisondersteuning</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Totaal</td>
|
|
<?php
|
|
$schoolsom1 = 0;
|
|
if($groepen){
|
|
foreach($groepen as $groep){
|
|
$schoolsom1 = $schoolsom1+$groep->som1;
|
|
?>
|
|
<td style="text-align:right"><?=$groep->som1?></td>
|
|
<?php };}; ?>
|
|
<td style= "text-align: right; " ><?=$schoolsom1?> </td>
|
|
</tr>
|
|
|
|
<tr style="background-color:#6F0B3D ; color:#ffffff;">
|
|
<td colspan=<?php echo $colspan; ?>>Basisondersteuning-plus</td>
|
|
</tr>
|
|
|
|
<?php if($osvormen){
|
|
foreach($osvormen as $osvorm){
|
|
if ($osvorm->nivo ==2){?>
|
|
<tr>
|
|
<td ><?=$osvorm->naam?></td>
|
|
<?php
|
|
if ($osvorm->groepsaantallen) {
|
|
foreach($osvorm->groepsaantallen as $groepsaantallen){ ?>
|
|
|
|
<td style="text-align:right"><?=$groepsaantallen->aantal?></td>
|
|
|
|
<?php };};?>
|
|
<td style="text-align: right" ><?=$osvorm->vormtotaal?></td>
|
|
</tr>
|
|
<?php ;} ;}; };?>
|
|
|
|
<tr style="border-top: 1px solid #dbdbdb">
|
|
<td>Totaal</td>
|
|
<?php $schoolsom2 = 0;
|
|
if ($groepen){
|
|
foreach ($groepen as $groep){
|
|
$schoolsom2 = $schoolsom2 + $groep->som2; ?>
|
|
<td style="text-align:right"><?=$groep->som2?></td>
|
|
<?php };}; ?>
|
|
<td style= "text-align: right; "><?=$schoolsom2?></td>
|
|
</tr>
|
|
<tr style="background-color:#6F0B3D ; color:#ffffff;">
|
|
<td colspan=<?php echo $colspan; ?> >Extra ondersteuning</td>
|
|
</tr>
|
|
<?php if($osvormen){
|
|
foreach($osvormen as $osvorm){
|
|
if ($osvorm->nivo ==3){?>
|
|
<tr>
|
|
<td ><?=$osvorm->naam?></td>
|
|
<?php
|
|
if ($osvorm->groepsaantallen) {
|
|
foreach($osvorm->groepsaantallen as $groepsaantallen){ ?>
|
|
|
|
<td style="text-align:right"><?=$groepsaantallen->aantal?></td>
|
|
|
|
<?php };};?>
|
|
<td style="text-align: right" ><?=$osvorm->vormtotaal?></td>
|
|
</tr>
|
|
<?php ;} ;}; };?>
|
|
<tr style="border-top: 1px solid #dbdbdb">
|
|
<td>Totaal</td>
|
|
<?php $schoolsom3 = 0;
|
|
if ($groepen){
|
|
foreach ($groepen as $groep){
|
|
$schoolsom3 = $schoolsom3 + $groep->som3; ?>
|
|
<td style="text-align:right"><?=$groep->som3?></td>
|
|
<?php };}; ?>
|
|
<td style= "text-align: right; "><?=$schoolsom3?></td>
|
|
</tr>
|
|
|
|
|
|
<tr style="background-color:#6F0B3D ; color:#ffffff;">
|
|
<td colspan=<?php echo $colspan; ?> >Extra ondersteuning-plus</td>
|
|
</tr>
|
|
<?php if($osvormen){
|
|
foreach($osvormen as $osvorm){
|
|
if ($osvorm->nivo ==4){?>
|
|
<tr>
|
|
<td ><?=$osvorm->naam?></td>
|
|
<?php
|
|
if ($osvorm->groepsaantallen) {
|
|
foreach($osvorm->groepsaantallen as $groepsaantallen){ ?>
|
|
|
|
<td style="text-align:right"><?=$groepsaantallen->aantal?></td>
|
|
|
|
<?php };};?>
|
|
<td style="text-align: right" ><?=$osvorm->vormtotaal?></td>
|
|
</tr>
|
|
<?php ;} ;}; };?>
|
|
<tr style="border-top: 1px solid #dbdbdb">
|
|
<td>Totaal</td>
|
|
<?php $schoolsom4 = 0;
|
|
if ($groepen){
|
|
foreach ($groepen as $groep){
|
|
$schoolsom4 = $schoolsom4 + $groep->som4; ?>
|
|
<td style="text-align:right"><?=$groep->som4?></td>
|
|
<?php };}; ?>
|
|
<td style= "text-align: right; "><?=$schoolsom4?></td>
|
|
</tr>
|
|
|
|
<tr style="background-color:#6F0B3D ; color:#ffffff;">
|
|
<td> Totale diversiteit per groep</td>
|
|
<?php
|
|
if ($groepen){
|
|
foreach ($groepen as $groep){ ?>
|
|
<td style="text-align:right" ><?=$groep->diversiteit?></td>
|
|
<?php ;};} ;
|
|
// ls: okt 2019 als je het zo doet verlies je weer de combifactoren. Dus kun je beter totdiversiteit meegeven
|
|
// want die is toch al berekend (zie de td hieronder)
|
|
// $schooldiversiteit = round(($schoolsom1 + (1.5 * $schoolsom2) + (2 * $schoolsom3) + (4 * $schoolsom4)), 1);
|
|
?>
|
|
<td style="text-align:right" ><?=$totdiversiteit?></td>
|
|
</tr>
|
|
<tr >
|
|
<td> DQ's</td>
|
|
<?php
|
|
$gewogensom=0;
|
|
if ($groepen){
|
|
foreach ($groepen as $groep){
|
|
?>
|
|
<td style="text-align:right" ><?=$groep->dq?></td>
|
|
<?php } ;} ;
|
|
if (! isset($schooldq)){
|
|
$schooldq = 0;
|
|
} ?>
|
|
<td style="text-align:right"><?=number_format($schooldq,2)?></td>
|
|
</tr>
|
|
</table>
|
|
<?php }; ?>
|