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

(-)a/C4/Circulation.pm (+8 lines)
Lines 2709-2714 sub CanBookBeRenewed { Link Here
2709
    }
2709
    }
2710
    return ( 0, "on_reserve" ) if $resfound;    # '' when no hold was found
2710
    return ( 0, "on_reserve" ) if $resfound;    # '' when no hold was found
2711
2711
2712
    # check if item has been recalled. do a transfer if the recall branch is different to the item holding branch, otherwise don't do a transfer
2713
    my $recall = Koha::Recalls->find({ itemnumber => $itemnumber, status => 'R' });
2714
    my $recallfound;
2715
    if (defined $recall){
2716
       $recallfound = 1;
2717
    }
2718
    return ( 0, "recalled" ) if $recallfound;
2719
2712
    return ( 1, undef ) if $override_limit;
2720
    return ( 1, undef ) if $override_limit;
2713
2721
2714
    my $branchcode = _GetCircControlBranch( $item, $patron->unblessed );
2722
    my $branchcode = _GetCircControlBranch( $item, $patron->unblessed );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt (-1 / +2 lines)
Lines 113-118 Link Here
113
                                    <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
113
                                    <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
114
                                </form>
114
                                </form>
115
115
116
                            [% ELSIF error == "recalled" %]
117
                                <p>This item has been recalled.</p>
116
                            [% ELSIF error == "patron_restricted" %]
118
                            [% ELSIF error == "patron_restricted" %]
117
119
118
                                <p>[% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | html %]"> [% borrower.cardnumber | html %] </a> ) is currently restricted.</p>
120
                                <p>[% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | html %]"> [% borrower.cardnumber | html %] </a> ) is currently restricted.</p>
119
- 

Return to bug 19532