koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/members moremember.pl [rel_2_2]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/members moremember.pl [rel_2_2]
Date: Tue, 31 Jan 2006 18:35:55 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Joshua Ferraro <address@hidden> 06/01/31 18:35:55

Modified files:
        members        : moremember.pl 

Log message:
        Fixes decimal for total price so it displays as 5.00 instead of 5.
        Eventually, we want the '2' in sprintf("%.2f", to be a variable that
        is generated from a system preference.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/members/moremember.pl.diff?only_with_tag=rel_2_2&tr1=1.5.2.9&tr2=1.5.2.10&r1=text&r2=text

Patches:
Index: koha/members/moremember.pl
diff -u koha/members/moremember.pl:1.5.2.9 koha/members/moremember.pl:1.5.2.10
--- koha/members/moremember.pl:1.5.2.9  Tue Jan 24 00:23:57 2006
+++ koha/members/moremember.pl  Tue Jan 31 18:35:55 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: moremember.pl,v 1.5.2.9 2006/01/24 00:23:57 kados Exp $
+# $Id: moremember.pl,v 1.5.2.10 2006/01/31 18:35:55 kados Exp $
 
 # script to do a borrower enquiry/bring up borrower details etc
 # Displays all the details about a borrower
@@ -196,7 +196,7 @@
 $template->param($data);
 $template->param(
                 bornum          => $bornum,
-                totalprice =>$totalprice,
+                totalprice =>sprintf("%.2f",$totalprice),
                 totaldue => sprintf("%.2f",$total),
                 issueloop       => address@hidden,
                 unvalidlibrarian => $unvalidlibrarian,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]