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

94 lines
6.3 KiB
PHP

<!doctype html>
<html>
<head>
<style>
body {
font-family: 'Verdana', 'sans-serif';
font-size: 12px;
}
</style>
</head>
<body>
<div id="tabinspectieagenda">
<table style="width: 100%; border-collapse: collapse; border: 1px; solid grey;line-height:1.6em">
<colgroup>
<col style="width: 25px; ">
<col >
<col span='9' style="width: 22px">
</colgroup>
<tr style="border: 1px solid grey;border-bottom: none; background-color: #ded0d7;">
<td colspan=2 style="border: 1px; solid grey; border-bottom: none;"></td>
<td colspan=4 style="text-align:center; border: 1px; solid grey;"> <b>huidige situatie</b></td>
<td style="border: 1px; solid grey;"></td>
<td colspan =4 style="text-align:center; border: 1px; solid grey;"> <b> gewenste situatie</b></td>
</tr>
<tr style="border: 1px solid grey;border-top: none; background-color: #ded0d7 ">
<td style="width: 25px; border-bottom: 1px solid grey; font-weight: bold">nr</td>
<td style="font-weight: bold; border-bottom: 1px solid grey;">standaarden</td>
<td style=" text-align:center; border-bottom: 1px solid grey; background-color: <?=$data['kleuren']->kleur1?>; color:#ffffff"> 1</td>
<td style=" text-align:center; border-bottom: 1px solid grey;background-color: <?=$data['kleuren']->kleur2?>; color:#ffffff"> 2</td>
<td style=" text-align:center; border-bottom: 1px solid grey;background-color: <?=$data['kleuren']->kleur3?>; color:#ffffff"> 3</td>
<td style=" text-align:center; border-bottom: 1px solid grey;background-color: <?=$data['kleuren']->kleur4?>; color:#ffffff"> 4</td>
<td style="background-color:#ded0d7; border-bottom: 1px solid grey;"></td>
<td style="text-align:center; border-bottom: 1px solid grey;background-color: <?=$data['kleuren']->kleur1?>; color:#ffffff"> 1</td>
<td style="text-align:center; border-bottom: 1px solid grey;background-color: <?=$data['kleuren']->kleur2?>; color:#ffffff"> 2</td>
<td style="text-align:center; border-bottom: 1px solid grey;background-color: <?=$data['kleuren']->kleur3?>; color:#ffffff"> 3</td>
<td style="text-align:center; border-bottom: 1px solid grey;background-color: <?=$data['kleuren']->kleur4?>; color:#ffffff"> 4</td>
</tr>
<?php
if ($data['oordelen']){
foreach ($data['oordelen'] as $oordeel){ ?>
<tr >
<td style="border:1px solid #dddddd; text-align:right; padding-right:3px"><?=$oordeel->nummer?></td>
<td style="border:1px solid #dddddd;padding-left:2px;"><?=$oordeel->omschrijving?></td>
<td style="border:1px solid #dddddd" >
<?php if ($oordeel->normid == 1){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($oordeel->kleur)){echo $oordeel->kleur;} ?>'></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if ($oordeel->normid == 2){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($oordeel->kleur)){echo $oordeel->kleur;} ?>'></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if ($oordeel->normid == 3){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($oordeel->kleur)){echo $oordeel->kleur;} ?>'></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if ($oordeel->normid == 4){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($oordeel->kleur)){echo $oordeel->kleur;} ?>'></div>
<?php };?>
</td>
<td style="border-bottom:none; border-top:none"></td>
<td style="border:1px solid #dddddd" >
<?php if (isset($oordeel->wensid) && $oordeel->wensid == 1){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($oordeel->wenskleur)){echo $oordeel->wenskleur;} ?>'></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if (isset($oordeel->wensid) && $oordeel->wensid == 2){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($oordeel->wenskleur)){echo $oordeel->wenskleur;} ?>'></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if (isset($oordeel->wensid) && $oordeel->wensid == 3){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($oordeel->wenskleur)){echo $oordeel->wenskleur;} ?>'></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if (isset($oordeel->wensid) && $oordeel->wensid == 4){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($oordeel->wenskleur)){echo $oordeel->wenskleur;} ?>'></div>
<?php };?>
</td>
</tr>
<?php ;};}; ?>
</table>
<p style="font-size: 10px;"><span>Versie: </span><?php if(isset($data['versie'])){echo $data['versie']->naam; }?></p>
</div>
</body>
</html>