Lines 237-243
my $overdues_exist = 0;
Link Here
|
237 |
my $totalprice = 0; |
237 |
my $totalprice = 0; |
238 |
|
238 |
|
239 |
# Calculate and display patron's age |
239 |
# Calculate and display patron's age |
240 |
$template->param( age => Koha::Patron->new({ dateofbirth => $data->{dateofbirth} })->get_age ); |
240 |
if ( $data->{dateofbirth} ) { |
|
|
241 |
$template->param( age => Koha::Patron->new({ dateofbirth => $data->{dateofbirth} })->get_age ); |
242 |
} |
241 |
|
243 |
|
242 |
### ############################################################################### |
244 |
### ############################################################################### |
243 |
# BUILD HTML |
245 |
# BUILD HTML |
244 |
- |
|
|