File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,23 @@ class Order extends \Magento\Backend\Helper\Dashboard\AbstractDashboard
15
15
*/
16
16
protected $ _orderCollection ;
17
17
18
+ /**
19
+ * @var \Magento\Store\Model\StoreManagerInterface
20
+ */
21
+ protected $ _storeManager ;
22
+
18
23
/**
19
24
* @param \Magento\Framework\App\Helper\Context $context
20
25
* @param \Magento\Reports\Model\ResourceModel\Order\Collection $orderCollection
26
+ * @param \Magento\Store\Model\StoreManagerInterface $storeManager
21
27
*/
22
28
public function __construct (
23
29
\Magento \Framework \App \Helper \Context $ context ,
24
- \Magento \Reports \Model \ResourceModel \Order \Collection $ orderCollection
30
+ \Magento \Reports \Model \ResourceModel \Order \Collection $ orderCollection ,
31
+ \Magento \Store \Model \StoreManagerInterface $ storeManager
25
32
) {
26
33
$ this ->_orderCollection = $ orderCollection ;
34
+ $ this ->_storeManager = $ storeManager ;
27
35
parent ::__construct (
28
36
$ context
29
37
);
Original file line number Diff line number Diff line change 109
109
<group id =" dashboard" translate =" label,comment" sortOrder =" 60" showInDefault =" 1" showInWebsite =" 0" showInStore =" 0" >
110
110
<label >Dashboard</label >
111
111
<field id =" use_aggregated_data" translate =" label" sortOrder =" 10" type =" select" showInDefault =" 1" showInWebsite =" 0" showInStore =" 0" >
112
- <label >Use Aggregated Data (beta) </label >
112
+ <label >Use Aggregated Data</label >
113
113
<source_model >Magento\Config\Model\Config\Source\Yesno</source_model >
114
114
<comment >Improves dashboard performance but provides non-realtime data.</comment >
115
115
</field >
Original file line number Diff line number Diff line change @@ -615,7 +615,7 @@ Comma-separated,Comma-separated
615
615
"We'll use the default description above if you leave this empty.","We'll use the default description above if you leave this empty."
616
616
"Multi-address Error to Show in Shopping Cart","Multi-address Error to Show in Shopping Cart"
617
617
"We'll use the default error above if you leave this empty.","We'll use the default error above if you leave this empty."
618
- "Use Aggregated Data (beta) ","Use Aggregated Data (beta) "
618
+ "Use Aggregated Data","Use Aggregated Data"
619
619
"Sales Emails","Sales Emails"
620
620
"New Order Confirmation Email Sender","New Order Confirmation Email Sender"
621
621
"New Order Confirmation Template","New Order Confirmation Template"
You can’t perform that action at this time.
0 commit comments