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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-2 / +2 lines)
Lines 1-4 Link Here
1
    [% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
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 [% DEBT | $Price %] and cannot check out.</span>
72
                                    <span id="ce_too_much_debt">You owe the library [% currencySym %] [% DEBT | $Price %] 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 (-1 / +2 lines)
Lines 200-205 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);
203
        }
204
        }
204
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
205
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
205
            $return_only = 1;
206
            $return_only = 1;
Lines 224-229 elsif ( $patron && ( $op eq 'checkout' ) ) { Link Here
224
        );
225
        );
225
        if ($issue_error eq 'DEBT') {
226
        if ($issue_error eq 'DEBT') {
226
            $template->param(DEBT => $needconfirm->{DEBT});
227
            $template->param(DEBT => $needconfirm->{DEBT});
228
            $template->param(currencySym => $currencySymbol);
227
        }
229
        }
228
    } else {
230
    } else {
229
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
231
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
230
- 

Return to bug 19188