[open-ils-commits] r18950 - 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:25:54 EST 2010
Author: phasefx
Date: 2010-12-09 13:25:50 -0500 (Thu, 09 Dec 2010)
New Revision: 18950
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/util.js
Log:
big thinko. Going by the stock receipt template, this should be the workstation lib. Destination is handled by a different variable
Modified: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js 2010-12-09 18:14:10 UTC (rev 18949)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js 2010-12-09 18:25:50 UTC (rev 18950)
@@ -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 ? check.payload.transit.dest() : check.org) ],
+ 'lib' : data.hash.aou[ data.list.au[0].ws_ou() ],
'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