X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/887a005ea99f044d266f489632b0a94a4acc99b2..c7d73ed8f6e2deade801bedaeb3af934ba69bf88:/timesheet_view.php diff --git a/timesheet_view.php b/timesheet_view.php index 80b3b77a..bd97a52a 100644 --- a/timesheet_view.php +++ b/timesheet_view.php @@ -52,6 +52,9 @@ $subtotals = ttReportHelper::getSubtotals($options); $totals = ttReportHelper::getTotals($options); $notClient = !$user->isClient(); +// Determine managers we can submit this timesheet for approval to. +$approvers = ttTimesheetHelper::getApprovers($timesheet['user_id']); + $smarty->assign('not_client', $notClient); $smarty->assign('group_by_header', ttReportHelper::makeGroupByHeader($options)); $smarty->assign('timesheet', $timesheet);