Added automatic calculation of totals on the invoice detail row.