Bug 24157: (follow-up) Conditionally show controls to reopen and close invoice