00 Day
00 Hour
00 Min
00 Sec

Reply To: Leave request

Home Forums HRM Leave request Reply To: Leave request

#2556
joshua1234511
Participant

Login and check if there is an option above the calender on overview take leave

if not
you can do some custom code modifications

For the employee role add in functions-capabilities.php

case erp_hr_get_employee_role():

add this line ‘erp_leave_create_request’ => true,

Deactivate and reactivate the plugin But before that
Change this lines
if ( $roles_hr ) {
foreach ($roles_hr as $key => $role) {
add_role( $key, $role[‘name’], $role[‘capabilities’] );
}
}
to

if ( $roles_hr ) {
foreach ($roles_hr as $key => $role) {
remove_role($key);
add_role( $key, $role[‘name’], $role[‘capabilities’] );
}
}

as add role will not modify the role
in class-install.php file

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We received your query

We will reply to you very soon :)