Adding buttons in employee attendance tool

How to add more buttons in employee attendance tool i want to mark LoP and Mark Permission

Unfortunately, it’s coded specifically for the current options. You can modify the code if you want :

@vjFaLk Thanx for ur response,

I already saw that code but I want to know where the html file of that tool is, so that I will add button

So, the entirety of the HTML, is also in the JS. There are two HTML fields in the Employee Attendance Tool DocType that get loaded with custom HTML using JS.

Have a look at the JS / HTML here

You’ll see the three buttons, and if you scroll a bit below you’ll see JS that will trigger on button click, therefore creating attendance records.

Thanks a lot @vjFaLk
its working now


I am trying this option and it is not working for me.