New test cases
This commit is contained in:
1 parent
d440aa8fc9
commit
638e909d46
2 files changed
+32
-1
No files matched your search
@@ -32,7 +32,8 @@ class AttendanceActionManager extends SubActionManager
|
||||
//Find any open punch
|
||||
$attendance = new Attendance();
|
||||
$attendance->Load(
|
||||
"employee = ? and DATE_FORMAT( in_time, '%Y-%m-%d' ) = ? and (out_time is NULL or out_time = '0000-00-00 00:00:00')",
|
||||
"employee = ? and DATE_FORMAT( in_time, '%Y-%m-%d' ) = ?
|
||||
and (out_time is NULL or out_time = '0000-00-00 00:00:00')",
|
||||
array($employee->id,$date)
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user