X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/73f1ed8b4fb4888b8251b3575ba1d94cf1a68a4e..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);