if total leave days is 0, do not allow leave application to be saved