X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/f9e704d00a2d21b1a94332e088f78c22da03d37c..913eba1427598741fcfb8d1e53746923c1f9e0e4:/topdf.php diff --git a/topdf.php b/topdf.php index 0040c7be..23f29d50 100644 --- a/topdf.php +++ b/topdf.php @@ -66,7 +66,7 @@ $totals_only = ($bean->getAttribute('chtotalsonly') == '1'); $options = ttReportHelper::getReportOptions($bean); if (!$totals_only) $items = ttReportHelper::getItems($options); // Individual entries. -if ($totals_only || 'no_grouping' != $group_by1) +if ($totals_only || ttReportHelper::grouping($options)) $subtotals = ttReportHelper::getSubtotals($options); // Subtotals for groups of items. $totals = ttReportHelper::getTotals($options); // Totals for the entire report.