.. include:: /Includes.rst.txt .. _feature-1793133961: ===================================================== Feature: Recalculate attendance days from the console ===================================================== Description =========== The console command ``app:attendance:recalculate-days --from= [--to=] [--employee=]`` recalculates the existing attendance days of all employees, or of one, from a day on and prints how many days it recalculated. It runs the same recalculation a change of the holiday calendar runs, so days in a closed payroll month or a settled period keep their values. ``--include-protected-periods`` recalculates them too. The history boundary of a company does not hold the command back: the range it is given is the request. It creates no days. Impact ====== Operators can bring the days of an imported history up to date after the holidays, working times or absences were corrected, without a rule change that reaches into the past. .. index:: CLI, package:adsum-attendance