X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/259a4673f7475125e1ab6b68f77a67401fa52d06..187a16b0ffee5ae6af51b010ff90a194048d3457:/report.php diff --git a/report.php b/report.php index 3f207449..61b3587f 100644 --- a/report.php +++ b/report.php @@ -172,14 +172,15 @@ if ($request->isPost()) { $group_by = $bean->getAttribute('group_by'); -$report_items = ttReportHelper::getItems($bean); +$options = ttReportHelper::getReportOptions($bean); +$report_items = ttReportHelper::getItems($bean, $options); // Store record ids in session in case user wants to act on records such as marking them all paid. if ($request->isGet() && $user->isPluginEnabled('ps')) ttReportHelper::putInSession($report_items); if ('no_grouping' != $group_by) - $subtotals = ttReportHelper::getSubtotals($bean); -$totals = ttReportHelper::getTotals($bean); + $subtotals = ttReportHelper::getSubtotals($bean, $options); +$totals = ttReportHelper::getTotals($bean, $options); // Assign variables that are used to print subtotals. if ($report_items && 'no_grouping' != $group_by) {