/** * Creates and inits block * * @param string|null $reportType * @return Mage_Adminhtml_Block_Report_Sales_Invoiced_Grid */ protected function _createBlock($reportType = null) { $block = new Mage_Adminhtml_Block_Report_Sales_Invoiced_Grid(); $filterData = new Varien_Object(); if ($reportType) { $filterData->setReportType($reportType); } $block->setFilterData($filterData); return $block; }