Same than for payslips. Improve the flow to make it clear what is the next action instead of displaying all the buttons. And refactor a little the code to be more efficient, and reuse existing method instead of using this horrible 'onchange_employee_id' method.