|
Lines 219-228
use C4::Biblio;
Link Here
|
| 219 |
if (@invalid_patrons) { |
219 |
if (@invalid_patrons) { |
| 220 |
new_section("Patrons with invalid age for category"); |
220 |
new_section("Patrons with invalid age for category"); |
| 221 |
foreach my $patron (@invalid_patrons) { |
221 |
foreach my $patron (@invalid_patrons) { |
| 222 |
new_item( sprintf "Patron borrowernumber=%s in category '%s' has invalid age '%s'", |
222 |
new_item( sprintf "Patron borrowernumber=%s has an invalid age of %s for their category '%s'", |
| 223 |
$patron->borrowernumber, $patron->category->categorycode, $patron->get_age ); |
223 |
$patron->borrowernumber, $patron->get_age, $patron->category->categorycode, ); |
| 224 |
} |
224 |
} |
| 225 |
new_hint("You may change patron's category automatically with misc/cronjobs/update_patrons_category.pl"); |
225 |
new_hint("You may change the patron's category automatically with misc/cronjobs/update_patrons_category.pl"); |
| 226 |
} |
226 |
} |
| 227 |
} |
227 |
} |
| 228 |
|
228 |
|
| 229 |
- |
|
|