fixed the issue where the radiobutton from the generate invoice created an error after jumping to other report, the solution is to make the first radiobutton selected when hiding the generate invoice button. This will ensure the radiobutton stays selected and the error will no longer be present. Additionally, any other changes to the code that were necessary to make the radiobutton stay selected should be implemented to ensure the issue is completely resolved.