mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 02:04:38 +00:00
Add possibility to filter by product group on stock overview page
This commit is contained in:
@@ -23,7 +23,8 @@ class StockController extends BaseController
|
||||
'locations' => $this->Database->locations()->orderBy('name'),
|
||||
'currentStock' => $this->StockService->GetCurrentStock(),
|
||||
'missingProducts' => $this->StockService->GetMissingProducts(),
|
||||
'nextXDays' => 5
|
||||
'nextXDays' => 5,
|
||||
'productGroups' => $this->Database->product_groups()->orderBy('name')
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user