.. include:: /Includes.rst.txt .. _feature-1791530228: =========================================== Feature: Leave deductions are never rounded =========================================== Description =========== A penalty with a leave deduction is refused with 422 on ``leaveDeduction.quantity`` when the quantity is not in steps of half a day, or whole seconds for a policy kept in hours (``quantityNotInSteps``); it is never rounded. The leave package's refusal, such as more than the balance or the statutory minimum, is the violation on ``leaveDeduction`` with its reason code, and no penalty is stored or published (Horilla rounded and clamped such deductions, H-EMP-PENALTY-LEAVE-CLAMP). Impact ====== None for penalties with an amount. .. index:: API, package:adsum-core