invenio-app-ils icon indicating copy to clipboard operation
invenio-app-ils copied to clipboard

[REQ] Loan extension

Open kpsherva opened this issue 5 years ago • 4 comments

As a patron, I can request extension for my loan The user can see his on-going (including expired) loans in his profile page. For each loan, a button labeled e.g. "Request extension" is displayed. The button should extend the loan automatically, unless (order is important):

  1. the action extend is not available for this loan
  2. the number of extensions for this loan has reached the max (configurable)
  3. the document of the loan is overbooked (more requests than available items)

If the patron cannot request for extension because the button is disabled, she/he should contact the library to address the issue. The library will choose what to do.

As a librarian, I can always extend a loan From the backoffice, the librarian can always extend the loan overriding the checks for max number of extensions and overbooked loan.

  • [ ] see specific issue #520

Link to requirements


Nice to have It would be nice to model the extension request as real request object so that the patron can create a new extension request even if the conditions above are not met and the librarian can take actions (decide to extend or not) without using e-mails.

kpsherva avatar Apr 11 '19 08:04 kpsherva

it would be nice to develop after we have a user's profile page where they can extend by themselves

kpsherva avatar Jun 10 '19 12:06 kpsherva

The loan extension should be automatically approved if there is no waiting list for this document, otherwise Librarian decides: https://codimd.web.cern.ch/0p-ZhZDnTAycgWGNULBXBQ#UC-User-can-extend-a-loan

As I am trying to explain in my comment there is no structure currently to line up requests for extension. The user either is able to request an extension or not. I understand what they describe and what they want to do, but this feature will require further decisions like where do we store the extend requests, interface for the librarian to handle them etc ...

topless avatar Mar 18 '20 08:03 topless

so as I answered in the comment you've linked. The loan can be automatically approved if there is no waiting list for the book (or if they don't exceed the maximum allowed number. Otherwise we block the extend button for the patron, and it has to be handled via email

kpsherva avatar Mar 18 '20 17:03 kpsherva

The issue text has been updated accordingly.

ntarocco avatar Mar 20 '20 09:03 ntarocco