X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/93dc9c1832b4035167d53796db9fac88bf90a2b6..f490a9f5e080c426f54502d1004f8ab444d26469:/reports.php diff --git a/reports.php b/reports.php index 10df3648..892b117e 100644 --- a/reports.php +++ b/reports.php @@ -273,6 +273,10 @@ if ($showWorkUnits) if ($showTimesheet) $form->addInput(array('type'=>'checkbox','name'=>'chtimesheet')); +// Add a hidden control for timesheet_user_id (who to generate a timesheet for). +if ($showTimesheet) + $form->addInput(array('type'=>'hidden','name'=>'timesheet_user_id')); + // Add group by control. $group_by_options['no_grouping'] = $i18n->get('form.reports.group_by_no'); $group_by_options['date'] = $i18n->get('form.reports.group_by_date');