Merge pull request #1241 from RuleDomain/fix-same-item-receivings-line-total

Fix the line total extension error when receiving received item (#1233)
This commit is contained in:
FrancescoUK
2017-04-16 18:41:51 +01:00
committed by GitHub

View File

@@ -226,6 +226,7 @@ class Receiving_lib
if($itemalreadyinsale)
{
$items[$updatekey]['quantity'] += $quantity;
$items[$updatekey]['total'] = $this->get_item_total($items[$updatekey]['quantity'], $price, $discount);
}
else
{