.. include:: /Includes.rst.txt .. _feature-1791272953: ================================================ Feature: Count leave in working or calendar days ================================================ Description =========== A leave type declares its ``countingBasis``: ``workingDays`` (the default), ``workingDaysIncludingHolidays``, which also counts a public holiday on a scheduled working day, or ``calendarDays``, which counts every date and takes no half days. The one day calculation of requests applies it to preview, request and recalculation. A type counting calendar days is never combined with a policy in hours. The attendance target of a counted holiday or day off stays 0. Impact ====== The migration adds ``leave_type.counting_basis``; existing types count working days as before. .. index:: API, Frontend, Database, package:adsum-leave