X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=tofile.php;h=5a190f4bb595e6505706283b8d8ca094db5a9197;hb=47676f16efdde0b36a4ed09d2ab0476584aeb2a6;hp=a06a986677cb48d3a3ee7b1cd8c85efd77c3ddbc;hpb=a536a682560e3f5d21c960994ebe410e5aef5931;p=timetracker.git diff --git a/tofile.php b/tofile.php index a06a9866..5a190f4b 100644 --- a/tofile.php +++ b/tofile.php @@ -58,10 +58,11 @@ $type = $request->getParameter('type'); $totals_only = $bean->getAttribute('chtotalsonly'); // Obtain items. +$options = ttReportHelper::getReportOptions($bean); if ($totals_only) - $subtotals = ttReportHelper::getSubtotals($bean); + $subtotals = ttReportHelper::getSubtotals($bean, $options); else - $items = ttReportHelper::getItems($bean); + $items = ttReportHelper::getItems($bean, $options); // Build a string to use as filename for the files being downloaded. $filename = strtolower($i18n->get('title.report')).'_'.$bean->mValues['start_date'].'_'.$bean->mValues['end_date'];