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: recorded 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
hr, 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
decision, and the table leave_ gets the column recorded_ by a migration.