Defect#253, handle the case where no receipt number is entered.