X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/bc7836c64252d104495878af3c005210cb977072..887a005ea99f044d266f489632b0a94a4acc99b2:/timesheet_view.php diff --git a/timesheet_view.php b/timesheet_view.php index bbac161c..80b3b77a 100644 --- a/timesheet_view.php +++ b/timesheet_view.php @@ -50,7 +50,9 @@ if (!$timesheet) { $options = ttTimesheetHelper::getReportOptions($timesheet); $subtotals = ttReportHelper::getSubtotals($options); $totals = ttReportHelper::getTotals($options); +$notClient = !$user->isClient(); +$smarty->assign('not_client', $notClient); $smarty->assign('group_by_header', ttReportHelper::makeGroupByHeader($options)); $smarty->assign('timesheet', $timesheet); $smarty->assign('subtotals', $subtotals);