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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt (-2 / +2 lines)
Lines 101-109 $.tablesorter.addParser({ Link Here
101
                <span id="lost"><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></span>
101
                <span id="lost"><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></span>
102
            [% END %]
102
            [% END %]
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">[% IF renewal_blocked_fines != "0.00" %] more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span> in [% END %] fines</a>, 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 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>
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_amountoutstanding %] 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 / +2 lines)
Lines 109-115 if ( $borr->{amountoutstanding} > $no_renewal_amt ) { Link Here
109
    $borr->{'flagged'} = 1;
109
    $borr->{'flagged'} = 1;
110
    $canrenew = 0;
110
    $canrenew = 0;
111
    $template->param(
111
    $template->param(
112
        renewal_blocked_fines => sprintf( '%.02f', $borr->{amountoutstanding} ),
112
        renewal_blocked_fines => sprintf( '%.02f', $no_renewal_amt ),
113
        renewal_blocked_fines_amountoutstanding => sprintf( '%.02f', $borr->{amountoutstanding} ),
113
    );
114
    );
114
}
115
}
115
116
116
- 

Return to bug 8408