Feature: Requests respect absence limits 

Description 

Leave requests are checked against the absence limits of the company. A request that overlaps colleagues of the same team on a few days goes to the team lead as well, who sees the full days and who is away; one that overlaps on more days is refused with the days. Whoever asks first gets the days, and a waiting request is checked again when its approval completes.

Impact 

Leave requests return absenceLimitNote, and the violation code absenceLimit and the system reason absenceLimitAtApproval are new. The table leave_request gets the column absence_limit_note.