mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-22 08:14:42 -04:00
Fix issue with deleted items not being included in reprinted receipts.
This commit is contained in:
1 parent
dd83139760
commit
68fe267fad
1 file changed
+1
-3
@@ -338,9 +338,7 @@ class Item extends CI_Model
|
||||
|
||||
$this->db->group_end();
|
||||
|
||||
$this->db->where('items.deleted', 0);
|
||||
|
||||
// limit to only 1 so there is a result in case two are returned
|
||||
// limit to only 1 so there is a result in case two are returned
|
||||
// due to barcode and item_id clash
|
||||
$this->db->limit(1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user