fix date select error in sales report without proper input