Need little help on salary structure formula calculation.

I need to calculate the PF on the basis if basic salary * 0.12% is higher then 1800 and it should calculate 1800 only and if it is below that then it should calculate that amount i.e. basic salary * 0.12%.

Now the basic salary is depend upon leave without pay, so after creating formula in PF section should I check Leave without pay or it will be calculated automatically ?

You can try adding two rows for PF which different conditions and formula. Then try creating Salary Slip against that Salary Structure with different values in Basic Salary (with/without) LWP and greater/less than condition amount and check if amount for PF is calculated fine.

This is the secondary slip where the employee is not present for 10 days, and as I said that basic is depend upon leave without pay, so after calculation the basic is 10,974.19 so accourding to the PF formula the PF should be 10,974.19*.12 = 1316.9028 but it is still showing me 1800.