.. include:: /Includes.rst.txt .. _feature-1793289439: ======================================================= Feature: Filter the team days by their validation state ======================================================= Description =========== With the validation of days, a manager looking at a month of a team had to find the few days that wait for them by eye among about a hundred rows. The list of the team days now has the filter :guilabel:`Validation` (:guilabel:`Bestätigung`) with the states of a day: waiting, validated, validated automatically and not required. The list of attendance days of the API takes the query parameter ``validationState`` with the values ``pending``, ``validated``, ``autoValidated`` and ``notRequired``; another value answers 400. Impact ====== The contract of ``GET /attendance-days`` has the optional parameter ``validationState``. The address of the page keeps the filter, so a link such as ``/team/days?validationState=pending`` opens the list narrowed to the days that wait for validation. .. index:: API, Frontend, package:adsum-attendance