Calculate the leave for contractor staff and employees on short term temporary contracts with irregular work patterns