date filtering implemented for orders