get order detail data from backend and put it into html page