Skip to content

Commit 183d7c9

Browse files
committed
ACP2E-1541: There is a problem with the magento report order screen
1 parent 310428c commit 183d7c9

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer

1 file changed

+2
-2
lines changed

app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Currency.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ private function getStoreCurrencyRate(string $currencyCode, DataObject $row): fl
140140

141141
if (((int)$catalogPriceScope !== 0
142142
&& $adminCurrencyCode !== $currencyCode)) {
143-
$storeCurrency = $this->currencyFactory->create()->load($currencyCode);
144-
$currencyRate = $storeCurrency->getRate($adminCurrencyCode);
143+
$currency = $this->currencyFactory->create()->load($adminCurrencyCode);
144+
$currencyRate = $currency->getAnyRate($currencyCode);
145145
} else {
146146
$currencyRate = $this->_getRate($row);
147147
}

0 commit comments

Comments
 (0)