mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
AddProduct Fix (#1110)
This commit is contained in:
parent
fca4b3bb10
commit
cb3978cdbd
@ -79,7 +79,7 @@ class StockService extends BaseService
|
||||
}
|
||||
}
|
||||
|
||||
public function AddProduct(int $productId, float $amount, $bestBeforeDate, $transactionType, $purchasedDate, $price, $quFactorPurchaseToStock, $locationId = null, $shoppingLocationId = null, &$transactionId = null)
|
||||
public function AddProduct(int $productId, float $amount, $bestBeforeDate, $transactionType, $purchasedDate, $price, $quFactorPurchaseToStock = null, $locationId = null, $shoppingLocationId = null, &$transactionId = null)
|
||||
{
|
||||
if (!$this->ProductExists($productId))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user