working on invoices functionality -> hooked up buttons etc