Get Alternate Rolling Renewal Period from Loan Policy (Renew from Current Due Date)
Description
Environment
None
Potential Workaround
None
relates to
Checklist
hideTestRail: Results
Activity
Show:
Adam Shire May 14, 2018 at 5:57 PM
tested successfully in folio-snapshot-stable and setting to done.
Done
Created March 12, 2018 at 12:42 PM
Updated January 15, 2019 at 3:37 AM
Resolved May 14, 2018 at 5:57 PM
TestRail: Cases
TestRail: Runs
Purpose: The purpose of this story is to calculate the due date for renewals on such loans when an ALTERNATE rolling renewal period has been selected for renewals
Scenarios:
Scenario
Given Loan Policy X has:
Loanable = Y
Renewable = Y
Loan profile = Rolling
Renewal period different from original loan? = Y
Renew from = Current due date
When Renewing Loan L from the User Loans or User Loan Details pages
Then the Due date for Loan L should be Current loan due date + Alternate loan period for renewals
Out of scope (other stories will be added for these):
What happens if:
Loanable = N
Profile = Fixed
Renew from = System date (covered in https://folio-org.atlassian.net/browse/UIU-415#icft=UIU-415)
There is a Fixed due date schedule (due date limit) applied
There is no loan policy targeted at the loan
Etc.
Useful links:
Loan policy metadata doc
Loan policy mockups