Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nemt_backend
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobin
nemt_backend
Commits
d65f28cd
Commit
d65f28cd
authored
Dec 17, 2018
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
model commit
parent
2f379bcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
Ride_model.php
application/models/Ride_model.php
+3
-6
No files found.
application/models/Ride_model.php
View file @
d65f28cd
...
...
@@ -170,11 +170,9 @@ class Ride_model extends CI_Model {
FROM transport_details AS TD
INNER JOIN drivers AS DRV ON (DRV.driver_id = TD.assigned_driver)
WHERE TD.driver_assign_status='0' AND TD.assigned_driver<>'0' AND TD.is_scheduled='1' AND
TD.appointment_time>
$startDateTime
AND
TD.appointment_time<
$endDateTime
AND
TD.appointment_time>DRV.online_start_time AND
TD.appointment_time<DRV.online_end_time AND
TD.appointment_time>
$startDateTime
AND TD.appointment_time<
$endDateTime
AND
TD.status IN (4,5,8) AND TD.assigned_driver IN ("
.
implode
(
","
,
$drivers
)
.
")"
;
$prvDrivers
=
$this
->
db
->
query
(
$sql
);
$driverCond
=
''
;
...
...
@@ -215,4 +213,4 @@ class Ride_model extends CI_Model {
return
$status
;
}
}
?>
\ No newline at end of file
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment