Commit 9304bf2f by Tobin

dc

parent ebb43da9
......@@ -336,7 +336,7 @@ class Issue extends CI_Controller {
}
}
function viewMappedIssues($mechanic_id = ''){
public function viewMappedIssues($mechanic_id = ''){
if(!empty($mechanic_id)){
$mechanic_id = (!is_numeric($mechanic_id))?decode_param($mechanic_id):$mechanic_id;
}
......@@ -364,7 +364,7 @@ class Issue extends CI_Controller {
$this->load->view('template',$template);
}
function changeMappedIssueStatus($mechanic_id = '',$issue_id = '',$status = '1'){
public function changeMappedIssueStatus($mechanic_id = '',$issue_id = '',$status = '1'){
$flashMsg = array('message'=>'Something went wrong, please try again..!','class'=>'error');
if(empty($issue_id) || !is_numeric($issue_id = decode_param($issue_id)) ||
empty($mechanic_id) || !is_numeric($mechanic_id = decode_param($mechanic_id))){
......
......@@ -237,7 +237,7 @@ class Webservices extends CI_Controller {
$respArr = array('status'=>'0','message'=>'Something went wrong.');
if(empty($postData) || empty($postData = json_decode($postData['data'],true)) ||
!isset($postData['cost']) || empty($postData['cost']) ||
!isset($postData['cost']) || empty($postData['cost']) ||
!isset($postData['customer_id']) || empty($postData['customer_id']) ||
!isset($postData['mechanic_id']) || empty($postData['mechanic_id']) ||
!isset($postData['pickup_data']) || empty($postData['pickup_data']) ||
......
......@@ -796,7 +796,7 @@ jQuery('[id="showBookinDetails"]').on('click',function() {
if(issues_selected != ''){
var comma = '';
issueHtml = '<div class="col-md-12" style="padding-top: 10px;">'+
issueHtml = '<div class="col-md-12" style="padding-top:10px;">'+
'<div class="row"><label>Selected Issue</label></div>'+
'<div class="row">'+
'<div class="col-md-1"></div>'+
......@@ -809,7 +809,7 @@ jQuery('[id="showBookinDetails"]').on('click',function() {
}
if(optional_data != ''){
optionalHtml = '<div class="col-md-12" style="padding-top: 20px;">'+
optionalHtml = '<div class="col-md-12" style="padding-top:20px;">'+
'<div class="row"><label>Additional Information</label></div>';
if(optional_data['optionlaDescription'] != ''){
......
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