From 9a96e9139f261bb9203e24791b716a69ecc7dbfc Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 15 Aug 2006 14:00:34 +0000 Subject: [PATCH] auto-print for bills git-svn-id: svn://svn.open-ils.org/ILS/trunk@5514 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/bills.js | 1 + Open-ILS/xul/staff_client/server/patron/bills_overlay.xul | 1 + 2 files changed, 2 insertions(+) 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 @@