Skip to content

Commit

Permalink
Update pdfreport.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Jun 25, 2024
1 parent fef4452 commit bfd40d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/views/pdfreport.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
?>
<?php if ($cp['cptype'] == 'chs') { ?>
<tr style="padding:3px 0; page-break-inside:avoid;<?php if($z % 2 != 0){ echo "; background: #ccc;"; } ?>" class="pointrow">
<td style="width:60%; min-height:20px;"><?= sprintf("%02d",$z) ?> <?= $cp[$printtext_cp]; ?></td>
<td style="width:58%; min-height:20px;"><?= sprintf("%02d",$z) ?> <?= $cp[$printtext_cp]; ?></td>
<td class="text-center" style="width:7%; padding:2px 0 0 0"><?php

if ($pointscore > 0) { ?>
Expand All @@ -275,7 +275,7 @@
</tr>
<?php } else { ?>
<tr style="padding:3px 0; page-break-inside:avoid;<?php if($z % 2 != 0){ echo "; background: #ccc;"; } ?>" class="pointrow">
<td style="width:60%; min-height:20px;"><?= sprintf("%02d",$z) ?> <?= $cp[$printtext_cp]; ?></td>
<td style="width:58%; min-height:20px;"><?= sprintf("%02d",$z) ?> <?= $cp[$printtext_cp]; ?></td>
<td class="text-center" style="width:7%; padding:2px 0 0 0"><?php
echo $pointscore." %";
?>
Expand Down

0 comments on commit bfd40d4

Please sign in to comment.