fetch docstatus in leave application for calendar view; fix in leave application test