|
|
@ -25,9 +25,9 @@ |
|
|
|
$scoremaxtot=0; |
|
|
|
$scoremaxtot=0; |
|
|
|
foreach ($spelgebied['onderdeel'] as $onderdeel) { ?> |
|
|
|
foreach ($spelgebied['onderdeel'] as $onderdeel) { ?> |
|
|
|
<td><?php echo $onderdeel['naam']; ?></td>
|
|
|
|
<td><?php echo $onderdeel['naam']; ?></td>
|
|
|
|
<td class="text-right"><?php echo round($onderdeel['score'],0); $scoretot = $scoretot + $onderdeel['score']; ?></td>
|
|
|
|
<td class="text-right"><?php echo number_format(round($onderdeel['score'], $round), $round, ',', ''); $scoretot = $scoretot + $onderdeel['score']; ?></td>
|
|
|
|
<td class="text-right"><?php echo round($onderdeel['scoremax'],0); $scoremaxtot = $scoremaxtot + $onderdeel['scoremax']; ?></td>
|
|
|
|
<td class="text-right"><?php echo number_format(round($onderdeel['scoremax'],$round), $round); $scoremaxtot = $scoremaxtot + $onderdeel['scoremax']; ?></td>
|
|
|
|
<td class="text-right"><?php echo round(($onderdeel['score']/$onderdeel['scoremax'])*100, 0)."%"; ?></td>
|
|
|
|
<td class="text-right"><?php echo number_format(round(($onderdeel['score']/$onderdeel['scoremax'])*100, $round), $round, ',', '')."%"; ?></td>
|
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td></td> |
|
|
|
<td></td> |
|
|
@ -36,9 +36,9 @@ |
|
|
|
$totalmax=$totalmax+$onderdeel['scoremax']; |
|
|
|
$totalmax=$totalmax+$onderdeel['scoremax']; |
|
|
|
} ?> |
|
|
|
} ?> |
|
|
|
<td class="active"><strong>Subtotaal:</strong></td> |
|
|
|
<td class="active"><strong>Subtotaal:</strong></td> |
|
|
|
<td class="text-right active"><strong><?php echo round($scoretot,0); ?></strong></td>
|
|
|
|
<td class="text-right active"><strong><?php echo number_format(round($scoretot, $round), $round, ',', ''); ?></strong></td>
|
|
|
|
<td class="text-right active"><strong><?php echo round($scoremaxtot,0); ?></strong></td>
|
|
|
|
<td class="text-right active"><strong><?php echo number_format(round($scoremaxtot, $round), $round, ',', ''); ?></strong></td>
|
|
|
|
<td class="text-right active"><strong><?php echo round(($scoretot/$scoremaxtot)*100, 0); ?>%</strong></td>
|
|
|
|
<td class="text-right active"><strong><?php echo number_format(round(($scoretot/$scoremaxtot)*100, $round), $round, ',', ''); ?>%</strong></td>
|
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
<?php } ?> |
|
|
|
<?php } ?> |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
@ -46,9 +46,9 @@ |
|
|
|
<tr class="active"> |
|
|
|
<tr class="active"> |
|
|
|
<th></th> |
|
|
|
<th></th> |
|
|
|
<th>Totaal:</th> |
|
|
|
<th>Totaal:</th> |
|
|
|
<th class="text-right"><?php echo round($total, 0); ?></th>
|
|
|
|
<th class="text-right"><?php echo number_format(round($total, $round), $round, ',', ''); ?></th>
|
|
|
|
<th class="text-right"><?php echo round($totalmax, 0 ); ?></th>
|
|
|
|
<th class="text-right"><?php echo number_format(round($totalmax, $round), $round, ',', ''); ?></th>
|
|
|
|
<th class="text-right"><?php echo round(($total/$totalmax)*100, 0); ?>%</th>
|
|
|
|
<th class="text-right"><?php echo number_format(round(($total/$totalmax)*100, $round), $round, ',', ''); ?>%</th>
|
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|