Lines 267-273
if ($borrowernumber) {
Link Here
|
267 |
$patron = Koha::Patrons->find( $borrowernumber ); |
267 |
$patron = Koha::Patrons->find( $borrowernumber ); |
268 |
$borrower = GetMember( borrowernumber => $borrowernumber ); |
268 |
$borrower = GetMember( borrowernumber => $borrowernumber ); |
269 |
my $overdues = $patron->get_overdues; |
269 |
my $overdues = $patron->get_overdues; |
270 |
my $issues = $patron->get_issues; |
270 |
my $issues = $patron->checkouts; |
271 |
my $balance = $patron->account->balance; |
271 |
my $balance = $patron->account->balance; |
272 |
|
272 |
|
273 |
|
273 |
|
Lines 421-429
if (@$barcodes) {
Link Here
|
421 |
); |
421 |
); |
422 |
|
422 |
|
423 |
|
423 |
|
424 |
# FIXME If the issue is confirmed, we launch another time get_issues->count, now display the issue count after issue |
424 |
# FIXME If the issue is confirmed, we launch another time checkouts->count, now display the issue count after issue |
425 |
$patron = Koha::Patrons->find( $borrowernumber ); |
425 |
$patron = Koha::Patrons->find( $borrowernumber ); |
426 |
$template_params->{issuecount} = $patron->get_issues->count; |
426 |
$template_params->{issuecount} = $patron->checkouts->count; |
427 |
|
427 |
|
428 |
if ( $iteminfo ) { |
428 |
if ( $iteminfo ) { |
429 |
$iteminfo->{subtitle} = GetRecordValue('subtitle', GetMarcBiblio($iteminfo->{biblionumber}), GetFrameworkCode($iteminfo->{biblionumber})); |
429 |
$iteminfo->{subtitle} = GetRecordValue('subtitle', GetMarcBiblio($iteminfo->{biblionumber}), GetFrameworkCode($iteminfo->{biblionumber})); |