added date search for invoices