.. include:: /Includes.rst.txt .. _feature-1793042765: ========================================================= Feature: Rules over a period keep violations of their own ========================================================= Description =========== A rule that concerns a period, such as the average working time of 24 weeks, no longer has to point at one attendance day. The attendance package keeps a violation of such a rule per employee, rule and period, updates it when the period is evaluated again, marks it resolved when the period no longer breaks the rule, and announces a new one by the message ``WorkingTimePeriodRuleViolated`` at most once per calendar month while consecutive periods violate. Country packages add period violations through the event ``WorkingPeriodEvaluated``. Impact ====== The new table ``working_time_period_violation`` is created by a migration, which also deletes the violations of the rule ``dailyAverageExceeded`` that were linked to days. .. index:: API, Database, package:adsum-attendance