From 50cb44aa3f101a10b88e9a857284678cecbadeb4 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 15 Dec 2005 15:43:48 +0000 Subject: [PATCH] patron.util api change git-svn-id: svn://svn.open-ils.org/ILS/trunk@2402 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index 23d7ecea29..cea2c547aa 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -190,7 +190,7 @@ circ.util.checkin_via_barcode = function(session,barcode,backdate) { check.text = check2.text; check.route_to = check2.route_to; JSAN.use('patron.util'); - var patron = patron.util.retrieve_au_by_id( check.hold.usr() ); + var patron = patron.util.retrieve_au_via_id( check.hold.usr() ); alert('To Printer\n' + check.text + '\r\n' + 'Barcode: ' + barcode + ' Title: ' + check.record.title() + ' Author: ' + check.record.author() + '\r\n' + 'Route To: ' + check.route_to + ' Patron: ' + @@ -225,7 +225,7 @@ circ.util.checkin_via_barcode = function(session,barcode,backdate) { break; case '2': case 2: /* LOST??? */ JSAN.use('patron.util'); - var patron = patron.util.retrieve_au_by_id( check.circ.usr() ); + var patron = patron.util.retrieve_au_via_id( check.circ.usr() ); var msg = check.text + '\r\n' + 'Barcode: ' + barcode + ' Title: ' + check.record.title() + ' Author: ' + check.record.author() + '\r\n' + 'Patron: ' + patron.card().barcode() + ' ' + patron.family_name() + ', ' + -- 2.43.2