[open-ils-commits] r18946 - trunk/Open-ILS/xul/staff_client/server/circ (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 9 13:12:49 EST 2010
Author: phasefx
Date: 2010-12-09 13:12:46 -0500 (Thu, 09 Dec 2010)
New Revision: 18946
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/util.js
Log:
transit isn't in payload first time through with ROUTE_ITEM checkin, fallback on check.org
Modified: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js 2010-12-09 11:09:13 UTC (rev 18945)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js 2010-12-09 18:12:46 UTC (rev 18946)
@@ -3077,7 +3077,7 @@
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,
More information about the open-ils-commits
mailing list