View | Details | Raw Unified | Return to bug 11882
Collapse All | Expand All

(-)a/circ/circulation.pl (-12 / +7 lines)
Lines 356-361 if ($barcode) { Link Here
356
    
356
    
357
    my ( $od, $issue, $fines ) = GetMemberIssuesAndFines($borrowernumber);
357
    my ( $od, $issue, $fines ) = GetMemberIssuesAndFines($borrowernumber);
358
    $template->param( issuecount => $issue );
358
    $template->param( issuecount => $issue );
359
360
    if ($question->{RESERVE_WAITING} or $question->{RESERVED}){
361
        $template->param(
362
            reserveborrowernumber => $question->{'resborrowernumber'},
363
            itembiblionumber => $getmessageiteminfo->{'biblionumber'}
364
        );
365
    }
359
}
366
}
360
367
361
# reload the borrower info for the sake of reseting the flags.....
368
# reload the borrower info for the sake of reseting the flags.....
Lines 504-520 my $relatives_issues_count = Link Here
504
  Koha::Database->new()->schema()->resultset('Issue')
511
  Koha::Database->new()->schema()->resultset('Issue')
505
  ->count( { borrowernumber => \@relatives } );
512
  ->count( { borrowernumber => \@relatives } );
506
513
507
(my $returned, my $messages) = AddReturn( $barcode, $branch);
508
if ( $messages->{'ResFound'}) {
509
     my $reserve = $messages->{'ResFound'};
510
    # get biblio description
511
    my $biblio = GetBiblioFromItemNumber($reserve->{'itemnumber'});
512
    $template->param(
513
        reserveborrowernumber => $reserve->{'borrowernumber'},
514
        itembiblionumber => $biblio->{'biblionumber'}
515
    );
516
}
517
518
$template->param(
514
$template->param(
519
    lib_messages_loop => $lib_messages_loop,
515
    lib_messages_loop => $lib_messages_loop,
520
    bor_messages_loop => $bor_messages_loop,
516
    bor_messages_loop => $bor_messages_loop,
521
- 

Return to bug 11882