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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c6366c6d68
)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
This commit is contained in:
parent
13f7ee3e93
commit
ae4e269b7b
2 changed files with 1 additions and 3 deletions
|
@ -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 ) %]
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue