Commit 7d3596ae by Jansa Jose

remove product

parent b7df6e16
...@@ -1500,8 +1500,8 @@ ...@@ -1500,8 +1500,8 @@
} }
public function serviceBookSuccess($ref=''){ public function serviceBookSuccess($ref=''){
$this->db->select('customer_vehicle.car_name,bookings.scheduled_date,bookings.scheduled_time, $this->db->select('customer_vehicle.car_name,bookings.scheduled_date,bookings.scheduled_time
customers.email,bookings.cost'); ,customers.email,bookings.cost');
$this->db->from('transaction'); $this->db->from('transaction');
$this->db->join('bookings','transaction.booking_id = bookings.booking_id'); $this->db->join('bookings','transaction.booking_id = bookings.booking_id');
$this->db->join('customer_vehicle','customer_vehicle.customer_veh_id = bookings.customer_veh_id'); $this->db->join('customer_vehicle','customer_vehicle.customer_veh_id = bookings.customer_veh_id');
...@@ -2160,7 +2160,7 @@ ...@@ -2160,7 +2160,7 @@
$respArr['message'] = 'Authtoken is Required'; $respArr['message'] = 'Authtoken is Required';
echo json_encode($respArr);exit; echo json_encode($respArr);exit;
} }
$post = file_get_contents("php://input"); $post = file_get_contents("php://input");
$postData = json_decode($post,true); $postData = json_decode($post,true);
...@@ -2190,6 +2190,9 @@ ...@@ -2190,6 +2190,9 @@
echo json_encode($authRes);exit; echo json_encode($authRes);exit;
} }
$post = file_get_contents("php://input");
$postData = json_decode($post,true);
$result = $this->Webservice_model->removeCartPrdt($postData); $result = $this->Webservice_model->removeCartPrdt($postData);
echo json_encode($result);exit; echo json_encode($result);exit;
} }
......
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