mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-12 02:48:48 -04:00
Corrected errors
This commit is contained in:
@@ -139,7 +139,7 @@ class Attribute extends CI_Model
|
||||
$this->db->where('sale_id');
|
||||
$this->db->where('deleted', 0);
|
||||
$this->db->order_by('definition_name','ASC');
|
||||
|
||||
|
||||
$results = $this->db->get()->result_array();
|
||||
|
||||
return $this->_to_array($results, 'definition_id');
|
||||
@@ -331,7 +331,7 @@ class Attribute extends CI_Model
|
||||
$this->db->trans_complete();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//To DROPDOWN or CHECKBOX
|
||||
else if($to_type === DROPDOWN)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user