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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt (-1 / +1 lines)
Lines 103-109 $.tablesorter.addParser({ Link Here
103
            [% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %]
103
            [% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %]
104
                <span id="renewal_blocked_fines"><li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span></a> in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li></span>
104
                <span id="renewal_blocked_fines"><li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span></a> in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li></span>
105
            [% ELSIF ( renewal_blocked_fines ) %]
105
            [% ELSIF ( renewal_blocked_fines ) %]
106
        <span id="renewal_blocked_fines"><li><strong>Please note: </strong> You have <a href="/cgi-bin/koha/opac-account.pl">more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span></a> in fines. </li></span>
106
                <span id="renewal_blocked_fines"><li><strong>Please note: </strong> You currently owe <a href="/cgi-bin/koha/opac-account.pl"><span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %] in fines.</span></a></li></span>
107
            [% END %]
107
            [% END %]
108
        </ul></div>
108
        </ul></div>
109
        [% END %]
109
        [% END %]
(-)a/opac/opac-user.pl (-2 / +1 lines)
Lines 106-112 if ( $borr->{amountoutstanding} > $no_renewal_amt ) { Link Here
106
    $borr->{'flagged'} = 1;
106
    $borr->{'flagged'} = 1;
107
    $canrenew = 0;
107
    $canrenew = 0;
108
    $template->param(
108
    $template->param(
109
        renewal_blocked_fines => sprintf( '%.02f', $no_renewal_amt ),
109
        renewal_blocked_fines => sprintf( '%.02f', $borr->{amountoutstanding} ),
110
    );
110
    );
111
}
111
}
112
112
113
- 

Return to bug 8408