Help

4

Deduct half day salary if late

Avatar
charlesraj

My need is to deduct half-day salary if he/she is late .In his/her work schedule i define a working hours from 9:00 am to 6:00 pm. If the employee login at 9:31 or above then deduct half day salary (if the employee is login after 30 min from the actual login time.)

I create a new rule called latecoming .But i don't know how to implement the condition in the rule..

How can be link the employee attendance and employee payslip..

Avatar
Discard
1 Answer
0
Avatar
tohamy91
Best Answer

Hi

i think u can write this rule with python code 'result = (contract.wage/30)*(-0.5)' , think this will help u 30 == is the month days 0.5 == is the half day or can change it with any deduction ( can be days )

Avatar
Discard