Bugfix: Keep the average day of a date when the schedule changes later 

Description 

With the credit basis averageDay, an absence was credited with the weekly contract hours divided by the working days per week averaged over the whole month. A change of model and contract in the middle of a month (part-time to full-time, 50 % to 83 %, full-time to part-time) therefore changed the credit of days before the change as soon as it was entered. The working days per week are now those valid on the day itself.

Impact 

Days before a schedule change keep their credit. Days of a month in which a change already took effect may be credited differently on their next recalculation, now matching their own schedule.