Feature: Import the shifts of Horilla as working-time models 

Description 

The stage working-time turns every Horilla shift of an imported company into a working-time model with the code H<shift id>, valid from the start of the history. The minimum working hours of each weekday become its target, start and end its window, a window across midnight a night shift, and the automatic punch-out time the automatic clock-out. A shift whose windows do not cover its targets becomes a flextime model without windows (windowsDropped); a weekly full time that differs from the weekday targets is reported (weeklyTargetMismatch). A shift with an invalid weekday is not imported (invalidDuration).

The stage working-time-assignments assigns each imported employee the model of their shift from the later of entry date and history start. An employee whose shift was not imported is reported (noWorkingTimeAssignment); a rotating shift is not taken over (rotationNotMapped).

Impact 

Only with MIGRATION_ENABLED=1.