.. include:: /Includes.rst.txt .. _feature-1792978339: ====================================== Feature: Packages credit time on a day ====================================== Description =========== A package can now credit working time on a day, for example the time an apprentice spends at vocational school. It implements the new port ``DayCreditProvider`` (tag ``adsum.day_credit_provider``), and the working-day calendar lowers the target of the day by the credit, never below zero. Leave and sickness for the whole day keep the day to themselves. Work on top of a credit is plus time and raises no notice of work on an absence. A provider publishes ``DayCreditsChanged`` when its credits change, and attendance recalculates the days. The employee's average day, until now worked out inside attendance, is the new contract ``AverageDayQuery`` of working time. Impact ====== No visible change without a package that provides credits. The message ``DayCreditsChanged`` is documented in the manual's page on events and messages. .. index:: Backend, package:adsum-working-time, package:adsum-attendance