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 816d87b commit 2d08b16
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions application/views/pdfreport.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
<td class="text-center">&nbsp;</td>
</tr>
<?php
$z = $z + 1;

?>
<?php if (isset($inspremark[$cp['id_cp']])){ ?>
<tr style="padding:3px 0; page-break-inside:avoid;<?php if($z % 2 != 0){ echo "; background: #ccc;"; } ?>" class="pointrow">
Expand All @@ -280,7 +280,9 @@
<u><?= $this->lang->line('comment'); ?></u><br/>
<?php echo $inspremark[$cp['id_cp']]; ?>
</td></tr>
<?php }}
<?php }
$z = $z + 1;
}
$mcp = $cp['mainsectid'];
$scp = $cp['id_section'];
endforeach ?>
Expand Down

0 comments on commit 2d08b16

Please sign in to comment.