show status of leave dates in view mode, new leave days initialise the status, fix api for leave request download.