From: phasefx Date: Tue, 26 Apr 2011 20:44:11 +0000 (+0000) Subject: Hold, Transit, and Hold/Transit Slips used to suppress the printer dialog, but we... X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=d5ac9f7d661631e5d9efea2975800175bfc3acf1 Hold, Transit, and Hold/Transit Slips used to suppress the printer dialog, but we lost that when we moved to templated slips. This adds a sticky Printer Prompt checkbox to Check In for controlling that behavior. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20327 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 582673b..405dcca 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -2176,6 +2176,7 @@ + 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 e208d5b..522a740 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul +++ b/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul @@ -155,6 +155,7 @@ label="&staff.checkin.print_receipt.label;" command="cmd_checkin_print" accesskey="&staff.checkin.print_receipt.accesskey;"/> + diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index 3e13c55..35870e4 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -2819,6 +2819,9 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che 'list' : print_list, 'data' : print_data }; + if ($('printer_prompt')) { + if (! $('printer_prompt').checked) { params.no_prompt = true; } + } print.tree_list( params ); } } catch(E) { @@ -3209,6 +3212,9 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che 'list' : print_list, 'data' : print_data }; + if ($('printer_prompt')) { + if (! $('printer_prompt').checked) { params.no_prompt = true; } + } print.tree_list( params ); } } catch(E) {