LP1735221 Item Alert Prevents Hold Capture Delay Verification user/dbriem/lp1735221_confirm_capture_delay_after_item_alerts
authorDan Briem <dbriem@wlsmail.org>
Thu, 4 Aug 2022 02:46:06 +0000 (22:46 -0400)
committerDan Briem <dbriem@wlsmail.org>
Thu, 4 Aug 2022 02:46:06 +0000 (22:46 -0400)
commitb7f6b8823697cfba443e4773753e2b799d7bf33f
tree06b438a79ad2cb9a56e61afac2698c460c282dec
parent35179d65ba7a5056c18f27b2a8aacad57a66e621
LP1735221 Item Alert Prevents Hold Capture Delay Verification

Clicking OK on an item alert triggers a checkin override. If the
response contains an override event, an error is thrown. Since
a hold capture delay event is handled as an override, an error
throws before the hold capture delay dialog opens.

This handles the capture delay event separately from the override
events so the dialog will open after an override attempt.

To test:
1. set Hold Capture Requires Verification on a shelving location
2. add an item alert to an item in that shelving location
3. place an item hold on that item
4. checkin that item
5. click OK on the alert dialog and Capture on the delay dialog
6. note the hold is captured`

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Open-ILS/web/js/ui/default/staff/circ/services/circ.js