adding view mode to purchase order