Commit 473d2d8b by Tobin

dc

parent 9799a161
......@@ -115,7 +115,7 @@ class Ride_model extends CI_Model {
$field = 'count(TD.transport_id) AS count';
if($scheduleCnt == 1){
$field = " TD.transport_id ";
$cond .= " AND TD.is_scheduled='0' ";
$cond .= " AND TD.is_scheduled='0' AND TD.trip_status='S1' ";
}
$sql = "SELECT $field FROM transport_details TD WHERE TD.status!='2' ".$cond;
......
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