gamonoid / icehrm

Manage your employees easily with a robust and efficient Human Resource Management System
http://icehrm.com
Other
579 stars 373 forks source link

What is the purpose of visible_to field in EmployeeDocument table #249

Open lankasomayajulu opened 3 years ago

lankasomayajulu commented 3 years ago

Dear IceHrm Team, I have looked into the code for employee Document and found that there is a visible_to field, which always gets set to null even when the DDL for the table marks default value as "Owner". This is causing problems in displaying documents for employees. I am also seeing that we are not setting this value anywhere in the Web Pages. So I am a bit confused. I have written a work around to always show if the value is null.

Thanks, Yagneshwara Somayajulu Lanka