Commit e1acc674 by Jansa Jose

dc

parent e80e79e8
...@@ -169,6 +169,7 @@ class Webservice_model extends CI_Model { ...@@ -169,6 +169,7 @@ class Webservice_model extends CI_Model {
$this->db->join("mechanic","mechanic_booking.mechanic_id = mechanic.mechanic_id"); $this->db->join("mechanic","mechanic_booking.mechanic_id = mechanic.mechanic_id");
$this->db->join("mechanic_shop","mechanic_shop.shop_id = mechanic.shop_id","left"); $this->db->join("mechanic_shop","mechanic_shop.shop_id = mechanic.shop_id","left");
$this->db->where('scheduled_date >',date('Y-m-d h:i')); $this->db->where('scheduled_date >',date('Y-m-d h:i'));
$this->db->where('bookings.status !=','0');
if($start != 0 || $per_page != 0){ if($start != 0 || $per_page != 0){
$this->db->limit($per_page,$start); $this->db->limit($per_page,$start);
} }
......
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