From: phasefx Date: Wed, 30 Sep 2009 20:26:58 +0000 (+0000) Subject: patron data for checkin rows X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7aaf7795136dff0ecf1ea2a9e9918826b2f9aeab;p=evergreen%2Fbjwebb.git patron data for checkin rows git-svn-id: svn://svn.open-ils.org/ILS/trunk@14238 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.js b/Open-ILS/xul/staff_client/server/circ/checkin.js index cc0957c0b..6c528b71b 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.js +++ b/Open-ILS/xul/staff_client/server/circ/checkin.js @@ -35,7 +35,7 @@ circ.checkin.prototype = { 'except_these' : [ 'uses', 'checkin_time_full' ] } ).concat( - patron.util.columns( {} ) + patron.util.columns( { 'family_name' : { 'hidden' : 'false' } } ) ).concat( patron.util.mbts_columns( {}, { 'except_these' : [ 'total_paid', 'total_owed', 'xact_start', 'xact_finish', 'xact_type' ] } ) @@ -318,6 +318,14 @@ circ.checkin.prototype = { document.getElementById('fine_tally').setAttribute('hidden','false'); } }); + + if (row.my.circ) { + obj.network.simple_request('FM_AU_FLESHED_RETRIEVE_VIA_ID.authoritative', [ses(),row.my.circ.usr()], function(req) { + var au_obj = req.getResultObject(); + row.my.au = au_obj; + if (typeof params.on_retrieve == 'function') params.on_retrieve(row); + } ); + } } } catch(E) { alert('Error in checkin.js, list_retrieve_row(): ' + E);