In HRMS - Leave Application once the employee submit’s the form, In approver UI it showing with edit options for this fields [Dates, Reason, etc..]
My question is :
Approver only want to approve, not to edit the employee entered details…
How to do ??
@all can anyone help me to solve this !
bahaou
3
@Saravanan-1 change permission in role employee and add only if creator and give all permissions , and leave approval dont give him edit permission
bahaou
4
Other method write a js code and check for status or workflow_state and close the fields . using frm.set_df_property("fieldname","read_only",1);
Thanks for your reply @bahaou
Okay, i tried this way now but now also approver can able to edit the details