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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt (-6 / +7 lines)
Lines 92-103 $.tablesorter.addParser({ Link Here
92
            [% IF ( BORROWER_INF.lost ) %]
92
            [% IF ( BORROWER_INF.lost ) %]
93
                <li><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please contact the library.</li>
93
                <li><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please contact the library.</li>
94
            [% END %]
94
            [% END %]
95
            [% IF renewal_blocked_fines %]
95
	    [% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %]
96
                <li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">more than [% renewal_blocked_fines %]</a> in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li>
96
       	        <li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">more than [% renewal_blocked_fines %]</a> in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li>
97
            [% END %]
97
	    [% ELSE %]
98
        </ul></div>
98
                <li><strong>Please note: </strong> You have <a href="/cgi-bin/koha/opac-account.pl">more than [% renewal_blocked_fines %]</a> in fines. </li>
99
        [% END %]
99
	    [% END %]		
100
        
100
	</ul></div>
101
      [% END %]
101
<div id="opac-user-views" class="toptabs">
102
<div id="opac-user-views" class="toptabs">
102
        <ul>
103
        <ul>
103
            <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts">Checked Out</a></li>
104
            <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts">Checked Out</a></li>
(-)a/opac/opac-user.pl (-2 / +1 lines)
Lines 82-88 if ( 5 >= $borr->{'amountoutstanding'} && $borr->{'amountoutstanding'} > 0 ) { Link Here
82
my $no_renewal_amt = C4::Context->preference( 'OPACFineNoRenewals' );
82
my $no_renewal_amt = C4::Context->preference( 'OPACFineNoRenewals' );
83
$no_renewal_amt ||= 0;
83
$no_renewal_amt ||= 0;
84
84
85
if ( $borr->{amountoutstanding} > $no_renewal_amt ) {
85
if ( $borr->{amountoutstanding} > $no_renewal_amt  && C4::Context->preference("OpacRenewalAllowed")) {
86
    $borr->{'flagged'} = 1;
86
    $borr->{'flagged'} = 1;
87
    $template->param(
87
    $template->param(
88
        renewal_blocked_fines => sprintf( '%.02f', $no_renewal_amt ),
88
        renewal_blocked_fines => sprintf( '%.02f', $no_renewal_amt ),
89
- 

Return to bug 7110