Commit c263d9b0 by Jansa Jose

Merge branch 'master' into 'dev_production'

Master See merge request !232
parents f4723d25 242870c3
...@@ -128,7 +128,6 @@ class Webservice_model extends CI_Model { ...@@ -128,7 +128,6 @@ class Webservice_model extends CI_Model {
'is_phone_available'=>$is_phone_available === 'true'? true: false 'is_phone_available'=>$is_phone_available === 'true'? true: false
); );
$res = array('status'=>1,'data'=>$data); $res = array('status'=>1,'data'=>$data);
} catch(Exception $e) { } catch(Exception $e) {
$res = array('status'=>0,'message'=>'Ohh No!! Something went South!!','code'=>'ER06'); $res = array('status'=>0,'message'=>'Ohh No!! Something went South!!','code'=>'ER06');
} }
......
...@@ -68,9 +68,9 @@ ...@@ -68,9 +68,9 @@
case 3: echo 'Pending'; break; case 3: echo 'Pending'; break;
case 4: echo 'Deleted'; break; case 4: echo 'Deleted'; break;
case 5: echo 'Payment Failed'; break; case 5: echo 'Payment Failed'; break;
case 6: if($booking->has_payment == 0){ echo 'Waiting for Aproval'; break; } case 6: if($booking->has_payment == 0){ echo 'Waiting for Approval'; break; }
else { else {
if ($booking->trans_status == '1') { echo 'Waiting for Aproval'; break; } if ($booking->trans_status == '1') { echo 'Waiting for Approval';break; }
else { echo 'Pending'; break; } else { echo 'Pending'; break; }
} }
} }
......
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