Details
Description
Purpose: When a loan is associated with a loan policy that is has a "fixed" profile, the renewal period for the loan is calculated by reference to the fixed due date schedule. The purpose of this story is to calculate the due date for renewals on such loans.
Scenarios:
- Scenario
- Given Loan Policy X which has:
- Loanable = Y
- Loan profile = Fixed
- Fixed due date schedule = Fixed due date schedule F
- Renewable = Y
- Renewal period different from original loan = N
- When new Loan L is associated with Loan Policy X through loan rules AND Loan L is renewed individually by selecting "Renew" in the actions menu on the Loans page
- Then the new due date for renewed Loan L should be calculated as:
- If system date at the time of the renewal of Loan L falls in a date range in Fixed due date schedule F (e.g. it is between a Date from and Date to dates in a row in the Schedule section) then the new due date for Loan L should be the due date associated with that date range/row.
- If the renewal date for Loan L does NOT fall within a date range in Fixed due date schedule F:
- Renewal is prevented
- A modal popup should display reading:
- Header: Item not renewed
- Body: Item can't be renewed as the renewal date falls outside of the date ranges in the loan policy. Please review <loanPolicyX> before retrying renewal.
- Buttons: Okay
- Given Loan Policy X which has:
ScenarioCB: Realized this scenario deserves its own story. SeeUIU-429Given Loan Policy X from scenario 1When the due date for the renewal does not differ from the previous due date and loan renewal is attempted by selecting "Renew" from the actions menu on LoansThen:Renewal is preventedNo renewal loan action should be loggedRenewal count should not increaseA modal popup should display reading:Header: Item not renewedBody: Renewal at this time would not change the due date.Buttons: Okay
Out of scope:
- What happens if:
Useful links:
TestRail: Results
Attachments
Issue Links
- clones
-
UICHKOUT-66 Get Fixed Loan Period from Loan Policy
-
- Closed
-
- is blocked by
-
UIU-552 Adjust renew error messages
-
- Closed
-
- relates to
-
CIRC-186 Implement Closed Library Due Date Management support in due date calculations - For Renewals
-
- Closed
-
-
UICIRC-60 Loan Policy: "Renew from" Setting Should only Appear When Loan Profile = Rolling
-
- Closed
-
-
UIU-428 Get Rolling Renewal Period from Loan Policy (Renew from Current Due Date)
-
- Closed
-
-
UIU-435 Get Alternate Rolling Renewal Period from Loan Policy (Renew from System Date)
-
- Closed
-
-
UIU-484 Multi-Reason Renewal Error Popup for Single-Loan Renewal
-
- Closed
-
-
FOLIO-1101 Move Renewal Due Date Logic to the Server
-
- Closed
-
-
UIU-415 Get Rolling Renewal Period from Loan Policy (Renew from System Date)
-
- Closed
-
-
UIU-433 Get Alternate Fixed Renewal Period from Loan Policy
-
- Closed
-
-
UIU-448 Renewal Limit
-
- Closed
-
-
UX-171 UX: User Feedback for Bulk Actions That Partially Succeed
-
- Closed
-
-
UXPROD-273 Loan Policy: Impact on loans part 1 (Q2 2018 release)
-
- Closed
-