Loans (UXPROD-788)

[UIU-1816] Allow override of failed renewal due to expired user Created: 24/Aug/20  Updated: 07/Feb/23

Status: Open
Project: ui-users
Components: None
Affects versions: None
Fix versions: None
Parent: Loans

Type: Story Priority: P3
Reporter: Emma Boettcher Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Defines
defines UXPROD-3104 Fail renewal for inactive or expired ... Open
Sprint:
Development Team: Vega
Tester Assignee: Cheryl Malmborg
Epic Link: Loans

 Description   

Purpose: Allow users to override failed renewals when the borrower is inactive. When the system can calculate a due date, use that due date for the renewal. When it cannot (renewal failure reasons from scenarios 3 and 4), require user to select due date and time.

  1. Scenario
    • Given:
      • a renewal that has failed because patron is inactive and/or any number of other renewal failure reasons, except that renewal would not change the due date
      • and a staff user with permissions Users: User loans renew through override
    • When the renewal fails
    • Then show the Override button on the renewal failure modal, in addition to Close
  2. Scenario
    • Given the renewal failure modal from scenario 1
    • When the Override button is clicked
    • Then display the Override & renew modal
      • Do not display date picker
      • In New due date column, display "New due date will be calculated automatically"
      • Additional information field (required)
      • Controls: Cancel, Override
  3. Scenario
    • Given a renewal that has failed because patron is inactive, and a staff user with permissions Users: User loans renew through override, and any number of additional failure reasons except for the following reasons:
      • not loanable
      • not renewable (loan policy says not renewable)
      • renewal date is not in loan policy
    • When the Override button is clicked
    • Then display the Override & renew modal
      • Do not display date picker
      • In New due date column, display "New due date will be calculated automatically"
      • Additional information field (required)
      • Controls: Cancel, Override
  4. Scenario
    • Given a renewal that has failed because patron is inactive, and a staff user with permissions Users: User loans renew through override, and any of the following additional failure reasons:
      • not loanable
      • not renewable (loan policy says not renewable)
      • renewal date is not in loan policy
    • When the Override button is clicked
    • Then display the Override & renew modal
      • Display date picker
      • In New due date column, display "Select due date above"
      • Additional information field (required)
      • Controls: Cancel, Override
  5. Scenario
    • Given the Override & renew modal
    • When the user clicks Override
    • Then close the modal, and renew the item according to selected or calculated due date
  6. Scenario
    • Given the Override & renew modal
    • when the user clicks Cancel
    • Then close the modal and display the failure modal
  7. Scenario
    • Given an inactive user with an open loan where renewal would not change the due date
    • When a renewal is attempted on the open loan
    • Then fail the renewal, and show the renewal confirmation window
      • Renewal status: "Item not renewed: borrower is inactive, renewal would not change the due date"
      • Do not show override button
  8. Scenario
    • Given a renewal that has failed because patron is inactive, and a staff user without the permission Users: User loans renew through override
    • When the renewal fails
    • Then do not show the Override button on the renewal failure modal

Generated at Fri Feb 09 00:25:34 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.