Need to add new buttons in Employee Attendace Tool

This is with reference to the issue given below

https://discuss.frappe.io/t/adding-buttons-in-employee-attendance-tool/14205
I am not able to achieve the same using the suggestion given in the solution

Vivek