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

Owen Leonard oleonard at athenscounty.lib.oh.us
Thu Sep 14 16:31:33 CEST 2006


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 olwen at katipo.co.nz
@@ -725,7 +725,7 @@
 # DEBTS
 	my $amount = checkaccount($env,$borrower->{'borrowernumber'}, $dbh,$duedate);
 	if ($amount >0) {
-		$needsconfirmation{DEBT} = $amount;
+		$needsconfirmation{DEBT} = sprintf("%.2f",$amount);
 	}
 
 





More information about the Koha-cvs mailing list