X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=topdf.php;h=9d3164af1e458ecc3f939f983bc6a383e741da26;hb=47676f16efdde0b36a4ed09d2ab0476584aeb2a6;hp=b7ac19d529ca2c00c7eb7db4e69131d90b4995c1;hpb=e171b4e97c8dd9322362d88d6722551f7c44f6cf;p=timetracker.git diff --git a/topdf.php b/topdf.php index b7ac19d5..9d3164af 100644 --- 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($bean, $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($bean, $options); // Subtotals for groups of items. +$totals = ttReportHelper::getTotals($bean, $options); // Totals for the entire report. // Assign variables that are used to print subtotals. if ($items && 'no_grouping' != $group_by) {