.. include:: /Includes.rst.txt .. _feature-1793034022: ===================================================== Feature: Import the attendance corrections of Horilla ===================================================== Description =========== Horilla applies an attendance request to its day record only and never to the attendance activities, so the punches alone lost every correction. The new stage ``attendance-corrections`` imports the requests on top of the punches. An approved request becomes an approved correction of its day with origin ``migration``: the corrected clock-in and clock-out replace the punches of the day, which stay in the history, and a day without punches gets the pair. The Horilla approver is named as the decider when that person was imported. A request that is still waiting becomes an open correction request that the approvers of adsum decide; it stays quiet until the migrated approvals are released. The warning ``correctionApplied`` names the Horilla attendance id, a request without usable times is reported with ``correctionDataInvalid``. The delta import brings requests made or decided later. Impact ====== ``run-all`` runs the new stage after the punches. Corrections that Horilla approved are now part of the imported days, so the worked time of those days matches Horilla's. .. index:: Migration, package:adsum-migration