Bugzilla – Attachment 30267 Details for
Bug 12668
Stray dollar ($) -sign in opac-reserve.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12668 - Stray dollar ($) -sign in opac-reserve.pl
Bug-12668---Stray-dollar---sign-in-opac-reservepl.patch (text/plain), 1.44 KB, created by
Olli-Antti Kivilahti
on 2014-07-29 09:26:32 UTC
(
hide
)
Description:
Bug 12668 - Stray dollar ($) -sign in opac-reserve.pl
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2014-07-29 09:26:32 UTC
Size:
1.44 KB
patch
obsolete
>From c02cf8c05a8098eaadf46485a7648f40ac58b0bb Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Tue, 29 Jul 2014 12:04:52 +0300 >Subject: [PATCH] Bug 12668 - Stray dollar ($) -sign in opac-reserve.pl >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >A dollar sign is hard-coded in opac-reserve.pl and becomes apparent when trying to place a reservation > when one has "too_much_oweing" or too much fines. > >Removing the dollar sign so we just get > ><"Käyttömaksujen katto ylitetty. Et voi tehdä varauksia. Sinulla on maksamattomia maksuja 9.50."> > >instead of > ><"Käyttömaksujen katto ylitetty. Et voi tehdä varauksia. Sinulla on maksamattomia maksuja $9.50."> >--- > opac/opac-reserve.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index 6d5d46f..78bfcb0 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -288,7 +288,7 @@ my $noreserves = 0; > my $maxoutstanding = C4::Context->preference("maxoutstanding"); > $template->param( noreserve => 1 ) unless $maxoutstanding; > if ( $borr->{'amountoutstanding'} && ($borr->{'amountoutstanding'} > $maxoutstanding) ) { >- my $amount = sprintf "\$%.02f", $borr->{'amountoutstanding'}; >+ my $amount = sprintf "%.02f", $borr->{'amountoutstanding'}; > $template->param( message => 1 ); > $noreserves = 1; > $template->param( too_much_oweing => $amount ); >-- >1.8.1.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 12668
:
30267
|
30361
|
30372