Skip to content

Commit d4b3339

Browse files
author
Oleksii Korshenko
authored
MAGETWO-69882: Retrieve taxes from the correct object #9939
2 parents 1d9de1c + 1817dde commit d4b3339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Pdf/Total/DefaultTotal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function getTotalsForDisplay()
9797
public function getFullTaxInfo()
9898
{
9999
$fontSize = $this->getFontSize() ? $this->getFontSize() : 7;
100-
$taxClassAmount = $this->_taxHelper->getCalculatedTaxes($this->getOrder());
100+
$taxClassAmount = $this->_taxHelper->getCalculatedTaxes($this->getSource());
101101
if (!empty($taxClassAmount)) {
102102
foreach ($taxClassAmount as &$tax) {
103103
$percent = $tax['percent'] ? ' (' . $tax['percent'] . '%)' : '';

0 commit comments

Comments
 (0)