Added total and grand total to purchases