Added totals for invoices