[open-ils-commits] r18375 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Oct 18 11:35:53 EDT 2010
Author: phasefx
Date: 2010-10-18 11:35:50 -0400 (Mon, 18 Oct 2010)
New Revision: 18375
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/bill2.js
Log:
fix billing interface so that %title% and %barcode% work in bill_payment template
Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill2.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill2.js 2010-10-18 15:35:46 UTC (rev 18374)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill2.js 2010-10-18 15:35:50 UTC (rev 18375)
@@ -809,8 +809,8 @@
'payment' : o[1],
'last_billing_type' : g.bill_map[ o[0] ].transaction.last_billing_type(),
'last_billing_note' : g.bill_map[ o[0] ].transaction.last_billing_note(),
- 'title' : typeof g.bill_map[ o[0] ].title != 'undefined' ? g.bill_map[ o[0] ].title : '',
- 'barcode' : typeof g.bill_map[ o[0] ].barcode != 'undefined' ? g.bill_map[ o[0] ].barcode : ''
+ 'title' : typeof g.bill_map[ o[0] ].record != 'undefined' ? g.bill_map[ o[0] ].record.title() : '',
+ 'barcode' : typeof g.bill_map[ o[0] ].copy != 'undefined' ? g.bill_map[ o[0] ].copy.barcode() : ''
};
}
),
More information about the open-ils-commits
mailing list