mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Don't consider inactive products to be missing (fixes #1578)
This commit is contained in:
@@ -596,7 +596,6 @@ class StockService extends BaseService
|
||||
public function GetMissingProducts()
|
||||
{
|
||||
$sql = 'SELECT * FROM stock_missing_products_including_opened';
|
||||
|
||||
if (!GROCY_FEATURE_SETTING_STOCK_COUNT_OPENED_PRODUCTS_AGAINST_MINIMUM_STOCK_AMOUNT)
|
||||
{
|
||||
$sql = 'SELECT * FROM stock_missing_products';
|
||||
|
Reference in New Issue
Block a user