modified sale order detai
fixed some bugs
merg