[open-ils-commits] r18952 - branches/rel_1_6/Open-ILS/xul/staff_client/server/circ (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 9 13:26:43 EST 2010
Author: phasefx
Date: 2010-12-09 13:26:40 -0500 (Thu, 09 Dec 2010)
New Revision: 18952
Modified:
branches/rel_1_6/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: branches/rel_1_6/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/circ/util.js 2010-12-09 18:26:25 UTC (rev 18951)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/circ/util.js 2010-12-09 18:26:40 UTC (rev 18952)
@@ -2487,7 +2487,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