Commit 57cbc265 by Jansa Jose

Merge branch 'master' into 'dev_production'

get booked services See merge request !12
parents 366c1006 915cec3f
......@@ -139,6 +139,10 @@ class Webservice_model extends CI_Model {
$respArr['status'] = 'success';
$respArr['data'] = $bookData;
$respArr['message'] = 'success';
}else{
$respArr['status'] = 'success';
$respArr['data'] = [];
$respArr['message'] = 'success';
}
return $respArr;
}
......@@ -394,9 +398,9 @@ class Webservice_model extends CI_Model {
MI.mechanic_id='$mechanic_id' AND MI.status='1')
WHERE ISS.status='1' AND IC.status='1' AND IC.issue_cat_id IN ($issue_cat_id)";
$subIssData = $this->db->query($sql);
$subIssData = $this->db->query($sql);
$sIssueData = array();
$sIssueData = array();
if(!empty($subIssData) && !empty($subIssData = $subIssData->result_array())){
$sIssueData = $subIssData;
}
......
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