Bugzilla – Attachment 145764 Details for
Bug 19188
Self checkout: Fine blocking checkout is missing currency symbol
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19188: Use the Price template plugin with_symbol => 1
Bug-19188-Use-the-Price-template-plugin-withsymbol.patch (text/plain), 2.53 KB, created by
David Nind
on 2023-01-27 17:30:18 UTC
(
hide
)
Description:
Bug 19188: Use the Price template plugin with_symbol => 1
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-01-27 17:30:18 UTC
Size:
2.53 KB
patch
obsolete
>From 01c8616094686829aad7fea66e493f24d770de5e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 1 Feb 2018 14:32:54 -0300 >Subject: [PATCH] Bug 19188: Use the Price template plugin with_symbol => 1 > >To make it displayed correctly depending on the configuration of the >currency > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 2 +- > opac/sco/sco-main.pl | 2 -- > 2 files changed, 1 insertion(+), 3 deletions(-) > >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 2d644a4c71..b5d3d6c900 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 >@@ -69,7 +69,7 @@ > [% ELSIF ( circ_error_NOT_FOR_LOAN ) %] > <span id="ce_not_for_loan">This item is not for loan.</span> > [% ELSIF ( circ_error_DEBT ) %] >- <span id="ce_too_much_debt">You owe the library [% currencySym %] [% DEBT | $Price %] and cannot check out.</span> >+ <span id="ce_too_much_debt">You owe the library [% DEBT | $Price with_symbol => 1%] and cannot check out.</span> > [% ELSIF ( circ_error_WTHDRAWN ) %] > <span id="ce_wthdrawn">This item has been withdrawn from the collection.</span> > [% ELSIF ( circ_error_RESTRICTED ) %] >diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl >index 56e7b48b6c..ac89db749c 100755 >--- a/opac/sco/sco-main.pl >+++ b/opac/sco/sco-main.pl >@@ -200,7 +200,6 @@ 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,7 +224,6 @@ 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. >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19188
:
70577
|
70608
|
70624
|
71124
|
145708
|
145709
|
145763
|
145764
|
145864
|
145865