From 24fd1903508e528f509217704ea6207096537bb3 Mon Sep 17 00:00:00 2001 From: pavlosb Date: Tue, 25 Jun 2024 17:43:00 +0300 Subject: [PATCH] Update pdfreport.php --- application/views/pdfreport.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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"> + + + +  + +