use CGI qw ( -utf8 );
use DateTime;
use C4::Auth;
+use C4::Members::Attributes qw(GetBorrowerAttributes);
=head1 NAME
$borrower->{'loans'}->{'loan'} = $issues;
}
+ if ( $cgi->param('show_attributes') eq "1" ) {
+ my $attrs = GetBorrowerAttributes( $borrowernumber, 0, 1 );
+ $borrower->{'attributes'} = $attrs;
+ }
+
return $borrower;
}