Overtime calculation should include Bonus and other Earnings
We don't have OTL. We get time entry from Kronos. From Kronos we get only hrs and factor (1.5)
Employee has a pay rate of $10/hr .Annual Salary=20800$
Employee got first bonus of the year of 1000 $ and did an overtime of 30 hrs at 1.5 times in the same pay period.
System is calculating Overtime as 30X10X1.5=450.
We are expecting it should calculate Overtime as
Gross Annual Salary=20800+1000(Bonus)=21800
Pay rate accommodating Bonus=21800/2080 =10.48
How to accomplish this ?
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):