Feature: Import the leave requests of Horilla 

Description 

The stage leave-requests takes over Horilla's requests that end in the history window:

  • An approved request is imported as approved, with origin migration and without approval chain. Its days are recomputed by the working-day calendar; days before the cut-over book no usage.
  • A request still waiting is submitted again with origin migration: the current approval rules decide its approvers, and nobody is notified, reminded or escalated to until app:migration:horilla:release-approvals releases the migrated approvals at go-live.
  • A request of a type mapped to sickness becomes a sickness report.
  • Cancelled and rejected requests are counted, not imported. An overlapping request (overlappingRequest) and one of a type that was not imported (leaveTypeNotMapped) are reported. A half day Horilla put inside a longer request is moved to its first or last day (halfDayMoved).

Impact 

Only with MIGRATION_ENABLED=1.