flexibel sop

This commit is contained in:
Monique
2021-11-19 19:59:34 +01:00
parent b8177ade48
commit 39a120e214
14 changed files with 204 additions and 100 deletions
@@ -24,8 +24,11 @@
</td>
<?php
if ($lk->scores) {
foreach($lk->scores as $result){
echo "<td style='background-color:".$result->colorcode." ; color:#ffffff;text-align:right; padding-right:1px '>".number_format($result->gem,0)."</td>";
foreach($lk->scores as $result){
$tekst = number_format($result->gem,0);
if($result->disablenvt == 'T') $tekst = 'nvt';
if($result->disabled == 'T') $tekst = 'uit';
echo "<td style='background-color:".$result->colorcode." ; color:#ffffff;text-align:right; padding-right:1px '>".$tekst."</td>";
};?>
<td style="background-color: <?=$lk->colorcode?>; color:#ffffff;text-align:right; padding-right:1px" ><?=$lk->lkgem?></td>
<?php }; // if scores ?>