what I want : if an employee is a Male then his deduction tax will be 600
and if an employee is a Female then his deduction tax will be 400
I tried in Payroll >> Salary Rules >> deduction tax
by using this code in
Computation:
if (hr.employee.gender== "male"):
result = ((categories.BASIC + categories.ALW) -500)
else if (hr.employee.merital== "married"):
result =((categories.BASIC + categories.ALW) -400)
I didn't get computation, I dont know how to fix it
can anybody please help me.