- $template->param(borrowernumber => $member,
- borrowernumber => $bor->{'borrowernumber'},
- cardnumber => $bor->{'cardnumber'},
- surname => $bor->{'surname'},
- firstname => $bor->{'firstname'},
- categorycode => $bor->{'categorycode'},
- category_type => $bor->{'category_type'},
- category_description => $bor->{'description'},
- address => $bor->{'address'},
- address2 => $bor->{'address2'},
- city => $bor->{'city'},
- zipcode => $bor->{'zipcode'},
- phone => $bor->{'phone'},
- email => $bor->{'email'},
- branchcode => $bor->{'branchcode'},
- loop => \@loop,
- );
+$template->param(
+ borrowernumber => $bor->{'borrowernumber'},
+ cardnumber => $bor->{'cardnumber'},
+ surname => $bor->{'surname'},
+ firstname => $bor->{'firstname'},
+ othernames => $bor->{'othernames'},
+ categorycode => $bor->{'categorycode'},
+ category_type => $bor->{'category_type'},
+ categoryname => $bor->{'description'},
+ address => $bor->{address},
+ address2 => $bor->{'address2'},
+ streettype => $bor->{streettype},
+ city => $bor->{'city'},
+ state => $bor->{'state'},
+ zipcode => $bor->{'zipcode'},
+ country => $bor->{'country'},
+ phone => $bor->{'phone'},
+ phonepro => $bor->{'phonepro'},
+ mobile => $bor->{'mobile'},
+ email => $bor->{'email'},
+ emailpro => $bor->{'emailpro'},
+ branchcode => $bor->{'branchcode'},
+ branchname => GetBranchName($bor->{'branchcode'}),
+ loop => \@loop,
+ is_child => ($bor->{'category_type'} eq 'C'),
+ activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
+ );