Overview: Renew and Change due date are active buttons for closed loans.
Steps to reproduce:
- Log into snapshot-stable as diku_admin
- Click Users
- Find a user with a closed loan (or check out an item and check it back in, then navigate to the appropriate user)
- View loan details
Expected results: The renew and change due date buttons are inactive for a closed loan.
Actual results: the renew and change due date buttons are active and produce errors when used. See screenshot.