Skip to content
Snippets Groups Projects
Verified Commit d4f593a8 authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas: Committed by Kevin Cristiano
Browse files

patch CiviCRM Export to Excel

parent 4526b312
No related branches found
No related tags found
No related merge requests found
...@@ -155,6 +155,9 @@ class CRM_Report_Form extends CRM_Core_Form { ...@@ -155,6 +155,9 @@ class CRM_Report_Form extends CRM_Core_Form {
*/ */
protected $_groupFilter = FALSE; protected $_groupFilter = FALSE;
// [ML] Required for civiexportexcel
public $supportsExportExcel = TRUE;
/** /**
* Has the report been optimised for group filtering. * Has the report been optimised for group filtering.
* *
...@@ -3476,6 +3479,9 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND ...@@ -3476,6 +3479,9 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
elseif ($this->_outputMode == 'csv') { elseif ($this->_outputMode == 'csv') {
CRM_Report_Utils_Report::export2csv($this, $rows); CRM_Report_Utils_Report::export2csv($this, $rows);
} }
elseif ($this->_outputMode == 'excel2007') {
CRM_CiviExportExcel_Utils_Report::export2excel2007($this, $rows);
}
elseif ($this->_outputMode == 'group') { elseif ($this->_outputMode == 'group') {
$group = $this->_params['groups']; $group = $this->_params['groups'];
$this->add2group($group); $this->add2group($group);
......
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