Feature: Record a past absence as already decided 

Description 

An absence that happened before it was entered, such as a release by law before an exam or a vacation approved outside the system, waited for a manager who sometimes had no account, and the day stayed absent until then. HR can now record such a leave request for another person as already decided: recordedAsDecided with a reason, allowed only when the whole request lies in the past. The request is approved at once without an approval step, its decision source is hrRecorded, the change history keeps the reason and HR as the one who entered it, and the balance and the days are booked like for any approved request. The employee is told that the leave was approved; no manager is asked.

Impact 

Managers and employees cannot record a request as already decided, and neither can HR for the own absence; a request that ends today or later and a request without a reason are refused. The leave request has the new field decisionSource, and the table leave_request gets the column recorded_by_hr by a migration.