Skip to content

Commit aa54c65

Browse files
author
Stanislav Idolov
authored
ENGCOM-2051: [Backport] Wrong Last orders amount on dashboard #15660 #15677
2 parents 033ab5a + 3becc64 commit aa54c65

File tree

1 file changed

+1
-4
lines changed
  • app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer

1 file changed

+1
-4
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Currency.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ public function __construct(
7070
$this->_storeManager = $storeManager;
7171
$this->_currencyLocator = $currencyLocator;
7272
$this->_localeCurrency = $localeCurrency;
73-
$defaultBaseCurrencyCode = $this->_scopeConfig->getValue(
74-
\Magento\Directory\Model\Currency::XML_PATH_CURRENCY_BASE,
75-
'default'
76-
);
73+
$defaultBaseCurrencyCode = $currencyLocator->getDefaultCurrency($this->_request);
7774
$this->_defaultBaseCurrency = $currencyFactory->create()->load($defaultBaseCurrencyCode);
7875
}
7976

0 commit comments

Comments
 (0)