Skip to content
Snippets Groups Projects
Commit 9e40c416 authored by sushantpaste's avatar sushantpaste
Browse files

#877 Fixes alterReportVars hook invoke

parent 2918a67d
Branches
Tags
No related merge requests found
......@@ -2377,12 +2377,6 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
}
}
// build array of section totals
$this->sectionTotals();
// process grand-total row
$this->grandTotal($rows);
// Find alter display functions.
$firstRow = reset($rows);
if ($firstRow) {
......@@ -2423,6 +2417,12 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
$this->alterDisplay($rows);
CRM_Utils_Hook::alterReportVar('rows', $rows, $this);
// build array of section totals
$this->sectionTotals();
// process grand-total row
$this->grandTotal($rows);
// use this method for formatting custom rows for display purpose.
$this->alterCustomDataDisplay($rows);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment