printfunctie bij invullen uitgezet
This commit is contained in:
@@ -13,10 +13,10 @@
|
||||
value : selectedOrgversion,
|
||||
event : {change: fChangeVersion}">
|
||||
</select>
|
||||
<span style="display: inline-block; float:right"
|
||||
class="glyphicon glyphicon-print"
|
||||
data-bind="click: fPrint">
|
||||
</span>
|
||||
<!-- <span style="display: inline-block; float:right"-->
|
||||
<!-- class="glyphicon glyphicon-print"-->
|
||||
<!-- data-bind="click: fPrint">-->
|
||||
<!-- </span>-->
|
||||
|
||||
</h4>
|
||||
<div class="row">
|
||||
|
||||
@@ -41,10 +41,9 @@
|
||||
<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>
|
||||
<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>
|
||||
@@ -54,26 +53,26 @@
|
||||
|
||||
<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 == 3 ||$score->scoretype == 4 ||$score->scoretype == 5 ||
|
||||
$score->scoretype == 6|| $score->scoretype == 7){
|
||||
if ($score->scoretype== 6) {
|
||||
$textJa = ' onvol.';
|
||||
$textNee = 'vol.';}
|
||||
$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; ?>
|
||||
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user