Some fixes were done in the calculation of overtime particularly in relation to weekly overtime rules such as paying overtime when working more than 40 hours per week. Weekly overtimes are automatically allocated to the last days or hours in the week first