diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt index 4bc9008b5e..99b01d783c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -1,4 +1,4 @@ - [% USE raw %] +[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] @@ -70,7 +70,7 @@ [% ELSIF ( circ_error_NOT_FOR_LOAN ) %] This item is not for loan. [% ELSIF ( circ_error_DEBT ) %] - You owe the library [% DEBT | $Price %] and cannot check out. + You owe the library [% currencySym %] [% DEBT | $Price %] and cannot check out. [% ELSIF ( circ_error_WTHDRAWN ) %] This item has been withdrawn from the collection. [% ELSIF ( circ_error_RESTRICTED ) %] diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl index b293f100e1..288bc8a873 100755 --- a/opac/sco/sco-main.pl +++ b/opac/sco/sco-main.pl @@ -201,6 +201,7 @@ elsif ( $patron && ( $op eq 'checkout' ) ) { ); if ($issue_error eq 'DEBT') { $template->param(DEBT => $impossible->{DEBT}); + $template->param(currencySym => $currencySymbol); } if ( $issue_error eq "NO_MORE_RENEWALS" ) { $return_only = 1; @@ -225,6 +226,7 @@ elsif ( $patron && ( $op eq 'checkout' ) ) { ); if ($issue_error eq 'DEBT') { $template->param(DEBT => $needconfirm->{DEBT}); + $template->param(currencySym => $currencySymbol); } } else { if ( $confirmed || $issuenoconfirm ) { # we'll want to call getpatroninfo again to get updated issues.