Lines 380-385
if ($barcode) {
Link Here
|
380 |
|
380 |
|
381 |
my ( $od, $issue, $fines ) = GetMemberIssuesAndFines($borrowernumber); |
381 |
my ( $od, $issue, $fines ) = GetMemberIssuesAndFines($borrowernumber); |
382 |
$template->param( issuecount => $issue ); |
382 |
$template->param( issuecount => $issue ); |
|
|
383 |
|
384 |
if ($question->{RESERVE_WAITING} or $question->{RESERVED}){ |
385 |
$template->param( |
386 |
reserveborrowernumber => $question->{'resborrowernumber'}, |
387 |
itembiblionumber => $getmessageiteminfo->{'biblionumber'} |
388 |
); |
389 |
} |
383 |
} |
390 |
} |
384 |
|
391 |
|
385 |
# reload the borrower info for the sake of reseting the flags..... |
392 |
# reload the borrower info for the sake of reseting the flags..... |
Lines 554-570
my $relatives_issues_count =
Link Here
|
554 |
Koha::Database->new()->schema()->resultset('Issue') |
561 |
Koha::Database->new()->schema()->resultset('Issue') |
555 |
->count( { borrowernumber => \@relatives } ); |
562 |
->count( { borrowernumber => \@relatives } ); |
556 |
|
563 |
|
557 |
(my $returned, my $messages) = AddReturn( $barcode, $branch); |
|
|
558 |
if ( $messages->{'ResFound'}) { |
559 |
my $reserve = $messages->{'ResFound'}; |
560 |
# get biblio description |
561 |
my $biblio = GetBiblioFromItemNumber($reserve->{'itemnumber'}); |
562 |
$template->param( |
563 |
reserveborrowernumber => $reserve->{'borrowernumber'}, |
564 |
itembiblionumber => $biblio->{'biblionumber'} |
565 |
); |
566 |
} |
567 |
|
568 |
$template->param( |
564 |
$template->param( |
569 |
lib_messages_loop => $lib_messages_loop, |
565 |
lib_messages_loop => $lib_messages_loop, |
570 |
bor_messages_loop => $bor_messages_loop, |
566 |
bor_messages_loop => $bor_messages_loop, |
571 |
- |
|
|