From 0d345c3bf348b46fc130913ef455fd64e161d3a9 Mon Sep 17 00:00:00 2001 From: pavlosb Date: Mon, 1 Apr 2024 20:22:17 +0300 Subject: [PATCH] fueltype --- application/controllers/Inspection.php | 2 +- application/views/vehiclesform.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Inspection.php b/application/controllers/Inspection.php index 34f5b74..05f0c13 100644 --- a/application/controllers/Inspection.php +++ b/application/controllers/Inspection.php @@ -516,12 +516,12 @@ public function vehicle_save() { $insdata['type_vhcl'] = $this->input->post('type_vhcl'); $insdata['make_vhcl'] = $this->input->post('make_vhcl'); $insdata['model_vhcl'] = $this->input->post('model_vhcl'); + $insdata['fueltyp_vhcl'] = $this->input->post('fueltyp_vhcl'); $insdata['displ_vhcl'] = $this->input->post('displ_vhcl'); $insdata['pow_vhcl'] = $this->input->post('pow_vhcl'); $insdata['doors_vhcl'] = $this->input->post('doors_vhcl'); $insdata['colour_vhcl'] = $this->input->post('colour_vhcl'); $insdata['firstreg_vhcl'] = date('Y-m-d', strtotime(date('Y-d-m', strtotime('01/' . str_replace('-', '/', $this->input->post('firstreg_vhcl')))))); - $insdata['fueltyp_vhcl'] = $this->input->post('fueltyp_vhcl'); //$insdata['nxtdate_vhcl'] = date('Y-m-d', strtotime(date('Y-d-m', strtotime('01/' . str_replace('-', '/', $this->input->post('nxtdate_vhcl')))))); if (isset($_POST['id_vhcl'])) { $this->itindata_model->upd_vehicle($this->input->post('id_vhcl'), $insdata); diff --git a/application/views/vehiclesform.php b/application/views/vehiclesform.php index fb156d2..cf9f2c5 100644 --- a/application/views/vehiclesform.php +++ b/application/views/vehiclesform.php @@ -88,7 +88,7 @@
-
+