Applying employee leave