126 lines
4.5 KiB
PHP
126 lines
4.5 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>
|
|
<table>
|
|
<tr>
|
|
<td style="vertical-align:top">IJkpunten in overzicht:</td>
|
|
<td style="vertical-align:top">
|
|
<?php if ($pijlers) {
|
|
foreach($pijlers as $pijler) { echo $pijler->naam.'; ' ;};
|
|
} ; ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>details</td>
|
|
<td> <?php if ($details) {echo "alles" ;} else { echo "geen details" ;} ; ?></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<p> </p>
|
|
<?php if ($details) { ?>
|
|
<?php if ($pijlers) { ?>
|
|
<?php foreach($pijlers as $pijler) { ?>
|
|
<div class='reportdiv paarskop'> <?=$pijler->naam?> </div>
|
|
<?php if ($pijler->activiteiten) { ?>
|
|
<table style='border-collapse: collapse; cellspacing:0px; width: 99%'>
|
|
<?php foreach($pijler->activiteiten as $activiteit) { ?>
|
|
<tr style='background-color:#f99443'>
|
|
<td style="width:30%">Naam</td>
|
|
<td style="width: 70%"><?=$activiteit->naam ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align:top">Omschrijving</td>
|
|
<td style="vertical-align:top"><?=$activiteit->omschrijving ?></td>
|
|
</tr> <tr>
|
|
<td style="vertical-align:top">Verwachte resultaat</td>
|
|
<td style="vertical-align:top"><?=$activiteit->resultaatomschrijving ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Fase</td>
|
|
<td><?=$activiteit->fase ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Bron</td>
|
|
<td><?=$activiteit->bron?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Duur</td>
|
|
<td><?=$activiteit->duur ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align:top">Inhouden</td>
|
|
<td style="vertical-align:top"><?php if ($activiteit->inhouden) {
|
|
foreach($activiteit->inhouden as $inhoud){
|
|
echo '<p>'.$inhoud->omschrijving.'</p>' ;
|
|
} ;
|
|
} else { echo "geen inhouden gevonden." ; } ; ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align:top">Doelgroepen</td>
|
|
<td style="vertical-align:top"><?php if ($activiteit->doelgroepen){
|
|
foreach($activiteit->doelgroepen as $doelgroep){
|
|
echo '<p>'.$doelgroep->omschrijving.'</p>' ;
|
|
};
|
|
} else { echo "geen doelgroepen gevonden." ;} ; ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align:top">Communicatie</td>
|
|
<td style="vertical-align:top"><p>email naar: <?=$activiteit->email_pleider ?>, <?=$activiteit->email_verantwoordelijke?></p>
|
|
<p> email <?$activiteit->email_dagen ?> dagen voor de deadline </p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align:top">Kosten</td>
|
|
<td><?php if($activiteit->kosten){?>
|
|
<table style="width: 100%">
|
|
<?php foreach($activiteit->kosten as $kostregel){ ?>
|
|
<tr>
|
|
<td style='width:65%;'><?=$kostregel->omschrijving?></td>
|
|
<td style="text-align:right;width:35%"><?=$kostregel->kosten?></td>
|
|
</tr>
|
|
<?php ;} ; ?>
|
|
</table>
|
|
<?php ;}; ?></td>
|
|
</tr>
|
|
<?php ;} ; ?>
|
|
</table>
|
|
<?php ;}
|
|
else { echo "Geen activiteiten gevonden." ; } ; ?>
|
|
<?php ; } ; ?>
|
|
<?php ;} ; ?>
|
|
<?php } else { ?>
|
|
<?php if ($pijlers) { ?>
|
|
<?php foreach($pijlers as $pijler) { ?>
|
|
<div class='reportdiv paarskop'> <?=$pijler->naam?> </div>
|
|
<?php if ($pijler->activiteiten) { ?>
|
|
<?php foreach($pijler->activiteiten as $activiteit) { ?>
|
|
<p style="margin-left: 15px"><?=$activiteit->naam ?></p>
|
|
<?php ; } ; ?>
|
|
<?php }; ?>
|
|
<?php } ; ?>
|
|
<?php } ; ?>
|
|
<?php ;} ; ?>
|
|
</div>
|
|
<?php if(isset($pdf)): ?>
|
|
</body>
|
|
<?php endif ; ?>
|