seperate open ,close and view for shipment details with function