@@ -, +, @@ changed under System prefernces --- koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 3 ++- opac/sco/sco-main.pl | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -1,6 +1,7 @@ [% USE Koha %] [% USE KohaDates %] [% USE AudioAlerts %] +[% USE Price %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self checkout @@ -53,7 +54,7 @@ [% ELSIF ( circ_error_NOT_FOR_LOAN ) %] This item is not for loan. [% ELSIF ( circ_error_DEBT ) %] - You owe the library [% amount %] and cannot check out. + You owe the library [% currencySym %] [% amount | $Price %] and cannot check out. [% ELSIF ( circ_error_WTHDRAWN ) %] This item has been withdrawn from the collection. [% ELSIF ( circ_error_RESTRICTED ) %] --- a/opac/sco/sco-main.pl +++ a/opac/sco/sco-main.pl @@ -163,7 +163,8 @@ elsif ( $patron and $op eq "checkout" ) { hide_main => 1, ); if ($issue_error eq 'DEBT') { - $template->param(amount => $currencySymbol.$impossible->{DEBT}); + $template->param(currencySym => $currencySymbol, + amount => $impossible->{DEBT}); } #warn "issue_error: " . $issue_error ; if ( $issue_error eq "NO_MORE_RENEWALS" ) { @@ -195,7 +196,8 @@ elsif ( $patron and $op eq "checkout" ) { hide_main => 1, ); if ($issue_error eq 'DEBT') { - $template->param(amount => $currencySymbol.$needconfirm->{DEBT}); + $template->param(currencySym => $currencySymbol, + amount => $needconfirm->{DEBT}); } } else { if ( $confirmed || $issuenoconfirm ) { # we'll want to call getpatroninfo again to get updated issues. --