[Koha-cvs] koha/admin issuingrules.pl [rel_2_2]

Ryan Higgins rch at liblime.com
Mon Feb 12 22:42:22 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Ryan Higgins <rych>	07/02/12 21:42:22

Modified files:
	admin          : issuingrules.pl 

Log message:
	formatting change for mysql5 (change in output for decimal data types)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/admin/issuingrules.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.3.2.6&r2=1.3.2.7

Patches:
Index: issuingrules.pl
===================================================================
RCS file: /sources/koha/koha/admin/issuingrules.pl,v
retrieving revision 1.3.2.6
retrieving revision 1.3.2.7
diff -u -b -r1.3.2.6 -r1.3.2.7
--- issuingrules.pl	6 Oct 2006 13:27:57 -0000	1.3.2.6
+++ issuingrules.pl	12 Feb 2007 21:42:22 -0000	1.3.2.7
@@ -155,7 +155,7 @@
 		$sth2->execute($branch,$trow3[$i],$$data->{'itemtype'});
 		my $dat=$sth2->fetchrow_hashref;
 		$sth2->finish;
-		my $fine=$dat->{'fine'};
+		my $fine= sprintf("%.2f",$dat->{'fine'});
 		my $maxissueqty = $dat->{'maxissueqty'};
 		my $issuelength = $dat->{'issuelength'};
 		my $finesvalue;





More information about the Koha-cvs mailing list