Add withdetails to getOrders