functionality to exclude archived invoices on custom reports