Skip to content

Commit 5acd407

Browse files
author
Partica, Cristian
committed
Merge commit 'refs/pull/2753/head' of github.com:magento/magento2 into FearlessKiwis-MAGETWO-48452-GITHUB-2451-base_tax_amount-is-inaccurate-for-Credit-Memo-items_NEW
2 parents 53a52ec + 9c3c7e8 commit 5acd407

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/Model/Order/Creditmemo/Total

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Creditmemo/Total/Tax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function collect(\Magento\Sales\Model\Order\Creditmemo $creditmemo)
4242
*/
4343

4444
$tax = $orderItemTax - $orderItem->getTaxRefunded();
45-
$baseTax = $baseOrderItemTax - $orderItem->getTaxRefunded();
45+
$baseTax = $baseOrderItemTax - $orderItem->getBaseTaxRefunded();
4646
$discountTaxCompensation = $orderItem->getDiscountTaxCompensationInvoiced() -
4747
$orderItem->getDiscountTaxCompensationRefunded();
4848
$baseDiscountTaxCompensation = $orderItem->getBaseDiscountTaxCompensationInvoiced() -

0 commit comments

Comments
 (0)