Add custom Button in list view of Employee module

Hello there,
I have to add a custom button in the list view of the “Employees module”.

I tried to write the code for other modules like users, branches, etc. in the sugarview.php file in the getModuleTitle() function which is working properly. But, when I try to access $this->module that should return the name of the module i.e. “Employees” then this function is not even calling.

How can I add a custom button on the top of the list view of Employees module ?

Check here for some ideas: https://www.sugaroutfitters.com/blog/how-to-add-buttons-to-views-in-sugarcrm