mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 20:36:15 +02:00
inventory fix for quFactorPurchaseToStock - defaults to product details
This commit is contained in:
parent
31fcdf377a
commit
d9192a0579
|
|
@ -720,7 +720,7 @@ class StockService extends BaseService
|
|||
$bookingAmount = $newAmount;
|
||||
}
|
||||
|
||||
return $this->AddProduct($productId, $bookingAmount, $bestBeforeDate, self::TRANSACTION_TYPE_INVENTORY_CORRECTION, date('Y-m-d'), $price, $locationId, $shoppingLocationId);
|
||||
return $this->AddProduct($productId, $bookingAmount, $bestBeforeDate, self::TRANSACTION_TYPE_INVENTORY_CORRECTION, date('Y-m-d'), $price, null, $locationId, $shoppingLocationId);
|
||||
}
|
||||
elseif ($newAmount < $productDetails->stock_amount + $containerWeight)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user