Commit e33f2e6e by Jansa Jose

location update

parent bcd66733
...@@ -341,7 +341,7 @@ class Webservice_model extends CI_Model { ...@@ -341,7 +341,7 @@ class Webservice_model extends CI_Model {
$cost = (isset($postData['is_emergency']) && !empty($postData['is_emergency']))?0:$postData['total_cost']; $cost = (isset($postData['is_emergency']) && !empty($postData['is_emergency']))?0:$postData['total_cost'];
$car_location = (isset($postData['location']) && !empty($postData['location']))?$postData['location']:''; $car_location = (isset($postData['location']) && !empty($postData['location']))?$postData['location']:'';
$car_loc_lat = (isset($postData['location_lat']) && !empty($postData['location_lat']))?$postData['location_lat']:''; $car_loc_lat = (isset($postData['location_lat']) && !empty($postData['location_lat']))?$postData['location_lat']:'';
$car_loc_lng = (isset($postData['location_long']) && !empty($postData['location_long']))?$postData['location_long']:''; $car_loc_lng = (isset($postData['location_lng']) && !empty($postData['location_lng']))?$postData['location_lng']:'';
$insert_array = array( $insert_array = array(
'cost'=>$cost, 'cost'=>$cost,
'scheduled_date'=>$date, 'scheduled_date'=>$date,
......
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