.. include:: /Includes.rst.txt .. _task-1793228003: ========================================================= Task: Let an imported correction keep the punches between ========================================================= Description =========== The message ``ImportAttendanceCorrection`` has the option ``keepPunches``. Without it the corrected clock-in and clock-out replace all active punches of the day, as before. With it only the first clock-in and the last clock-out of the day are replaced, and only when they differ from the corrected ones by a minute or more; the punches between them stay. When the correction replaces an earlier import of the same correction, the day is taken as it stood before that import: the punches it voided are recorded again and the ones it recorded give way. Impact ====== Only the import of a previous system sends the message, so nothing changes for users. The migration from Horilla uses the option to keep the breaks of a day when it imports an approved attendance request. .. index:: Migration, package:adsum-attendance