34 $this->_fileFactory = $fileFactory;
35 parent::__construct($context);
50 $this->_view->loadLayout();
63 switch ($this->
getRequest()->getActionName()) {
65 return $this->_authorization->isAllowed(
'Magento_Reports::accounts');
68 return $this->_authorization->isAllowed(
'Magento_Reports::customers_orders');
71 return $this->_authorization->isAllowed(
'Magento_Reports::totals');
74 return $this->_authorization->isAllowed(
'Magento_Reports::customers');
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\App\Response\Http\FileFactory $fileFactory)
_addBreadcrumb($label, $title, $link=null)