X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Flib%2FttTimesheetHelper.class.php;h=22f1292758faefc604b1ff955c4d030824d56400;hb=a7b601e885915db17770998a3ef366f64ccad8c7;hp=f214963b2fa0e74f850d9ec58fd298bdf4b1d1ff;hpb=a6eb3d4378c5eb969eb3bd29abf0f2b4eb53feb9;p=timetracker.git 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