adding total to purchase header done