But for cases where there are OT late approved and BP only this month, we need to system to check for max OT.
For eg, if May payroll basic + OT is S$4200, there were unapproved OT and only approved and BP in June. If the late ones total is S$500 then we need the system to come out only S$400 because for the month of may cannot be more than S$4500.