From 68fe267fadebde3a21b39b1a1dcad2594ee13f3f Mon Sep 17 00:00:00 2001 From: Steve Ireland Date: Tue, 25 Sep 2018 20:18:08 -0400 Subject: [PATCH] Fix issue with deleted items not being included in reprinted receipts. --- application/models/Item.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/application/models/Item.php b/application/models/Item.php index b9e3bf18c..9bd51473c 100644 --- a/application/models/Item.php +++ b/application/models/Item.php @@ -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);