Overtime Erpnext

Hi everyone,

Need your support to find solution for my customization issue with timesheet.
I have modified timesheet by adding overtime hours to be calculated on employee timesheet. But I am struggling with summing regular hour and overtime hour to have total working hours.

So I am trying to calculate regular hours and overtime hours separately by summing them to reflect in the salary pay slip

Here is the source code
I believe can solve multiplying issue.

Need total working hours to be = regular hours +OT