mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-11 15:36:13 -04:00
Comment out unused code still with custom fields
This commit is contained in:
@@ -834,6 +834,9 @@ class Item extends CI_Model
|
||||
//Search by custom fields
|
||||
if($filters['search_custom'] != FALSE)
|
||||
{
|
||||
// This section is currently never used but custom fields are replaced with attributes
|
||||
// therefore in case this feature is required a proper query needs to written here
|
||||
/*
|
||||
$this->db->from('items');
|
||||
$this->db->group_start();
|
||||
$this->db->where('item_type', ITEM_KIT);
|
||||
@@ -853,6 +856,7 @@ class Item extends CI_Model
|
||||
{
|
||||
$suggestions[] = array('value' => $row->item_id, 'label' => $row->name);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user