adding sales order view functionality