LP#1879983: make fetch_{staged,arrived,delivered} return holds
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 15 Jun 2020 15:41:11 +0000 (11:41 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 15 Jun 2020 15:41:11 +0000 (11:41 -0400)
commit71e0e98cc074c6875bd51cefd79e441e9fa0313c
treee986c2a3109e26fdbf95a9d4578fb431be692f67
parent34939c21ac7461073daba55fc5a4e3a14351c30f
LP#1879983: make fetch_{staged,arrived,delivered} return holds

This allows the corresponding tabs in the staff user interface
to display the list of items, allowing for better error-checking
by staff.

In the case of fetch_delivered, a heuristic is used: holds that
have been marked fulfilled at the appointment's pickup library
within 90 seconds of the appointment's delivered timestamp
are included.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Curbside.pm