From 77f11cbf76642957a40ed1a5944cd9e3f2047fbb Mon Sep 17 00:00:00 2001 From: Kurt Riddlesperger Date: Fri, 30 Oct 2020 10:56:26 -0500 Subject: [PATCH] AddProduct Fix --- services/StockService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/StockService.php b/services/StockService.php index 6bf3e9c5..1c639687 100644 --- a/services/StockService.php +++ b/services/StockService.php @@ -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)) {