Zeiterfassung update
This commit is contained in:
@@ -6,6 +6,7 @@ class TimerecordingEmployeeModel
|
||||
private $auto_workinghours;
|
||||
private $holidays;
|
||||
private $plushours;
|
||||
private $startdate;
|
||||
|
||||
|
||||
public static function find($data)
|
||||
@@ -130,10 +131,10 @@ class TimerecordingEmployeeModel
|
||||
$where = "1=1 ";
|
||||
|
||||
//var_dump($filter);exit;
|
||||
if (array_key_exists("network_id", $filter)) {
|
||||
$networkid = $filter['network_id'];
|
||||
if (is_numeric($networkid)) {
|
||||
$where .= " AND network_id=$networkid";
|
||||
if (array_key_exists("user_id", $filter)) {
|
||||
$userid = $filter['user_id'];
|
||||
if (is_numeric($userid)) {
|
||||
$where .= " AND user_id=$userid";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user