|
In order to determine due dates and due times for loans, FOLIO needs to determine whether the service point associated with the loan transaction will have open hours at the time the loan is calculated to be due. If not, settings defined within the applicable Loan Policy will determine how to calculate an appropriate due date and due time for the loan. FOLIO will need to utilize the Calendar-API (as is, or with extended functionality to meet unmet requirements or improve underlying implementation) in order to get an appropriate due date/time to fulfill the loan request.
To do:
1) Review Calendar API doc: https://s3.amazonaws.com/foliodocs/api/mod-calendar/calendar.html#calendar_periods_get
2) Review design for mod-calendar's raml (not implemented in the API): https://github.com/folio-org/mod-calendar/blob/074e9a7d29f522fb9f311347a197303796964ecc/ramls/calendar.raml
Simple overview and use-cases:
Service Points - Scenarios for Open/Closed Hours: https://docs.google.com/presentation/d/1dpYxHNNd9-aSWHhHcHlHOPUqjnpUW83cdmCFM3e7r88/edit?usp=sharing
FOLIO Loan Policies: https://docs.google.com/presentation/d/1wz9Hkkk6QZhcI0kY9RgN-Q1vAJo9qBmBnFJFY3dKN8Q/edit?usp=sharing
|