Completed functionality for both view purchase order form and new purchase order form