Bugfix: Keep the breaks of a day when Horilla corrects it
Description
The stage attendance- replaced all punches of a day by one interval from the corrected clock-in to
the corrected clock-out, so the breaks between the punches counted as work. An approved request now changes only what
it changed in Horilla: the first clock-in and the last clock-out. The punches between stay (information
correction); where the corrected times do not fit them, the corrected pair replaces them as before
(correction). When the worked time of the request is lower by a minute or more than the day that
results, for example because of a punch of one second, the difference becomes one break in the longest work interval
and the day ends at the worked time of Horilla (correction, correction). A
worked time that is missing, zero or unreadable (attendance) or higher than the day
(attendance) leaves the day as it is and is reported. The next run replaces the days that
an earlier run imported and records their punches again.
Impact
Imported days with an approved correction no longer carry the breaks as work time. Run the stage again on an import that was made before to correct those days.