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

This commit is contained in:
jekkos committed 2020-01-29 23:26:08 +01:00
1 parent aba9c2bc30
commit 4722a5600f
1 file changed
+1
@@ -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();