initial commit

This commit is contained in:
2021-07-10 16:25:16 +02:00
parent bff57cbf45
commit 20fb7267a8
2426 changed files with 792090 additions and 0 deletions
@@ -0,0 +1,91 @@
<style>
.header2{
border-bottom: 1px solid #a07b8e;
background-color:#e7e7e7;
font-weight:400;
padding-top:0px;
}
.bb{
border-bottom: 1px dotted #ebebeb;
}
</style>
<div style="font-family: Opensans, Arial,Verdana,sans; font-size: 10px">
<h4> <?=$instrument?>: Invullijst</h4>
<hr/>
<table style=" font-family: inherit; font-size:inherit" >
<tr>
<td>School:</td>
<td><?=$organisatie ?></td>
</tr>
<tr>
<td>Lijstversie: </td>
<td><?=$versie?></td>
</tr>
<tr>
<td>Per: </td>
<td><?=$today?></td>
</tr>
</table>
<hr/>
</div>
<table style="width: 100%; font-size:0.7em">
<?php if ($listitems){
foreach($listitems as $item) { ?>
<tr>
<td style="width:30px; background-color:#6f0b3d; color:#ffffff" data-bind="text:nummer"><?=$item->nummer?></td>
<td style="background-color:#6f0b3d; color:#ffffff" ><?=$item->omschrijving?></td>
</tr>
<tr>
<td colspan = 2 style="padding-top:0px">
<table style="width:100%; font-size:0.9em">
<thead>
<tr>
<th class="header2" style="width:20px;padding-left: 2px;text-align:right"> nr </th>
<th class="header2" style="width:65%; padding-left: 2px; text-align: left">indicator</th>
<th class="header2" style="width:30px;padding-left: 2px;text-align:center">insp.</th>
<th class="header2" style="width:150px;padding-left: 2px;text-align:left"> score</th>
</tr>
</thead>
<tbody>
<?php if ($item->indicatorscores){
foreach($item->indicatorscores as $score){ ?>
<tr style="border-bottom: 1px solid #ebebeb">
<td class="bb" style="text-align:right;vertical-align:top"><?=$score->nummer?></td>
<td class="bb" style="vertical-align:top"><?=$score->omschrijving?></td>
<td class="bb" style="vertical-align:top" data-bind="text: inspectie.length > 0 ? '(' + inspectie + ')' : '' ">
<?php if ($score->inspectie) { echo "(".$score->inspectie.")" ;} ;?>
</td>
<td class="bb">
<?php if ($score->scoretype == 1){echo $score->score;};
if ($score->scoretype == 2){echo $score->score." %";};
if ($score->scoretype == 3 ||$score->scoretype == 4 ||$score->scoretype == 5 || $score->scoretype == 6){
if ($score->scoretype== 6) {
$textJa = ' onvol.';
$textNee = 'vol.';}
else {
$textJa ="ja";
$textNee = 'nee';
};
?>
<input type='radio' naam='score' value ='1' <?php if ($score->score ==1) echo "checked"; ?> /><span style="display: inline-block; margin-left:2px; margin-right:5px"><?=$textJa?></span>
<input type='radio' naam='score' value ='2' <?php if ($score->score ==2) echo "checked"; ?> /><span style="display: inline-block; margin-left:2px; margin-right:5px"> <?=$textNee?> </span>
<input type='radio' naam='score' value ='3' <?php if ($score->score ==3) echo "checked"; ?> /> <span style="display: inline-block; margin-left:2px;" > <?=$score->thirdoptiontext?></span>
<?php } else echo $score->scoretype; ?>
</div>
</td>
</tr>
<?php }; };?>
</tbody>
</table>
</td>
</tr>
<?php }; }; ?>
</table>
<?php if ($notitie){
echo "<p>Notitie</p>";
echo "<span style='font-size:0.8em'>".$notitie."</span>";
} ?>