Lines 336-344
if ( $op eq 'do' ) {
Link Here
|
336 |
for my $borrowernumber ( @borrowernumbers ) { |
336 |
for my $borrowernumber ( @borrowernumbers ) { |
337 |
my $patron = Koha::Patrons->find( $borrowernumber ); |
337 |
my $patron = Koha::Patrons->find( $borrowernumber ); |
338 |
if ( $patron ) { |
338 |
if ( $patron ) { |
339 |
my $category_description = $patron->category->description; |
|
|
340 |
$patron = $patron->unblessed; |
339 |
$patron = $patron->unblessed; |
341 |
$patron->{category_description} = $category_description; |
|
|
342 |
$patron->{patron_attributes} = C4::Members::Attributes::GetBorrowerAttributes( $patron->{borrowernumber} ); |
340 |
$patron->{patron_attributes} = C4::Members::Attributes::GetBorrowerAttributes( $patron->{borrowernumber} ); |
343 |
$max_nb_attr = scalar( @{ $patron->{patron_attributes} } ) |
341 |
$max_nb_attr = scalar( @{ $patron->{patron_attributes} } ) |
344 |
if scalar( @{ $patron->{patron_attributes} } ) > $max_nb_attr; |
342 |
if scalar( @{ $patron->{patron_attributes} } ) > $max_nb_attr; |
Lines 360-366
if ( $op eq 'do' ) {
Link Here
|
360 |
$template->param( borrowers => \@borrowers ); |
358 |
$template->param( borrowers => \@borrowers ); |
361 |
$template->param( attributes_header => \@attributes_header ); |
359 |
$template->param( attributes_header => \@attributes_header ); |
362 |
|
360 |
|
363 |
$template->param( borrowers => \@borrowers ); |
|
|
364 |
$template->param( errors => \@errors ); |
361 |
$template->param( errors => \@errors ); |
365 |
} else { |
362 |
} else { |
366 |
|
363 |
|
367 |
- |
|
|