X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/6d72b9b2a73391e8e6b2a3586b4972c1a2e8160d..18ecb507a76c7960dd3d8d2c64264e1f4f4b8952:/reports.php diff --git a/reports.php b/reports.php index 05d7e5f2..264e5645 100644 --- a/reports.php +++ b/reports.php @@ -180,8 +180,8 @@ if ($showPaidStatus) { // Add timesheet assignment selector. $showTimesheet = $user->isPluginEnabled('ts') && - ($user->can('view_own_timesheets') || $user->can('manage_own_timesheets') || - $user->can('view_timesheets') || $user->can('manage_timesheets') || $user->can('approve_timesheets')); + ($user->can('view_own_timesheets') || $user->can('view_timesheets') || + $user->can('view_all_timesheets') || $user->can('view_client_timesheets')); if ($showTimesheet) { $form->addInput(array('type'=>'combobox', 'name'=>'timesheet',