For example, when the break is 30 minutes, and the time spent working is 15 minutes, it will be negative as the calculation of
15 - 30 = -15 * [money per hour] is performed.
This should be fixed by never subtracting the break time from work time if it will result in negative amounts (so when the break time is less than work time)
For example, when the break is 30 minutes, and the time spent working is 15 minutes, it will be negative as the calculation of
15 - 30 = -15 * [money per hour] is performed.
This should be fixed by never subtracting the break time from work time if it will result in negative amounts (so when the break time is less than work time)