X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4453de30f591a32c3de8fd71f5b5ad9558d3878e..eba5280c22e659f7144ccb5129424f645bada9ab:/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',