Lines 302-310
use C4::Biblio qw( GetMarcFromKohaField );
Link Here
|
302 |
foreach my $invalid_patron (@invalid_patrons) { |
302 |
foreach my $invalid_patron (@invalid_patrons) { |
303 |
my $category = $invalid_patron->category; |
303 |
my $category = $invalid_patron->category; |
304 |
new_item( |
304 |
new_item( |
305 |
sprintf "Patron borrowernumber=%s has an invalid age of %s for their category '%s' (%s-%s)", |
305 |
sprintf "Patron borrowernumber=%s has an invalid age of %s for their category '%s' (%s to %s)", |
306 |
$invalid_patron->borrowernumber, $invalid_patron->get_age, $category->categorycode, |
306 |
$invalid_patron->borrowernumber, $invalid_patron->get_age, $category->categorycode, |
307 |
$category->dateofbirthrequired, $category->upperagelimit |
307 |
$category->dateofbirthrequired // '0', $category->upperagelimit // 'unlimited' |
308 |
); |
308 |
); |
309 |
} |
309 |
} |
310 |
new_hint("You may change the patron's category automatically with misc/cronjobs/update_patrons_category.pl"); |
310 |
new_hint("You may change the patron's category automatically with misc/cronjobs/update_patrons_category.pl"); |
311 |
- |
|
|