Merge master into feature-10422/ZeiterfassungInfomails

This commit is contained in:
ma0068
2022-05-24 09:05:28 +02:00
parent a73d2a06e8
commit 38d8414d49
5 changed files with 426 additions and 3 deletions
@@ -202,4 +202,11 @@ class Mitarbeiter_model extends DB_Model
}
return success($kurzbz);
}
public function getEmployeesZeitaufzeichnungspflichtig()
{
$qry = "SELECT DISTINCT mitarbeiter_uid FROM bis.tbl_bisverwendung WHERE beginn <= now() and (ende >= now() OR ende is NULL) AND zeitaufzeichnungspflichtig is TRUE
ORDER BY mitarbeiter_uid";
return $this->execQuery($qry);
}
}