Feature: Undecided past leave requests are imported as taken 

Description 

In Horilla a leave request is often never decided, although the person took the leave. The import now treats a request that is still requested and ends before the cut-over date as taken: it is imported as approved by the import and charged against the carry-over first, then the rest of the balance. The request shows in the leave request screen that it was taken over undecided. A balance that does not cover it goes below zero, the request says so, and the import reports the warning undecidedOverdrawn for HR; no opening entry is raised.

The go-live check lists these requests as the information undecidedLeaveRequests. HR enters the ones that were not taken into the new mapping file leave-requests-not-taken.csv (column requestId); they are imported as withdrawn and charge nothing. Requests that are still undecided after the cut-over stay pending.

Impact 

The system reasons importedUndecided and importedUndecidedOverdrawn are new values of systemReason of a leave request. Nothing in the database changes.