Lines 399-405
if ( $messages->{'WrongTransfer'} and not $messages->{'WasTransfered'}) {
Link Here
|
399 |
my $patron = Koha::Patrons->find( $reserve->{'borrowernumber'} ); |
399 |
my $patron = Koha::Patrons->find( $reserve->{'borrowernumber'} ); |
400 |
my $name = $patron->surname . ", " . $patron->title . " " . $patron->firstname; |
400 |
my $name = $patron->surname . ", " . $patron->title . " " . $patron->firstname; |
401 |
$template->param( |
401 |
$template->param( |
402 |
wname => $name, |
|
|
403 |
patron => $patron, |
402 |
patron => $patron, |
404 |
); |
403 |
); |
405 |
} |
404 |
} |
Lines 433-442
if ( $messages->{'ResFound'}) {
Link Here
|
433 |
$template->param( |
432 |
$template->param( |
434 |
# FIXME The full patron object should be passed to the template |
433 |
# FIXME The full patron object should be passed to the template |
435 |
found => 1, |
434 |
found => 1, |
436 |
name => $patron->surname . ", " . $patron->title . " " . $patron->firstname, |
435 |
patron => $patron, |
437 |
barcode => $barcode, |
436 |
barcode => $barcode, |
438 |
destbranch => $reserve->{'branchcode'}, |
437 |
destbranch => $reserve->{'branchcode'}, |
439 |
borrowernumber => $reserve->{'borrowernumber'}, |
|
|
440 |
itemnumber => $reserve->{'itemnumber'}, |
438 |
itemnumber => $reserve->{'itemnumber'}, |
441 |
reservenotes => $reserve->{'reservenotes'}, |
439 |
reservenotes => $reserve->{'reservenotes'}, |
442 |
reserve_id => $reserve->{reserve_id}, |
440 |
reserve_id => $reserve->{reserve_id}, |