pdf van invullijst
This commit is contained in:
@@ -1,17 +1,89 @@
|
||||
<style>
|
||||
<!doctype html>
|
||||
<html >
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Invullijst</title>
|
||||
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url_secure'); ?>/js_lib/jquery.min.js?v=1.17.26"></script>
|
||||
<link rel="stylesheet" href="/css_lib/bootstrap-3.3.2-dist/css/bootstrap.css" crossorigin="anonymous" />
|
||||
<!-- -->
|
||||
<!-- <link rel="stylesheet" href=--><?php //echo MYROOTPATH."public/css/vendor/fontawesome/css/font-awesome.css"?><!-- crossorigin="anonymous" />-->
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
@font-face {
|
||||
font-family : 'OpenSans';
|
||||
src : url( http://app.monpas.nl/fonts/opensans-regular-webfont-webfont.ttf);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family : 'OpenSans', Helvetica, Arial, sans-serif;
|
||||
font-size : 1.2em;
|
||||
}
|
||||
.header2{
|
||||
border-bottom: 1px solid #a07b8e;
|
||||
background-color:#e7e7e7;
|
||||
font-weight:400;
|
||||
padding-top:0px;
|
||||
padding-top:0;
|
||||
}
|
||||
.bb{
|
||||
border-bottom: 1px dotted #ebebeb;
|
||||
}
|
||||
</style>
|
||||
input[type='radio']:after {
|
||||
background-color: #ffffff;
|
||||
content: '';
|
||||
display: inline-block;
|
||||
visibility: visible;
|
||||
border: 2px solid gainsboro;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
border-radius: 15px;
|
||||
top: -2px;
|
||||
left: -1px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
<div style="font-family: Opensans, Arial,Verdana,sans; font-size: 10px">
|
||||
<h4> <?=$instrument?>: Invullijst</h4>
|
||||
input[type='radio']:checked:after {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
border-radius: 15px;
|
||||
top: -2px;
|
||||
left: -1px;
|
||||
position: relative;
|
||||
background-color: #6f0b3d !important;
|
||||
content: '';
|
||||
display: inline-block;
|
||||
visibility: visible;
|
||||
border: 2px solid gainsboro;
|
||||
}
|
||||
|
||||
.breakpagepdf{
|
||||
page-break-after: always;
|
||||
}
|
||||
.rapport{
|
||||
text-align: right;
|
||||
padding-right: 3px;
|
||||
max-width:40px;
|
||||
}
|
||||
|
||||
.alleenVoorPdf{
|
||||
display: inline;
|
||||
}
|
||||
.nietVoorPdf{
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div >
|
||||
<!-- --><?php //if (isset($data)) {?>
|
||||
<p style="font-size: 2em"> <?=$module?>: Invullijst</p>
|
||||
<hr/>
|
||||
<table style=" font-family: inherit; font-size:inherit" >
|
||||
<tr>
|
||||
@@ -20,7 +92,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lijstversie: </td>
|
||||
<td><?=$versie?></td>
|
||||
<td><?=$info?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Per: </td>
|
||||
@@ -28,63 +100,13 @@
|
||||
</tr>
|
||||
</table>
|
||||
<hr/>
|
||||
<div style="width: 950px; "><?=$tabel ?></div>
|
||||
<?php if ($notitie) {?>
|
||||
<div style="width: 950px;margin-top: 20px;"><?=$notitie ?></div>
|
||||
<?php }; ?>
|
||||
</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:3%;padding-left: 2px;text-align:right"> nr </th>
|
||||
<th class="header2" style="width:60%; padding-left: 2px; text-align: left">indicator</th>
|
||||
<th class="header2" style="width:30%;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">
|
||||
<?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|| $score->scoretype == 7){
|
||||
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>";
|
||||
} ?>
|
||||
|
||||
<div style="width: 950px;margin-top: 20px; "><?=$zichtbaar ?></div>
|
||||
<?php //}; ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user