add ajax to invoice module