various fixes to OpenILS::Application::Curbside
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 21 May 2020 22:05:31 +0000 (18:05 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 21 May 2020 23:11:34 +0000 (19:11 -0400)
commitb34999a3e3015f82eba9cf0c716795a760be72d0
treeffa6fd31b22db0591ab71738e281206ae6c0b801
parentaa670c361aef4d0b6e08d51cef16c21b170badca
various fixes to OpenILS::Application::Curbside

* fix references to "arrival" column
* accept curbside times that lack seconds

  I.e., open-ils.curbside.create_appointment will now accept
  both "12:45" and "12:45:00" when setting an appointment

* fixes to open-ils.curbside.delete_appointment

  - correct API doc
  - fix bug that prevented deletion
  - make it return a true value upon success

* fix uses of flesh_fields
* fix crash in open-ils.curbside.fetch_to_be_staged
* fix crash in open-ils.curbside.fetch_to_be_staged.latest
* fix crash in open-ils.curbside.mark_arrived
* fix calculation of slot time: account for TZ; calculate offset correctly
* fix crash in open-ils.curbside.mark_delivered

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