Skip to content

Commit 7d9d478

Browse files
author
Serhii Balko
committed
MC-39864: [Magento Cloud] - Tax Miscalculation
1 parent 8b873ad commit 7d9d478

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
@@ -99,7 +99,7 @@ public function collect(Creditmemo $creditmemo)
9999
$baseShippingTaxAmount = 0;
100100
$shippingDiscountTaxCompensationAmount = 0;
101101
$baseShippingDiscountTaxCompensationAmount = 0;
102-
$shippingDelta = ($baseOrderShippingAmount - $baseOrderShippingRefundedAmount);
102+
$shippingDelta = $baseOrderShippingAmount - $baseOrderShippingRefundedAmount;
103103

104104
if ($shippingDelta > $creditmemo->getBaseShippingAmount()) {
105105
$part = $creditmemo->getShippingAmount() / $orderShippingAmount;

0 commit comments

Comments
 (0)