From a248d42cacd35eb940e2fac94b04c25ec645f4f7 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 9 Dec 2010 18:12:46 +0000 Subject: [PATCH] transit isn't in payload first time through with ROUTE_ITEM checkin, fallback on check.org git-svn-id: svn://svn.open-ils.org/ILS/trunk@18946 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index 47fea736e..863a1378d 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -3077,7 +3077,7 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che var template = check.payload.hold ? 'hold_transit_slip' : 'transit_slip'; var params = { 'patron' : print_data.user, - 'lib' : data.hash.aou[ check.payload.hold ? check.payload.hold.pickup_lib() : check.payload.transit.source() ], + 'lib' : data.hash.aou[ check.payload.hold ? check.payload.hold.pickup_lib() : (check.payload.transit ? check.payload.transit.dest() : check.org) ], 'staff' : data.list.au[0], 'header' : data.print_list_templates[ template ].header, 'line_item' : data.print_list_templates[ template ].line_item, -- 2.11.0