[T-2996] Prevent leave dates out of contract date range

Merged Facundo Barral requested to merge T-2996 into 12.0-stage

Merge request reports