@@ -, +, @@ --- circ/circulation.pl | 2 +- .../intranet-tmpl/prog/en/includes/circ-menu.inc | 3 +++ members/boraccount.pl | 5 ++++- tools/viewlog.pl | 4 +++- 4 files changed, 11 insertions(+), 3 deletions(-) --- a/circ/circulation.pl +++ a/circ/circulation.pl @@ -661,7 +661,7 @@ if($bor_messages_loop){ $template->param(flagged => 1 ); } # Computes full borrower address my (undef, $roadttype_hashref) = &GetRoadTypes(); -my $address = $borrower->{'streetnumber'}.' '.$roadttype_hashref->{$borrower->{'streettype'}}.' '.$borrower->{'address'}; +my $address = $borrower->{'streetnumber'}.' '.$borrower->{'address'}.' '.$roadttype_hashref->{$borrower->{'streettype'}}; $template->param( issued_itemtypes_count_loop => \@issued_itemtypes_count_loop, --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -13,6 +13,9 @@
  • + + + --- a/members/boraccount.pl +++ a/members/boraccount.pl @@ -113,6 +113,9 @@ $template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' ); my ($picture, $dberror) = GetPatronImage($data->{'cardnumber'}); $template->param( picture => 1 ) if $picture; +my (undef, $roadttype_hashref) = &GetRoadTypes(); +my $address = $data->{'streetnumber'}.' '.$data->{'address'}.' '.$roadttype_hashref->{$data->{'streettype'}}; + $template->param( finesview => 1, firstname => $data->{'firstname'}, @@ -123,7 +126,7 @@ $template->param( category_type => $data->{'category_type'}, # category_description => $data->{'description'}, categoryname => $data->{'description'}, - address => $data->{'address'}, + address => $address, address2 => $data->{'address2'}, city => $data->{'city'}, zipcode => $data->{'zipcode'}, --- a/tools/viewlog.pl +++ a/tools/viewlog.pl @@ -73,6 +73,8 @@ if ($src eq 'circ') { # if we were called from circulation, use the circulatio my $borrowernumber = $object; my $data = GetMember('borrowernumber'=>$borrowernumber); my ($picture, $dberror) = GetPatronImage($data->{'cardnumber'}); + my (undef, $roadttype_hashref) = &GetRoadTypes(); + my $address = $data->{'streetnumber'}.' '.$data->{'address'}.' '.$roadttype_hashref->{$data->{'streettype'}}; $template->param( picture => 1 ) if $picture; $template->param( menu => 1, title => $data->{'title'}, @@ -83,7 +85,7 @@ if ($src eq 'circ') { # if we were called from circulation, use the circulatio cardnumber => $data->{'cardnumber'}, categorycode => $data->{'categorycode'}, categoryname => $data->{'description'}, - address => $data->{'address'}, + address => $address, address2 => $data->{'address2'}, city => $data->{'city'}, zipcode => $data->{'zipcode'}, --