frappe / hrms

Open Source HR and Payroll Software
https://frappehr.com
GNU General Public License v3.0
1.01k stars 561 forks source link

hide certain components in salary slip #1109

Open adhennon opened 7 months ago

adhennon commented 7 months ago

ability to hide certain components from view or set level of permission to view them for example employee nssf contribution to the employee should not be visible to the salary slip but there is no way to hide it or set level of permission to view it. Thanks

amsys commented 5 months ago

This feature, which allows for printing payslips without showing the employer's contribution, is essential in Mauritius. I'm not certain about its necessity in other countries. Currently, it's not possible to print the payslips because all information is being displayed.

The majority of the work will be on the payslip, likely requiring a new section for government-only contributions. This will enhance control over visibility and allow for more information display based on permissions.

@adhennon please let me know which country is for you.

There was similar request: https://github.com/frappe/erpnext/issues/12604 (probably Zambia)

Does this make sense in main codebase?