Commit 6c36a3f4 by Jansa Jose

crone msg

parent c45c9f76
...@@ -2471,7 +2471,7 @@ class Webservice extends CI_Controller { ...@@ -2471,7 +2471,7 @@ class Webservice extends CI_Controller {
} }
public function cancel_booking_resend_cron($type=null){ public function cancel_booking_resend_cron($type=null){
$this->db->insert('tbl_crone',array('msg'=>"inserted Successfully",'insert_date'=>date('h:i'))); $this->db->insert('tbl_crone',array("msg"=>"inserted Successfully","insert_date"=>date('Y-m-d h:i')));
if(isset($type) && !empty($type)){ if(isset($type) && !empty($type)){
$result = $this->db->query('SELECT * FROM `tbl_waiting_list_id_crone` WHERE booking_id ='.$type)->result_array(); $result = $this->db->query('SELECT * FROM `tbl_waiting_list_id_crone` WHERE booking_id ='.$type)->result_array();
}else{ }else{
......
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