Commit 45d62ad0 by Jansa Jose

dc

parent b7364def
......@@ -126,6 +126,7 @@ class Webservice_model extends CI_Model {
}
$customer_data['first_name'] = $customer_data['name'];
unset($customer_data['name']);
$customer_data['is_otp_verified'] = 1;
if($this->db->insert('customers',$customer_data)){
$last_id = $this->db->insert_id();
$this->db->select("TRIM(CONCAT(first_name,' ' ,IFNULL(last_name,''))) as name,customer_id as user_id");
......
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