Fixed expired products count on stock overview page (fixes #392)

This commit is contained in:
Bernd Bestel
2019-09-26 16:42:59 +02:00
parent 21503c26d2
commit cf3217ada4
3 changed files with 24 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ class StockController extends BaseController
'products' => $this->Database->products()->orderBy('name'),
'quantityunits' => $this->Database->quantity_units()->orderBy('name'),
'locations' => $this->Database->locations()->orderBy('name'),
'currentStock' => $this->StockService->GetCurrentStock(),
'currentStock' => $this->StockService->GetCurrentStock(true),
'currentStockLocations' => $this->StockService->GetCurrentStockLocations(),
'missingProducts' => $this->StockService->GetMissingProducts(),
'nextXDays' => $nextXDays,