Salary calculation problem on working days v14

Continuing the discussion from Income Tax Pay Roll based on Amount and Percentage:

I am facing a problem in v14 , If I am making a salary structure whose frequency is monthly, and I want to pay him for 10 days from whole month, I select days from 1-10 march , if the gross salary is 1500 then system is even giving 1500 for whole month instead of giving 150. Anyone who have encounter this issue? depends on payment days is checked in Salary components.
the salary slip even shows working days as 10 but still salary is calculated for whole month.
if I make a salary structure for 1 day and select from 1-30 , even then system is calculating salary for as 50 for whole month.

@rucha_mahabal Rucha Mahabal the bug is back in v14 madam.