bug fixed in leave request page where ajax call was firing on click of already approved or rejected leave