How to add variables in salary?
You can define and add a variable salary component by navigating to Payroll >> Advance Settings >> Components >> Variable.
Read here...