fix #49, add button to reaffect invoice when invoice status is paid or affected