koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/C4/Circulation Circ2.pm [rel_2_2]


From: Owen Leonard
Subject: [Koha-cvs] koha/C4/Circulation Circ2.pm [rel_2_2]
Date: Thu, 14 Sep 2006 14:31:33 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Owen Leonard <oleonard> 06/09/14 14:31:33

Modified files:
        C4/Circulation : Circ2.pm 

Log message:
        Formatting fine amount to two decimal places in circulation error 
message

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.87.2.15&r2=1.87.2.16

Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.87.2.15
retrieving revision 1.87.2.16
diff -u -b -r1.87.2.15 -r1.87.2.16
--- Circ2.pm    14 Jun 2006 15:38:58 -0000      1.87.2.15
+++ Circ2.pm    14 Sep 2006 14:31:33 -0000      1.87.2.16
@@ -3,7 +3,7 @@
 
 package C4::Circulation::Circ2;
 
-# $Id: Circ2.pm,v 1.87.2.15 2006/06/14 15:38:58 tipaul Exp $
+# $Id: Circ2.pm,v 1.87.2.16 2006/09/14 14:31:33 oleonard Exp $
 
 #package to deal with Returns
 #written 3/11/99 by address@hidden
@@ -725,7 +725,7 @@
 # DEBTS
        my $amount = checkaccount($env,$borrower->{'borrowernumber'}, 
$dbh,$duedate);
        if ($amount >0) {
-               $needsconfirmation{DEBT} = $amount;
+               $needsconfirmation{DEBT} = sprintf("%.2f",$amount);
        }
 
 




reply via email to

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