[open-ils-commits] [GIT] Evergreen ILS branch master updated. a898371a6c547b35612578f063b614f5cd0709e5

Evergreen Git git at git.evergreen-ils.org
Tue Aug 23 15:06:05 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  a898371a6c547b35612578f063b614f5cd0709e5 (commit)
      from  a0b3aaf19ec133f5ddb85e09e1d5abde69cf96c5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a898371a6c547b35612578f063b614f5cd0709e5
Author: Jason Stephenson <jstephenson at mvlc.org>
Date:   Tue Aug 9 17:19:49 2011 -0400

    Branchify patch from Steven Chan on LP bug #821640.
    
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>

diff --git a/Open-ILS/xul/staff_client/server/patron/bill2.js b/Open-ILS/xul/staff_client/server/patron/bill2.js
index 76eb5af..a234f3f 100644
--- a/Open-ILS/xul/staff_client/server/patron/bill2.js
+++ b/Open-ILS/xul/staff_client/server/patron/bill2.js
@@ -720,12 +720,16 @@ function print_bills() {
         var template = 'bills_historical'; if (xul_param('current')) template = 'bills_current';
         JSAN.use('patron.util');
         g.patron = patron.util.retrieve_fleshed_au_via_id(ses(),g.patron_id,null); 
-        var params = { 
-            'patron' : g.patron,
-            'printer_context' : 'receipt',
-            'template' : template
-        };
-        g.bill_list.print(params);
+        g.bill_list.print({ 
+              'patron' : g.patron
+            , 'printer_context' : 'receipt'
+            , 'template' : template
+            , 'data' : {
+                  grand_total_owed:   $('tb_total_owed').value
+                , grand_total_billed: $('total_billed').value
+                , grand_total_paid:   $('tb_total_paid').value
+            }
+         });
     } catch(E) {
         g.error.standard_unexpected_error_alert($("patronStrings").getString('staff.patron.bill_history.print_bills.print_error'), E);
     }

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/xul/staff_client/server/patron/bill2.js |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list