.. include:: /Includes.rst.txt .. _bugfix-1791278752: ========================================================= Bugfix: Forecast leave across every period up to the date ========================================================= Description =========== The forecast added every planned grant up to the date but ignored that unused days lapse at the end of a leave year, so two years ahead it counted both years' grants. A forecast simulator now replays in memory what the runs will book up to the date, leave year by leave year and quota period by quota period, including what is carried over; what is not carried lapses with its validity. The balances, the request preview and, for periodic quotas, the validation of a request for later days all use it. Impact ====== Forecasts further ahead than the current leave year are lower where unused days lapse. Nothing is booked by the forecast. .. index:: API, package:adsum-leave