Skip to content
Snippets Groups Projects
Unverified Commit 4e74399f authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #14320 from sushantpaste/reporthook

#987 Reporthook
parents 7cf2668f 9e40c416
No related branches found
No related tags found
No related merge requests found
......@@ -2412,12 +2412,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) {
......@@ -2458,6 +2452,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.
Finish editing this message first!
Please register or to comment