use C4::Koha;
use C4::Overdues;
use C4::Branch;
+use C4::Members::Attributes qw(GetBorrowerAttributes);
my $input = CGI->new;
$b_ref->{has_picture} = 1;
}
+ if (C4::Context->preference('ExtendedPatronAttributes')) {
+ $b_ref->{extendedattributes} = GetBorrowerAttributes($borrowernumber);
+ $template->param(
+ ExtendedPatronAttributes => 1,
+ );
+ }
+
$b_ref->{branchname} = GetBranchName( $b_ref->{branchcode} );
return;
}