X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/fafb0ae8f7098ffafa6799627891bd40f4811a52..e447782c5838a9715a7443a028d403aadf52a479:/reports.php diff --git a/reports.php b/reports.php index ee82a64f..1e7b4b99 100644 --- a/reports.php +++ b/reports.php @@ -151,6 +151,16 @@ if ($user->can('manage_invoices') && $user->isPluginEnabled('ps')) { )); } +// TODO: check rights. +if ($user->isPluginEnabled('ts')) { + $form->addInput(array('type'=>'combobox', + 'name'=>'timesheet', + 'style'=>'width: 250px;', + 'data'=>array('1'=>$i18n->get('form.reports.include_assigned'),'2'=>$i18n->get('form.reports.include_not_assigned')), + 'empty'=>array(''=>$i18n->get('dropdown.all')) + )); +} + $user_list = array(); if ($user->can('view_reports') || $user->can('view_all_reports') || $user->isClient()) { // Prepare user and assigned projects arrays.