Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
my ( $messages, $nextreservinfo ) = GetOtherReserves($reserve->{itemnumber});
my $patron = Koha::Patrons->find( $nextreservinfo );
- my $name = $patron ? $patron->surname . ", " . $patron->title . " " . $patron->firstname : '';
$template->param(
hold_auto_filled => 1,
itemnumber => $item->itemnumber,
itembiblionumber => $biblio->biblionumber,
iteminfo => $biblio->author,
- name => $name,
diffbranch => 1,
);
}
# same params for Waiting or Reserved
$template->param(
- # FIXME The full patron object should be passed to the template
found => 1,
patron => $patron,
barcode => $barcode,