Latest updates from IceHrmPro

This commit is contained in:
Thilina Pituwala
2020-05-20 18:47:29 +02:00
parent 60c92d7935
commit 7453a58aad
18012 changed files with 2089245 additions and 10173 deletions

View File

@@ -8,6 +8,8 @@
namespace Model;
use Classes\ModuleAccess;
class Report extends BaseModel
{
public function getAdminAccess()
@@ -25,6 +27,13 @@ class Report extends BaseModel
return array();
}
public function getModuleAccess()
{
return [
new ModuleAccess('reports', 'admin'),
];
}
public function postProcessGetData($entry)
{
$entry->icon = '<img src="'.BASE_URL.'images/file-icons/'.strtolower($entry->output).".png".'"/>';