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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-2 / +2 lines)
Lines 40-47 Link Here
40
                        [% IF ( debarred ) %]
40
                        [% IF ( debarred ) %]
41
                            <li id="debarred">
41
                            <li id="debarred">
42
                                Your account has been frozen.
42
                                Your account has been frozen.
43
                                [% IF ( BORROWER_INF.debarredcomment ) %] Comment: <span id="userdebarred_comment">"[% BORROWER_INF.debarredcomment %]"</span>[% END %]
43
                                [% IF debarred_comment %] Comment: <span id="userdebarred_comment">"[% debarred_comment %]"</span>[% END %]
44
                                [% IF ( BORROWER_INF.userdebarreddate ) %] End date: <span id="userdebarred_date">[% BORROWER_INF.userdebarreddate | $KohaDates %]</span>[% END %]
44
                                [% IF debarred_date && debarred_date != '9999-12-31' %] End date: <span id="userdebarred_date">[% debarred_date | $KohaDates %]</span>[% END %]
45
                                <br /><em>Usually the reason for freezing an account is old overdues or damage fees. If shows your account to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a>
45
                                <br /><em>Usually the reason for freezing an account is old overdues or damage fees. If shows your account to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a>
46
                            </li>
46
                            </li>
47
                        [% END %]
47
                        [% END %]
(-)a/opac/opac-reserve.pl (-3 / +7 lines)
Lines 314-319 if ( $borr->{'amountoutstanding'} && ($borr->{'amountoutstanding'} > $maxoutstan Link Here
314
    $noreserves = 1;
314
    $noreserves = 1;
315
    $template->param( too_much_oweing => $amount );
315
    $template->param( too_much_oweing => $amount );
316
}
316
}
317
317
if ( $borr->{gonenoaddress} && ($borr->{gonenoaddress} == 1) ) {
318
if ( $borr->{gonenoaddress} && ($borr->{gonenoaddress} == 1) ) {
318
    $noreserves = 1;
319
    $noreserves = 1;
319
    $template->param(
320
    $template->param(
Lines 321-326 if ( $borr->{gonenoaddress} && ($borr->{gonenoaddress} == 1) ) { Link Here
321
        GNA     => 1
322
        GNA     => 1
322
    );
323
    );
323
}
324
}
325
324
if ( $borr->{lost} && ($borr->{lost} == 1) ) {
326
if ( $borr->{lost} && ($borr->{lost} == 1) ) {
325
    $noreserves = 1;
327
    $noreserves = 1;
326
    $template->param(
328
    $template->param(
Lines 328-338 if ( $borr->{lost} && ($borr->{lost} == 1) ) { Link Here
328
        lost    => 1
330
        lost    => 1
329
    );
331
    );
330
}
332
}
333
331
if ( IsDebarred($borrowernumber) ) {
334
if ( IsDebarred($borrowernumber) ) {
332
    $noreserves = 1;
335
    $noreserves = 1;
333
    $template->param(
336
    $template->param(
334
        message  => 1,
337
        message          => 1,
335
        debarred => 1
338
        debarred         => 1,
339
        debarred_comment => $borr->{debarredcomment},
340
        debarred_date    => $borr->{debarred},
336
    );
341
    );
337
}
342
}
338
343
339
- 

Return to bug 15375