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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-1 / +1 lines)
Lines 69-75 Link Here
69
                                [% ELSIF ( circ_error_NOT_FOR_LOAN ) %]
69
                                [% ELSIF ( circ_error_NOT_FOR_LOAN ) %]
70
                                    <span id="ce_not_for_loan">This item is not for loan.</span>
70
                                    <span id="ce_not_for_loan">This item is not for loan.</span>
71
                                [% ELSIF ( circ_error_DEBT ) %]
71
                                [% ELSIF ( circ_error_DEBT ) %]
72
                                    <span id="ce_too_much_debt">You owe the library [% currencySym %] [% DEBT | $Price %] and cannot check out.</span>
72
                                    <span id="ce_too_much_debt">You owe the library [% DEBT | $Price with_symbol => 1%] and cannot check out.</span>
73
                                [% ELSIF ( circ_error_WTHDRAWN ) %]
73
                                [% ELSIF ( circ_error_WTHDRAWN ) %]
74
                                    <span id="ce_wthdrawn">This item has been withdrawn from the collection.</span>
74
                                    <span id="ce_wthdrawn">This item has been withdrawn from the collection.</span>
75
                                [% ELSIF ( circ_error_RESTRICTED ) %]
75
                                [% ELSIF ( circ_error_RESTRICTED ) %]
(-)a/opac/sco/sco-main.pl (-3 lines)
Lines 200-206 elsif ( $patron && ( $op eq 'checkout' ) ) { Link Here
200
        );
200
        );
201
        if ($issue_error eq 'DEBT') {
201
        if ($issue_error eq 'DEBT') {
202
            $template->param(DEBT => $impossible->{DEBT});
202
            $template->param(DEBT => $impossible->{DEBT});
203
            $template->param(currencySym => $currencySymbol);
204
        }
203
        }
205
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
204
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
206
            $return_only = 1;
205
            $return_only = 1;
Lines 225-231 elsif ( $patron && ( $op eq 'checkout' ) ) { Link Here
225
        );
224
        );
226
        if ($issue_error eq 'DEBT') {
225
        if ($issue_error eq 'DEBT') {
227
            $template->param(DEBT => $needconfirm->{DEBT});
226
            $template->param(DEBT => $needconfirm->{DEBT});
228
            $template->param(currencySym => $currencySymbol);
229
        }
227
        }
230
    } else {
228
    } else {
231
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
229
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
232
- 

Return to bug 19188