[T-1766] Function for get all absences

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

Merge request reports