[open-ils-commits] r10912 - in trunk/Open-ILS/xul/staff_client/server: circ locale/en-US
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Oct 25 10:12:10 EDT 2008
Author: phasefx
Date: 2008-10-25 10:12:04 -0400 (Sat, 25 Oct 2008)
New Revision: 10912
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/util.js
trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
Log:
staff piece for hold capture delay
Modified: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js 2008-10-25 14:10:16 UTC (rev 10911)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js 2008-10-25 14:12:04 UTC (rev 10912)
@@ -2243,6 +2243,23 @@
document.getElementById('no_change_label').setAttribute('hidden','false');
}
+ } else /* HOLD_CAPTURE_DELAYED */ if (check.ilsevent == 7019) {
+
+ var rv = 0;
+ msg += document.getElementById('circStrings').getString('staff.circ.utils.hold_capture_delayed.description');
+ rv = error.yns_alert_formatted(
+ msg,
+ document.getElementById('circStrings').getString('staff.circ.utils.hold_capture_delayed.titlebar'),
+ document.getElementById('circStrings').getString('staff.circ.utils.hold_capture_delayed.prompt_for_nocapture'),
+ document.getElementById('circStrings').getString('staff.circ.utils.hold_capture_delayed.prompt_for_capture'),
+ null,
+ document.getElementById('circStrings').getString('staff.circ.confirm.msg'),
+ '/xul/server/skin/media/images/stop_sign.png'
+ );
+ params.capture = rv == 0 ? 'nocapture' : 'capture';
+
+ return circ.util.checkin_via_barcode(session,params,backdate,auto_print,false);
+
} else /* NETWORK TIMEOUT */ if (check.ilsevent == -1) {
error.standard_network_error_alert(document.getElementById('circStrings').getString('staff.circ.checkin.suggest_offline'));
} else {
Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties 2008-10-25 14:10:16 UTC (rev 10911)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties 2008-10-25 14:12:04 UTC (rev 10912)
@@ -294,6 +294,10 @@
staff.circ.utils.hold_slip=Hold Slip
staff.circ.utils.hold_slip.print.yes=Print
staff.circ.utils.hold_slip.print.no=Do Not Print
+staff.circ.utils.hold_capture_delayed.description=This item could fulfill a hold request but capture has been delayed by policy.
+staff.circ.utils.hold_capture_delayed.titlebar=Hold Capture Delayed
+staff.circ.utils.hold_capture_delayed.prompt_for_nocapture=Do Not Capture
+staff.circ.utils.hold_capture_delayed.prompt_for_capture=Capture
staff.circ.utils.capture=%1$s has been captured for a hold.
staff.circ.utils.needs_cataloging=%1$s needs to be cataloged.
staff.circ.utils.copy_status.error=FIXME -- this case "%1$s" is unhandled.
More information about the open-ils-commits
mailing list