Code refactored

Able to get the values from LeaveDetails model and few UI chnages