mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-07 15:23:50 -04:00
Finish stock location refactoring
Modules are inaccessible if permissions not configured correctly
This commit is contained in:
@@ -63,12 +63,5 @@ class Module extends CI_Model
|
||||
return $this->db->get();
|
||||
}
|
||||
|
||||
function get_employee_grants($person_id)
|
||||
{
|
||||
$this->db->from('grants');
|
||||
$this->db->where('person_id',$person_id);
|
||||
return $this->db->get();
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user