From f07488dcb99ca781b45cb2ea25906774baa22d70 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 18 Oct 2010 15:35:50 +0000 Subject: [PATCH] fix billing interface so that %title% and %barcode% work in bill_payment template git-svn-id: svn://svn.open-ils.org/ILS/trunk@18375 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/bill2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/bill2.js b/Open-ILS/xul/staff_client/server/patron/bill2.js index 0805014a1..0be012d87 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill2.js +++ b/Open-ILS/xul/staff_client/server/patron/bill2.js @@ -809,8 +809,8 @@ function apply_payment() { '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() : '' }; } ), -- 2.11.0