.. include:: /Includes.rst.txt .. _task-1791597871: ============================= Task: Penalties as a contract ============================= Description =========== Packages that record penalties for records of their own, such as lateness incidents and leave requests, use the contract ``Penalties`` of the core: who may record one, which penalty holds a source, and the penalty as the API shows it. The command ``RecordPenalty`` answers the ID of the penalty instead of the entity, and ``PenaltyInput`` moved to the contracts of the core. Impact ====== None for users. A package recording penalties reads the result of ``RecordPenalty`` as an ID. .. index:: package:adsum-core, package:adsum-attendance, package:adsum-leave