From 898430d87c3e7939841f84c0ec3845984debc9ec Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 20 Dec 2005 21:41:44 +0000 Subject: [PATCH] fleshed patron does not give us fleshed .home_ou() git-svn-id: svn://svn.open-ils.org/ILS/trunk@2475 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/bill_wizard.xul | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul b/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul index 3c7b6dc040..36dd6950cc 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul +++ b/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul @@ -53,7 +53,7 @@ document.getElementById('patron_name').setAttribute('value', g.au_obj.family_name() + ', ' + g.au_obj.first_given_name() + ' : ' + g.au_obj.card().barcode() ); document.getElementById('billing_location').setAttribute('value', - g.OpenILS.data.list.au[0].home_ou().name() ); + g.OpenILS.data.hash.aou[ g.OpenILS.data.list.au[0].home_ou() ].name() ); } catch(E) { var err_msg = "!! This software has encountered an error. Please tell your friendly " + @@ -69,7 +69,7 @@ try { var grocery = new mg(); grocery.isnew('1'); - grocery.billing_location( g.OpenILS.data.list.au[0].home_ou().id() ); + grocery.billing_location( g.OpenILS.data.list.au[0].home_ou() ); grocery.usr( g.au_obj.id() ); grocery.note( document.getElementById('bill_note').value ); JSAN.use('util.network'); var net = new util.network(); -- 2.43.2