Request: pickup deadline should be calculated starting from the checkin date #2679
Labels
bug
Breaks something but is not blocking
f: circulation
Concerns the circulation interface or backend
f: professional ui
Professional interface
p-High
High priority (to be solved in the 2-3 next months)
Milestone
Describe the bug
For now, the pickup deadline is calculated starting from the request date.
Ex : https://ils.bib.uclouvain.be/professional/records/items/detail/3259079
https://ils.bib.uclouvain.be/professional/records/items/detail/3511120
https://ils.bib.uclouvain.be/professional/records/items/detail/3499505
It appears that when a request is validated with 'validate_first_pending' the request transaction_date isn't updated. It's important to do that because the loan request_expiration_date is calculated on this date.
To Reproduce
Expected behavior
The pickup deadline should be calculated from the checkin date.
Context
v1.8.0
or the commit hash (see frontpage).Screenshots
The 'validate request' date should be the same as the checkin date. In this example, it displays the same date as the request date.

Other example

Additional context
The text was updated successfully, but these errors were encountered: