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 / +2 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE AudioAlerts %]
3
[% USE AudioAlerts %]
4
[% USE Price %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] &rsaquo; Self checkout </title>
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] &rsaquo; Self checkout </title>
6
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Lines 53-59 Link Here
53
                                [% ELSIF ( circ_error_NOT_FOR_LOAN ) %]
54
                                [% ELSIF ( circ_error_NOT_FOR_LOAN ) %]
54
                                    This item is not for loan.
55
                                    This item is not for loan.
55
                                [% ELSIF ( circ_error_DEBT ) %]
56
                                [% ELSIF ( circ_error_DEBT ) %]
56
                                    You owe the library [% amount %] and cannot check out.
57
                                    You owe the library [% currencySym %] [% amount | $Price %] and cannot check out.
57
                                [% ELSIF ( circ_error_WTHDRAWN ) %]
58
                                [% ELSIF ( circ_error_WTHDRAWN ) %]
58
                                    This item has been withdrawn from the collection.
59
                                    This item has been withdrawn from the collection.
59
                                [% ELSIF ( circ_error_RESTRICTED ) %]
60
                                [% ELSIF ( circ_error_RESTRICTED ) %]
(-)a/opac/sco/sco-main.pl (-3 / +4 lines)
Lines 163-169 elsif ( $patron and $op eq "checkout" ) { Link Here
163
            hide_main                 => 1,
163
            hide_main                 => 1,
164
        );
164
        );
165
        if ($issue_error eq 'DEBT') {
165
        if ($issue_error eq 'DEBT') {
166
            $template->param(amount => $currencySymbol.$impossible->{DEBT});
166
            $template->param(currencySym => $currencySymbol,
167
                    amount => $impossible->{DEBT});
167
        }
168
        }
168
        #warn "issue_error: " . $issue_error ;
169
        #warn "issue_error: " . $issue_error ;
169
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
170
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
Lines 195-201 elsif ( $patron and $op eq "checkout" ) { Link Here
195
            hide_main                 => 1,
196
            hide_main                 => 1,
196
        );
197
        );
197
        if ($issue_error eq 'DEBT') {
198
        if ($issue_error eq 'DEBT') {
198
            $template->param(amount => $currencySymbol.$needconfirm->{DEBT});
199
            $template->param(currencySym => $currencySymbol,
200
                    amount => $needconfirm->{DEBT});
199
        }
201
        }
200
    } else {
202
    } else {
201
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
203
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
202
- 

Return to bug 19188