Add tools to allow non-IT staff to reopen forms rather than needing us to edit database by hand
A common problem is that someone submits their form, meaning they can no longer edit it, and then realises something was incorrect, usually the safety induction signer. At the moment fixing this requires the COs to manually set the safety_submitted column to FALSE, and then tell the user to go back to the form, correct it, and resubmit. We cannot just change the signer in the database because the system needs to re-render the PDF safety checklist with the correct signer's name, and notify the correct signer to sign off. Ideally HR would be able to do this instead of the COs.
- present them with a list of forms that are incomplete and the reasons
- give them a button to 'reopen safety form', 'reopen personal details form' 'reopen all forms' (would it work to reopen personal without safety? I don't see why not but it's not a use case we have ever tried)
- and a tick box to mail a new form link to the starter if necessary, because the original email with the link may have been deleted, or the link may have expired by this point
I think this should only be accessible to HR, not all staff. It's rather different to the 'extend the lifetime for form that the starter has not finished filling in' case, which we do allow all staff to do. Or perhaps allow it to the person who created the form as well as HR (if we know that).