added validation for order_date and quantity