Commit ad00ebd5 by Jansa Jose

mail

parent 6ef8258f
......@@ -2836,7 +2836,7 @@ public function end_ride_update_post(){
if($rec_res){
$res = array('status'=>'success');
}else{
$res = array('status'=>'error','error'=>'error','message'=>'Something Went Wrong.. Try Again Later');
$res = array('status'=>'error','error'=>'error','message'=>'1 Something Went Wrong.. Try Again Later');
}
}else{
......@@ -2847,11 +2847,11 @@ public function end_ride_update_post(){
if($rec_res){
$res = array('status'=>'success');
}else{
$res = array('status'=>'error','error'=>'error','message'=>'Something Went Wrong.. Try Again Later');
$res = array('status'=>'error','error'=>'error','message'=>'2 Something Went Wrong.. Try Again Later');
}
}
}else{
$res = array('status'=>'error','error'=>'error','message'=>'Something Went Wrong.. Try Again Later');
$res = array('status'=>'error','error'=>'error','message'=>'3 Something Went Wrong.. Try Again Later');
}
}elseif($request['recur_type'] == '1'){
//$ride_strt = explode('T',$request['start_date']);
......@@ -2861,11 +2861,11 @@ public function end_ride_update_post(){
if($rec_res){
$res = array('status'=>'success');
}else{
$res = array('status'=>'error','error'=>'error','message'=>'Something Went Wrong.. Try Again Later');
$res = array('status'=>'error','error'=>'error','message'=>'4 Something Went Wrong.. Try Again Later');
}
}
}else{
$res = array('status'=>'error','error'=>'error','messgae'=>'Something Went Wrong.. Try Again Later');
$res = array('status'=>'error','error'=>'error','messgae'=>'5 Something Went Wrong.. Try Again Later');
}
print json_encode($res);
}
......
......@@ -190,7 +190,8 @@ function get_cars_details(){
if ($query) {
$settings = get_settings();
//$settings = get_settings();
$settings = $this->db->get_where('settings',array('id'=>'1'))->row();
......
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