How To Write Earned Leave Calculation