]> wagnertech.de Git - timetracker.git/blobdiff - topdf.php
More work in progress on separate page for plugins config.
[timetracker.git] / topdf.php
index b7ac19d529ca2c00c7eb7db4e69131d90b4995c1..69f5816d84f443693309ab0e64b6597f1cadb271 100644 (file)
--- a/topdf.php
+++ b/topdf.php
@@ -74,11 +74,12 @@ if ('no_grouping' != $group_by) {
 }
 
 // Obtain items for report.
+$options = ttReportHelper::getReportOptions($bean);
 if (!$totals_only)
-  $items = ttReportHelper::getItems($bean); // Individual entries.
+  $items = ttReportHelper::getItems($options); // Individual entries.
 if ($totals_only || 'no_grouping' != $group_by)
-  $subtotals = ttReportHelper::getSubtotals($bean); // Subtotals for groups of items.
-$totals = ttReportHelper::getTotals($bean); // Totals for the entire report.
+  $subtotals = ttReportHelper::getSubtotals($options); // Subtotals for groups of items.
+$totals = ttReportHelper::getTotals($options); // Totals for the entire report.
 
 // Assign variables that are used to print subtotals.
 if ($items && 'no_grouping' != $group_by) {