diff --git a/application/views/pdfreport.php b/application/views/pdfreport.php index 69f2017..fd7d6ab 100644 --- a/application/views/pdfreport.php +++ b/application/views/pdfreport.php @@ -4,6 +4,12 @@ } else { $langprefix ="en_"; } + + $ev = array("electric", "pluginpetrol", "plugindiesel"); + if (!in_array($inspection->fueltyp_vhcl, $ev)) { + unset($checkpoints[0]); +} + ?> @@ -252,6 +258,7 @@ $pointscore = $inspscore[$cp['id_cp']]; if ($pointscore != 0) { ?> + " class="pointrow">   + + " class="pointrow"> + + + +  + +