DEDUCTION WITH SCALING RATES
How can I define a deduction based on monthly salary and scaling rates to be applied. For example:
from 1 through 1000 euros rate=0%,
from 1001 thr 1500 euros rate=5%,
from 1501 thr 2000 euros rate=10%.
So if an employee has a monthly salary of 1600 then the first 1000*0%,the next 500*5%,next 100*10% which means that his deduction has to be 35 euros.