41 ->get(\
Magento\Store\Model\StoreManagerInterface::class);
43 parent::__construct($context);
56 $this->
_collection = $this->_orderCollection->prepareSummary($this->
getParam(
'period'), 0, 0, $isFilter);
61 $storeIds = $this->_storeManager->getWebsite($this->
getParam(
'website'))->getStoreIds();
62 $this->
_collection->addFieldToFilter(
'store_id', [
'in' => implode(
',', $storeIds)]);
64 $storeIds = $this->_storeManager->getGroup($this->
getParam(
'group'))->getStoreIds();
65 $this->
_collection->addFieldToFilter(
'store_id', [
'in' => implode(
',', $storeIds)]);
69 [
'eq' => $this->_storeManager->getStore(\
Magento\Store\Model\Store::ADMIN_CODE)->getId()]
elseif(isset( $params[ 'redirect_parent']))
__construct(\Magento\Framework\App\Helper\Context $context, \Magento\Reports\Model\ResourceModel\Order\Collection $orderCollection, \Magento\Store\Model\StoreManagerInterface $storeManager=null)