Issue about miscalculated Overtime By Time Rate in TA reports when time rate is the float

 

Affected Products & Versions: BioStar 2.4.0 or above version

 

Summary

When you create the overtime code that time rate is the float, Overtime By Time Rate in TA reports will not be displayed correctly.

 

 

 

Issue Reproduction: 

1. Create time code which type is Overtime management and then set Time Rate to the float (e.g. 1.5, 2.5 and more) 


image


 

2. Create overtime Rule and apply the time code (OT x1.5) created above.

 

image

 

3. When you create new schedule, set Rule to OT x1.5.

 

image

 

4. When you create TA report with above schedule, you can find the wrong value of Overtime By Time Rate which is double of Overtime hours (3:45:50 * 2 = 7:31:40).

For example, looking at the below screenshot, the user checks in at 08:27:55 and then checks out at 21:13:45. In this case, since time rate for overtime is applied to 1.5, overtime by time rate will be displayed as 5:38:45 not 7:31:40.

 

image

  

 

Workaround:

If you have the same issue, please contact technical support.

 

 

 

Solution:

This bug will be fixed in the next version of BioStar.