From: phasefx Date: Mon, 18 Jul 2005 18:52:57 +0000 (+0000) Subject: name, not value X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=560ea11e3a5c2b5dcac9f66a0dd2a197a2f8e0f1;p=Evergreen.git name, not value git-svn-id: svn://svn.open-ils.org/ILS/trunk@1269 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js b/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js index bbc2bce5e1..ffa4cb63d3 100755 --- a/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js +++ b/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js @@ -6,6 +6,7 @@ function fake_patron() { p.checkouts( [] ); p.hold_requests( [] ); p.credit_forward_balance('0.00'); + p.bills = []; return p; } @@ -211,10 +212,10 @@ function patron_get_profile_as_text( au ) { au.profile() && mw.G.ap_hash && mw.G.ap_hash[ au.profile() ] && - mw.G.ap_hash[ au.profile() ].value && - mw.G.ap_hash[ au.profile() ].value() + mw.G.ap_hash[ au.profile() ].name && + mw.G.ap_hash[ au.profile() ].name() ) { - return mw.G.ap_hash[ au.profile() ].value(); + return mw.G.ap_hash[ au.profile() ].name(); } else { return null; }