mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-23 08:38:37 -04:00
Change the inventory reports to exclude non-stock items.
This commit is contained in:
1 parent
d85aeaeaf8
commit
cc584ca063
1 file changed
+2
-1
@@ -28,7 +28,8 @@ class Inventory_low extends Report
|
||||
$this->db->where('items.deleted', 0);
|
||||
$this->db->where('stock_locations.deleted', 0);
|
||||
$this->db->where('items.stock_type', 0);
|
||||
$this->db->order_by('items.name');
|
||||
$this->db->where('item_quantities.quantity <= items.reorder_level');
|
||||
$this->db->order_by('items.name');
|
||||
|
||||
return $this->db->get()->result_array();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user