171 lines
5.8 KiB
PHP
171 lines
5.8 KiB
PHP
<link rel="stylesheet" href="<?=base_url()?>css/ijkpartituur/reports.css" type="text/cs">
|
|
|
|
|
|
<?php if(isset($pdf)): ?>
|
|
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
|
|
<?php endif ;?>
|
|
|
|
<?php if(isset($pdf)): ?>
|
|
<head>
|
|
</head>
|
|
<body style= "font-family:'Open Sans', sans; font-size:11px;">
|
|
<?php endif ; ?>
|
|
|
|
<header style="display:none">
|
|
<!-- dit stukje van header moet worden opgenomen om het logo-image in de header af te drukken
|
|
vanwege asynchrone afhandeling wordt de image anders niet op tijd geladen -->
|
|
<img src="<?=base_url()?>css/images/frameworklogo30.png" height="30" />
|
|
</header>
|
|
<!-- onderstaaande div om all standaard opmaak aan te hangen -->
|
|
<div class="reportdiv" style='width:635px'>
|
|
<div style="border:2px solid #975796; padding:5px">
|
|
<p>SELECTIECRITERIA</p>
|
|
<p></p>
|
|
<p> partituur: <?=$partituurNaam?> </p>
|
|
</div>
|
|
|
|
<div class="paarskop" style="text-align: center"> <?=$partituurNaam?> </div>
|
|
<div class="oranjekop"> Partituur colofon</div>
|
|
<table>
|
|
<tr>
|
|
<td>Periode</td>
|
|
<td> <?php if ($partituurInfo->startdatum ){ echo $partituurInfo->startdatum;} else {echo "--";}; ?>
|
|
t/m
|
|
<?php if ($partituurInfo->einddatum ){ echo $partituurInfo->einddatum;} else {echo "--";}; ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Projectleider</td>
|
|
<td><?=$partituurInfo->projectleider->fullname?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Correspondentie e-mail</td>
|
|
<td><?=$partituurInfo->email?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Gemiddeld gereed</td>
|
|
<td><?=$partituurInfo->gereed?>%</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Totale kosten</td>
|
|
<td>€ <?=$partituurInfo->kosten?></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
<div class="oranjekop"> IJkpuntresultaten</div>
|
|
<div style="float:left;width:430px;">
|
|
<table style="layout:fixed;cell-spacing:0px; border-collapse:collapse">
|
|
<thead>
|
|
<tr>
|
|
<td colspan=5 style="text-align:right"> huidige situatie </td>
|
|
<td style="width:10px"> </td>
|
|
<td colspan=4 style="text-align:center"> gewenste situatie</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="min-width:180px; background-color:#ebebeb;">IJkpunt</td>
|
|
<td class="nump" style="background-color: <?=$kleurcodes->kleur1?>; color:#ffffff;">1</td>
|
|
<td class="nump" style="background-color: <?=$kleurcodes->kleur2?>; color:#ffffff;">2</td>
|
|
<td class="nump" style="background-color: <?=$kleurcodes->kleur3?>; color:#ffffff;">3</td>
|
|
<td class="nump" style="background-color: <?=$kleurcodes->kleur4?>; color:#ffffff;">4</td>
|
|
|
|
<td style="background-color:#ebebeb"> </td>
|
|
<td class="nump" style="background-color:<?=$kleurcodes->kleur1?>; color:#ffffff; text-align:center">1</td>
|
|
<td class="nump" style="background-color: <?=$kleurcodes->kleur2?>; color:#ffffff;>">2</td>
|
|
<td class="nump" style="background-color: <?=$kleurcodes->kleur3?>; color:#ffffff;>">3</td>
|
|
<td class="nump" style="background-color: <?=$kleurcodes->kleur4?>; color:#ffffff;>">4</td>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($pijlers as $pijler) { ?>
|
|
<tr>
|
|
<td style="width: 180px"><?=$pijler->naam?></td>
|
|
<td class="nump0">
|
|
<?php if($pijler->huidig ==1){ ?>
|
|
<div class='cirkel<?=$pijler->huidig?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
<td class="nump0 ">
|
|
<?php if($pijler->huidig ==2){ ?>
|
|
<div class='cirkel<?=$pijler->huidig?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
<td class="nump0 ">
|
|
<?php if($pijler->huidig ==3){ ?>
|
|
<div class='cirkel<?=$pijler->huidig?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
<td class="nump0 ">
|
|
<?php if($pijler->huidig ==4){ ?>
|
|
<div class='cirkel<?=$pijler->huidig?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
|
|
<td style="background-color:#ebebeb"> </td>
|
|
<td class="nump0" >
|
|
<?php if($pijler->gewenst ==1){ ?>
|
|
<div class='cirkel<?=$pijler->gewenst?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
<td class="nump0">
|
|
<?php if($pijler->gewenst ==2){ ?>
|
|
<div class='cirkel<?=$pijler->gewenst?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
<td class="nump0 ">
|
|
<?php if($pijler->gewenst ==3){ ?>
|
|
<div class='cirkel<?=$pijler->gewenst?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
<td class="nump0">
|
|
<?php if($pijler->gewenst ==4){ ?>
|
|
<div class='cirkel<?=$pijler->gewenst?>'></div>
|
|
<?php ;} ; ?>
|
|
</td>
|
|
|
|
</tr>
|
|
<?php ;}; ?>
|
|
</tbody>
|
|
<!-- <tr>
|
|
<td><b>Totaalscore & beeld</b> </td>
|
|
<td colspan = 3><?=$somhuidig ?> </td>
|
|
<td> <?=$beeldhuidig?> </td>
|
|
<td style="background-color:#ebebeb"></td>
|
|
<td colspan = 3> <?=$mingewenst.'-'.$maxgewenst?></td>
|
|
<td><?=$beeldgewenst; ?></td>
|
|
</tr> -->
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div style="float:left; width:180px; padding-left:7px">
|
|
<p style="font-weight:bold; margin-top: 20px">IJkpuntadvies</p>
|
|
<?php foreach($pijlers as $pijler){
|
|
if ($pijler->huidig < $pijler->gewenst) {echo "<p>".$pijler->naam."</p>";};
|
|
}; ?>
|
|
</div>
|
|
<!-- <div style=" float:left;width: 95%;margin-top:20px">
|
|
<p> Conclusie: <?php echo $orgnaam ?> is een
|
|
<?php foreach($descriptions as $description){
|
|
if ($description->nummer == $beeldhuidig){
|
|
echo ' <u><b>'.$description->header.'</b></u>.</p>';
|
|
echo '<p> </p><p>'.$description->tekst.'</p>';
|
|
};
|
|
} ; ?>
|
|
<p> </p>
|
|
<p>In de gewenste situatie wil <?php echo $orgnaam ?> een
|
|
<?php foreach($descriptions as $description){
|
|
if ($description->nummer == $beeldgewenst){
|
|
echo ' <u><b>'.$description->header.'</b></u> zijn. </p>';
|
|
echo '<p> </p><p>'.$description->tekst.'</p>';
|
|
};
|
|
} ; ?>
|
|
</div>
|
|
-->
|
|
</div>
|
|
<?php if(isset($pdf)): ?>
|
|
</body>
|
|
<?php endif ; ?>
|