Skip to content

Commit 58e6e24

Browse files
committed
Merge remote-tracking branch 'origin/AC-1479' into spartans_pr_19112025
2 parents 0fec752 + 3184a3b commit 58e6e24

File tree

3 files changed

+1044
-12
lines changed

3 files changed

+1044
-12
lines changed

app/code/Magento/Sales/Model/Order/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function getQtyToShip()
234234
*/
235235
public function getSimpleQtyToShip()
236236
{
237-
$qty = $this->getQtyOrdered() - max($this->getQtyShipped(), $this->getQtyRefunded()) - $this->getQtyCanceled();
237+
$qty = $this->getQtyOrdered() - $this->getQtyShipped() - $this->getQtyRefunded() - $this->getQtyCanceled();
238238
return max(round($qty, 8), 0);
239239
}
240240

0 commit comments

Comments
 (0)