From: phasefx Date: Tue, 15 Aug 2006 14:00:34 +0000 (+0000) Subject: auto-print for bills X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9a96e9139f261bb9203e24791b716a69ecc7dbfc;p=evergreen%2Fpines.git auto-print for bills git-svn-id: svn://svn.open-ils.org/ILS/trunk@5514 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/bills.js b/Open-ILS/xul/staff_client/server/patron/bills.js index a86acd9208..c4b87e2e0d 100644 --- a/Open-ILS/xul/staff_client/server/patron/bills.js +++ b/Open-ILS/xul/staff_client/server/patron/bills.js @@ -474,6 +474,7 @@ patron.bills.prototype = { 'list' : payment_blob.payments, 'data' : obj.previous_summary, }; + if (document.getElementById('auto_print').checked) params.no_prompt = true; JSAN.use('util.print'); var print = new util.print(); print.tree_list( params ); } catch(E) { diff --git a/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul b/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul index 84925ac8eb..9019726d30 100644 --- a/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul @@ -104,6 +104,7 @@