Create method calculateTotal for InvoiceStuffPage