[open-ils-commits] r7674 -
branches/rel_1_0/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Aug 15 12:38:41 EDT 2007
Author: phasefx
Date: 2007-08-15 12:34:46 -0400 (Wed, 15 Aug 2007)
New Revision: 7674
Modified:
branches/rel_1_0/Open-ILS/xul/staff_client/server/patron/bills.js
Log:
fixes bug 569 : shove patron data into bill payment receipts for template use, so %PATRON_BARCODE% works in bill_payment template
Modified: branches/rel_1_0/Open-ILS/xul/staff_client/server/patron/bills.js
===================================================================
--- branches/rel_1_0/Open-ILS/xul/staff_client/server/patron/bills.js 2007-08-15 16:30:49 UTC (rev 7673)
+++ branches/rel_1_0/Open-ILS/xul/staff_client/server/patron/bills.js 2007-08-15 16:34:46 UTC (rev 7674)
@@ -291,7 +291,7 @@
}
if (ev.type == 'change' && obj.controller.view.payment_type.value == 'credit_payment') {
JSAN.use('util.money');
- JSAN.use('patron.util'); var au_obj = patron.util.retrieve_au_via_id(ses(),obj.patron_id);
+ JSAN.use('patron.util'); var au_obj = patron.util.retrieve_fleshed_au_via_id(ses(),obj.patron_id);
var proposed = util.money.dollars_float_to_cents_integer(ev.target.value);
var available = util.money.dollars_float_to_cents_integer(au_obj.credit_forward_balance());
if (proposed > available) {
More information about the open-ils-commits
mailing list