Feature: Import the shifts of Horilla as working-time models
Description
The stage working- 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 (windows); a weekly full time that differs from the weekday targets is reported (weekly). A shift with an invalid weekday is not imported (invalid).
The stage working- 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 (no); a rotating shift is not taken over (rotation).
Impact
Only with MIGRATION_.