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

(-)a/C4/Circulation.pm (+8 lines)
Lines 2327-2332 sub CanBookBeRenewed { Link Here
2327
        }
2327
        }
2328
2328
2329
    }
2329
    }
2330
    my ( $blocktype, $count ) = C4::Members::IsMemberBlocked($borrowernumber);
2331
    if ( $blocktype == -1 && ! $override_limit ) {
2332
       $renewokay=0;
2333
       $error="overdue"; 
2334
    } elsif ( $blocktype == 1 && ! $override_limit ) {
2335
        $renewokay=0;
2336
	$error="restriction";
2337
    }
2330
    return ($renewokay,$error);
2338
    return ($renewokay,$error);
2331
}
2339
}
2332
2340
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +12 lines)
Lines 757-762 No patron matched <span class="ex">[% message %]</span> Link Here
757
                [% IF ( todayissue.renew_error_too_many ) %]
757
                [% IF ( todayissue.renew_error_too_many ) %]
758
            Not renewable
758
            Not renewable
759
                [% END %]
759
                [% END %]
760
                [% IF ( todayissue.renew_error_overdue ) %]
761
                        Overdues
762
                [% END %]
763
                [% IF ( todayissue.renew_error_restriction ) %]
764
                        Patron is restricted
765
                [% END %]
760
            [% IF ( todayissue.can_confirm ) %]
766
            [% IF ( todayissue.can_confirm ) %]
761
                </span>
767
                </span>
762
            [% END %]
768
            [% END %]
Lines 832-837 No patron matched <span class="ex">[% message %]</span> Link Here
832
                [% IF ( previssue.renew_error_too_many ) %]
838
                [% IF ( previssue.renew_error_too_many ) %]
833
            Not renewable
839
            Not renewable
834
                [% END %]
840
                [% END %]
841
                [% IF ( previssue.renew_error_overdue ) %]
842
                        Not Renewable (Overdue)
843
                [% END %]
844
                [% IF ( previssue.renew_error_restriction ) %]
845
                        Patron is restricted
846
                [% END %]
835
            [% IF ( previssue.can_confirm ) %]
847
            [% IF ( previssue.can_confirm ) %]
836
                </span>
848
                </span>
837
            [% END %]
849
            [% END %]
838
- 

Return to bug 8236