Merge pull request #2162 from RuleDomain/fix_receipt_missing_del_item

Fix issue with deleted items not being included in reprinted receipts.
This commit is contained in:
Steve Ireland authored and GitHub committed 2018-09-25 21:06:08 -04:00
commit 3a7d8415f6
1 file changed
+1 -3
+1 -3
View File
@@ -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);