if ($totals_only || 'no_grouping' != $group_by)
$subtotals = ttReportHelper::getSubtotals($bean, $options); // Subtotals for groups of items.
if ($totals_only || 'no_grouping' != $group_by)
$subtotals = ttReportHelper::getSubtotals($bean, $options); // Subtotals for groups of items.