diff --git a/admin/application/controllers/Webservice.php b/admin/application/controllers/Webservice.php
index 428528a..9d4e30f 100644
--- a/admin/application/controllers/Webservice.php
+++ b/admin/application/controllers/Webservice.php
@@ -6583,9 +6583,7 @@ class Webservice extends CI_Controller {
 				}
 				if($result != ''){
 					foreach ($result as $key => $value) {
-						
 						array_push($withdrawArray, $value);
-
 					}
 				}
 
diff --git a/admin/application/models/Webservice_model.php b/admin/application/models/Webservice_model.php
index 6fca977..a25b19b 100644
--- a/admin/application/models/Webservice_model.php
+++ b/admin/application/models/Webservice_model.php
@@ -2187,6 +2187,8 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
 	public function cancel_booking($data){
 		$query = $this->db->get_where('tbl_booking',array('id'=>$data['booking_id']))->row_array();
 		if($query){
+			$nextday = strtotime(date('Y-m-d', strtotime('+1 day', $query['date'])));
+					print_r($nextday);exit();
 			$this->db->select('duration');
 			$dur = $this->db->get('tbl_policy')->row();
 
@@ -2269,6 +2271,10 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
 					$news['to'] = $fcm_doctor->fcm_token;
 					$doctor_type = '2';
 					$doctor_push = $this->push_sent($news,$doctor_type);
+				}else{
+					$nextday = strtotime(date('Y-m-d', strtotime('+1 day', $query['date'])));
+					print_r($nextday);exit();
+					$ress = $this->db->get_where('tbl_booking',array('doctor_id'=>$query['doctor_id'],'clinic_id'=>$query['clinic_id'],'date'=>$query['date'],'time'=>$query['time'],'booking_status'=>'0'))->row_array();
 				}
 				if($query['visit_type'] == '0' && $query['payment_type'] == '2'){
 					$doctor_wallet = $this->db->get_where('tbl_wallet_details',array('doctor_id'=>$query['doctor_id']))->row();