Commit 7a521ddf by Jansa Jose

check wait list

parent fe7dae17
...@@ -1890,9 +1890,9 @@ print_r(date('H:i',$ms));exit();*/ ...@@ -1890,9 +1890,9 @@ print_r(date('H:i',$ms));exit();*/
} }
else{ else{
$res = array( $res = array(
"status"=> "error", "status"=> "success",
"error"=> "No Data", //"error"=> "No Data",
"message"=> "No more Bookings" "data"=> array('booking_list'=>[])
); );
} }
} }
......
...@@ -3493,13 +3493,12 @@ class Webservice_model extends CI_Model { ...@@ -3493,13 +3493,12 @@ class Webservice_model extends CI_Model {
if(isset($old_book_res) && $old_book_res != ''){ if(isset($old_book_res) && $old_book_res != ''){
if($old_book_res->visit_type == '0'){ if($old_book_res->visit_type == '0'){
$visit = '1';
$is_return_avail = false;
}else{
$is_return_avail = true; $is_return_avail = true;
}else{
$is_return_avail = false;
} }
}else{ }else{
$is_return_avail = true; $is_return_avail = false;
} }
} }
......
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