add totals to template + vat notes