Closed agnesgaroux closed 3 months ago
Rules for DeepStore leadTimeInDays
The logic as I understand it is:
If I make a request on Monday 3rd June:
That's assuming, TBC, that:
Email sent to LE&E to confirm the above points
As well as public holidays there's also the longer Christmas closure, which changes every year and is put into the library opening times by Editorial.
Pull in the item's location code from Sierra when we get its access conditions here then use it in
getAvailableDates
to figure out whether it's DeepStore (harop) or onsite (any other location code)If it's DeepStore, fetch the venue from content-api and apply correct
LeadTimeInDays
❓I don't think the location code should be part of the
DisplayAccessCondition
since it's not something we want to display on the work page. We could include it and let wc.org ignore it, or refactorupdateItems
so that it handles items one by one which I believe would keep things are bit cleaner-> there will be some slight complication around the available dates after the first
AvailabilitySlot
will be the day the item is delivered, then the following ones will be library opening days