Skip to content

Commit c9502a2

Browse files
MC-22972: Credit memo without refunded shipment produces the negative Grand Total
1 parent 6da226d commit c9502a2

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
@@ -41,7 +41,7 @@ public function collect(\Magento\Sales\Model\Order\Creditmemo $creditmemo)
4141
$baseOrderItemTax = (double)$orderItem->getBaseTaxInvoiced();
4242
$orderItemQty = (double)$orderItem->getQtyInvoiced();
4343

44-
if ($orderItemTax && $orderItemQty) {
44+
if ($orderItemQty) {
4545
/**
4646
* Check item tax amount
4747
*/

0 commit comments

Comments
 (0)