Commit 128dae6f by Jansa Jose

change time

parent 353996c3
...@@ -59,7 +59,7 @@ class Booking_model extends CI_Model { ...@@ -59,7 +59,7 @@ class Booking_model extends CI_Model {
$this->db->insert('customer_vehicle',$insert_array); $this->db->insert('customer_vehicle',$insert_array);
$last_id = $this->db->insert_id(); $last_id = $this->db->insert_id();
} }
$time = (!is_numeric($postData['schedule_date']['time'])? $time = (!is_numeric($postData['schedule_date']['time']))?
$postData['schedule_date']['time']: $postData['schedule_date']['time']:
date('h:i A',($postData['schedule_date']['time'])/1000); date('h:i A',($postData['schedule_date']['time'])/1000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment