|
Lines 317-323
if ($borrowernumber) {
Link Here
|
| 317 |
my $borrowercategory = Koha::Patron::Categories->find($borrower->{ 'categorycode' }); |
317 |
my $borrowercategory = Koha::Patron::Categories->find($borrower->{ 'categorycode' }); |
| 318 |
my ($low,$high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit); |
318 |
my ($low,$high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit); |
| 319 |
if (($high && ($age > $high)) or ($age < $low)) { |
319 |
if (($high && ($age > $high)) or ($age < $low)) { |
| 320 |
$template->param( flagged => 1 ); |
|
|
| 321 |
$template->param( age_limitations => 1 ); |
320 |
$template->param( age_limitations => 1 ); |
| 322 |
$template->param( age_low => $low ); |
321 |
$template->param( age_low => $low ); |
| 323 |
$template->param( age_high => $high ); |
322 |
$template->param( age_high => $high ); |