From cd50ea2fef7b830b1e2ba4078cc055d5275a89b4 Mon Sep 17 00:00:00 2001 From: pines Date: Sat, 30 Sep 2006 05:28:52 +0000 Subject: [PATCH] option for not alerting on pre-cat checkin git-svn-id: svn://svn.open-ils.org/ILS/trunk@6284 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul | 1 + Open-ILS/xul/staff_client/server/circ/util.js | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul b/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul index ee536a90f6..5625bdb7ef 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul +++ b/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul @@ -98,6 +98,7 @@ command="cmd_checkin_print" accesskey="&staff.checkin.print_receipt_label.accesskey;"/> + diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index c8f27bc7eb..05d7f7c709 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -1075,7 +1075,16 @@ circ.util.checkin_via_barcode2 = function(session,barcode,backdate,auto_print,ch break; case 11: /* CATALOGING */ check.route_to = 'CATALOGING'; - msg += 'This item needs to be routed to ' + check.route_to + '.'; + if (document.getElementById('do_not_alert_on_precat')) { + var x = document.getElementById('do_not_alert_on_precat'); + if (! x.checked) msg += 'This item needs to be routed to ' + check.route_to + '.'; + } else { + msg += 'This item needs to be routed to ' + check.route_to + '.'; + } + if (document.getElementById('no_change_label')) { + document.getElementById('no_change_label').setAttribute('value',barcode + ' needs to be cataloged.'); + document.getElementById('no_change_label').setAttribute('hidden','false'); + } break; default: msg += ('Please inform your helpdesk/developers of this error:\nFIXME -- this case "' + (data.hash.ccs[check.copy.status()] ? data.hash.ccs[check.copy.status()].name() : check.copy.status().name()) + '" is unhandled.\n'); -- 2.11.0