If I create a salary structure with the Salary Slip Based on Timesheet checked and I have a timesheet for the current period then click Preview Salary Slip then it appears that the timesheet is ignored. However, if I visit the timesheet and Make Salary Slip then the hourly rate is applied to the timesheeted hours.
I would expect the same results regardless of route.
Further I have an earnings line based on total_hours_worked and it appears this is not calculated until the salary slip is saved? ie it cannot be previewed in in either salary structure or timesheeting…
Are these bugs or am I missing some logic?