Lines 175-184
sub borrower_add_additional_fields {
Link Here
|
175 |
} elsif ( $b_ref->{category_type} eq 'A' ) { |
175 |
} elsif ( $b_ref->{category_type} eq 'A' ) { |
176 |
$b_ref->{adultborrower} = 1; |
176 |
$b_ref->{adultborrower} = 1; |
177 |
} |
177 |
} |
178 |
my ( $picture, $dberror ) = GetPatronImage( $b_ref->{borrowernumber} ); |
178 |
|
179 |
if ($picture) { |
179 |
my ($picture, $dberror) = GetPatronImage($borrower->{'borrowernumber'}); |
180 |
$b_ref->{has_picture} = 1; |
180 |
$template->param( picture => 1 ) if $picture; |
181 |
} |
|
|
182 |
|
181 |
|
183 |
if (C4::Context->preference('ExtendedPatronAttributes')) { |
182 |
if (C4::Context->preference('ExtendedPatronAttributes')) { |
184 |
$b_ref->{extendedattributes} = GetBorrowerAttributes($borrowernumber); |
183 |
$b_ref->{extendedattributes} = GetBorrowerAttributes($borrowernumber); |
185 |
- |
|
|