X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a6eb3d4378c5eb969eb3bd29abf0f2b4eb53feb9..a7b601e885915db17770998a3ef366f64ccad8c7:/WEB-INF/lib/ttTimesheetHelper.class.php diff --git a/WEB-INF/lib/ttTimesheetHelper.class.php b/WEB-INF/lib/ttTimesheetHelper.class.php index f214963b..22f12927 100644 --- a/WEB-INF/lib/ttTimesheetHelper.class.php +++ b/WEB-INF/lib/ttTimesheetHelper.class.php @@ -414,4 +414,14 @@ class ttTimesheetHelper { } return false; } -} + + // The canAssign function determines if we can show controls on a report page + // for timesheet assignment. + // + // Conditions: + // - Report date range, client_id, and project_id match an existing timesheet + // with approved_status null. + static function canAssign($options) { + return false; + } +} \ No newline at end of file