Feature: Correct attendance days through requests and directly 

Description 

Employees request corrections of their own past days through createAttendanceCorrection: adding a punch, removing one or moving it to another time, with a reason. A request is an approval of the subject type attendanceCorrection; until it is approved, no punch changes. An approved request voids the punches it replaces, records the new ones with the source correction, returns a validated day to validation and recalculates the day, so the working-time account books the difference. A request that no longer fits the day when it is approved changes nothing and is marked as failed; the requester and HR are told (time.correctionFailed).

Requests are changed while they wait (the approval starts again and links the earlier one), withdrawn, and removed once rejected or withdrawn. A day takes one waiting request at a time, and requests reach back as far as the company's correction window.

Managers in scope and HR correct a day directly with correctAttendanceDay; nobody corrects their own day that way. The reason and the operations go into the change history, and the employee is told (time.dayCorrected).

Impact 

New table attendance_correction (migration). New approval subject type attendanceCorrection, which approval rules may name. AttendanceDay.pendingCorrectionId now names the waiting request of the day.