fix for reportable
This commit is contained in:
@@ -25,8 +25,7 @@ class EmployeehoursMonthly {
|
||||
JOIN users USR
|
||||
ON USR.id = EMH.employee_id
|
||||
WHERE MONTH(hourdate) = {$month}
|
||||
AND YEAR(hourdate) = {$year}
|
||||
AND reportable = 'T' ";
|
||||
AND YEAR(hourdate) = {$year} ";
|
||||
if( $employeeID != 0 ) $sql.="AND USR.id = {$employeeID} ";
|
||||
$sql.="
|
||||
UNION
|
||||
|
||||
Reference in New Issue
Block a user