From 84b3a7b98433b7c5acc09001de0e18fa741c5f97 Mon Sep 17 00:00:00 2001 From: oleonard Date: Tue, 17 Feb 2004 22:15:33 +0000 Subject: [PATCH] Adding variable declarations so that 'waiting' screen shows same information 'reserved' screen does, adding more address info --- circ/returns.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/circ/returns.pl b/circ/returns.pl index bee3e55c17..37079a6149 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -188,6 +188,13 @@ if ($messages->{'ResFound'}) { if ($res->{'ResFound'} eq "Waiting") { $template->param( found => 1, name => $name, + borfirstname => $borr->{'firstname'}, + borsurname => $borr->{'surname'}, + bortitle => $borr->{'title'}, + borphone => $borr->{'phone'}, + borstraddress => $borr->{'streetaddress'}, + borcity => $borr->{'city'}, + borzip => $borr->{'zipcode'}, bornum => $res->{'borrowernumber'}, borcnum => $borr->{'cardnumber'}, branchname => $branches->{$res->{'branchcode'}}->{'branchname'}, @@ -217,7 +224,8 @@ if ($messages->{'ResFound'}) { borphone => $borr->{'phone'}, borstraddress => $borr->{'streetaddress'}, borsub => $borr->{'suburb'}, - bortown => $borr->{'town'}, + borcity => $borr->{'city'}, + borzip => $borr->{'zipcode'}, boremail => $borr->{'emailadress'}, barcode => $barcode ); -- 2.39.5