Updated Order.dao to fetch order history