Skip to content

Commit

Permalink
wheeldrive
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Apr 15, 2024
1 parent 07271e5 commit 3ad1a7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/controllers/Inspection.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ public function inspection_view($id)
$inspections = $this->itindata_model->get_inspectionsfull(array('id_inspection' => $id));
$data['inspection'] = $inspections[0];
$data['fueltypes'] = $this->_getfueltypes();
$data['wheeldrives'] = $this->_getwheeldrives();
$inspection = $inspections[0];
$data['sec1score'] = $inspection->s1score_inspection;
$data['sec2score'] = $inspection->s2score_inspection;
Expand Down Expand Up @@ -491,6 +492,7 @@ public function vehicle_add() {
$data['carbrands'] = $this->_getcarbrands();
$data['vhcltypes'] = $this->_getvhcltypes();
$data['fueltypes'] = $this->_getfueltypes();
$data['wheeldrives'] = $this->_getwheeldrives();
$data['clients'] = $this->itindata_model->get_clientsplain();
$this->load->view('header', $data);
$this->load->view('vehiclesform', $data);
Expand Down Expand Up @@ -698,6 +700,7 @@ public function vehicle_edit($id_vhcl) {
$data['carbrands'] = $this->_getcarbrands();
$data['vhcltypes'] = $this->_getvhcltypes();
$data['fueltypes'] = $this->_getfueltypes();
$data['wheeldrives'] = $this->_getwheeldrives();
$data['clients'] = $this->itindata_model->get_clientsplain();
$data['vhcldata'] = $this->itindata_model->get_vehiclesfull(array('id_vhcl' => $id_vhcl));
//print_r($data['clients']);
Expand Down

0 comments on commit 3ad1a7a

Please sign in to comment.