From 31131013f6c49e1bd1a9a9e28aaba03a7ccb4566 Mon Sep 17 00:00:00 2001
From: jansa <jansa@techware.in>
Date: Wed, 17 Jul 2019 12:10:56 -0700
Subject: [PATCH] change in todays webservice

---
 application/models/Webservice_mechanic_model.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/models/Webservice_mechanic_model.php b/application/models/Webservice_mechanic_model.php
index 892676a..cfa4adf 100644
--- a/application/models/Webservice_mechanic_model.php
+++ b/application/models/Webservice_mechanic_model.php
@@ -84,7 +84,7 @@ public function getBookedService($postData = array(),$start = '',$per_page = '',
     //   $where['BUK.scheduled_date'] = date("Y-m-d", strtotime('tomorrow'));
     // }
 
-  $this->db->select("BUK.scheduled_date as date,BUK.scheduled_time as time,BUK.booking_id as service_id,BUK.status,CSTVEH.car_name,BUK.mileage,BUK.issues_selected,BUK.custom_issue_data,BUK.service_type as type,MCHBUK.amount as total_amount,TRIM(CONCAT(CUST.first_name,' ' ,IFNULL(CUST.last_name,''))) as customer_name,CUST.phone as phone_number,CSTVEH.vehicle_data");
+  $this->db->select("BUK.scheduled_date as date,BUK.scheduled_time as time,BUK.booking_id as service_id,BUK.status,CSTVEH.car_name,BUK.mileage,BUK.issues_selected,BUK.custom_issue_data,BUK.service_type as type,MCHBUK.amount as total_amount,TRIM(CONCAT(CUST.first_name,' ' ,IFNULL(CUST.last_name,''))) as customer_name,CUST.phone as phone_number,CSTVEH.vehicle_data,CSTVEH.car_loc_lat as cust_lat,CSTVEH.car_loc_lng as cust_lng,CSTVEH.car_location as cust_address");
   $this->db->from('bookings as BUK');
   $this->db->join('customers as CUST','CUST.customer_id = BUK.customer_id');
   $this->db->join('customer_vehicle as CSTVEH','CSTVEH.customer_veh_id = BUK.customer_veh_id');
--
libgit2 0.27.1