optimize open/closed buttons for tickets
add some ajax for invoices, edit invoices mvc