Skip to content

Commit

Permalink
Update inspectionform.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Jun 30, 2024
1 parent 154dc5a commit f41af33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/views/inspectionform.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
$name_section = $langprefix."name_section";
$name_cp = $langprefix."name_cp";
$helptext_cp = $langprefix."helptext_cp";
$ev = array("electric", "pluginpetrol", "plugindiesel");
if (!in_array($inspection->fueltyp_vhcl, $ev)) {
unset($checkpoints[0]);
}
?>
<div class="container mt-5 mb-5">
<div class="row justify-content-center">
Expand Down

0 comments on commit f41af33

Please sign in to comment.