Skip to content

Commit

Permalink
Update pdfreport.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Apr 26, 2024
1 parent 90a099e commit ac092c3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions application/views/pdfreport.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,13 @@
<?php
$y = $y+1;
} ?>
<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 class="text-center" style="width:5%; padding:2px 0 0 0"><?php
$pointscore = $inspscore[$cp['id_cp']];
<?php $pointscore = $inspscore[$cp['id_cp']];
if ($pointscore != 0) {
?>
<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 class="text-center" style="width:5%; padding:2px 0 0 0">

<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 class="text-center" style="width:5%; padding:2px 0 0 0"><?php
Expand Down

0 comments on commit ac092c3

Please sign in to comment.