Skip to content

Commit 41c3aa2

Browse files
authored
Issues 31197 - Loading wrong order tax info
1 parent 500a9e5 commit 41c3aa2

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/Block/Adminhtml/Order/Totals

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Tax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function getFullTaxInfo()
9595

9696
$taxClassAmount = $this->_taxHelper->getCalculatedTaxes($source);
9797
if (empty($taxClassAmount)) {
98-
$rates = $this->_taxOrderFactory->create()->getCollection()->loadByOrder($source)->toArray();
98+
$rates = $this->_taxOrderFactory->create()->getCollection()->loadByOrder($this->getOrder())->toArray();
9999
$taxClassAmount = $this->_taxCalculation->reproduceProcess($rates['items']);
100100
}
101101

0 commit comments

Comments
 (0)