added totalon invoice page and remove invoices when customer is removed