Hello dears
we have Employee Incentive paid with salary and depends on attending days
so if the employee total leaves not only without pay =< 1 value will be basic*0.05
if total leaves =2 value will be basic*0.03
if total leaves =3 value will be basic *0.02
if total leaves =>4 value will be 0
how to get the total number of total leaves into earning component as a statistical component that i can use it in another earning component