How to add total to purchase order tool?