Do not show deleted items in low inventory report (#2702)

This commit is contained in:
jekkos
2020-01-29 22:46:48 +01:00
parent aba9c2bc30
commit 4722a5600f

View File

@@ -27,6 +27,7 @@ class Inventory_low extends Report
WHERE items.deleted = 0
AND items.stock_type = 0
AND item_quantities.quantity <= items.reorder_level
AND stock_locations.deleted = 0
ORDER BY items.name");
return $query->result_array();