[freeside-commits] freeside/FS/FS rate_tier.pm,1.1.2.2,1.1.2.3
Ivan,,,
ivan at wavetail.420.am
Tue Nov 15 20:54:55 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv25392
Modified Files:
Tag: FREESIDE_2_3_BRANCH
rate_tier.pm
Log Message:
fix tiered rating with a fractional number of minutes, RT#14903
Index: rate_tier.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/rate_tier.pm,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -w -d -r1.1.2.2 -r1.1.2.3
--- rate_tier.pm 14 Nov 2011 04:28:49 -0000 1.1.2.2
+++ rate_tier.pm 16 Nov 2011 04:54:52 -0000 1.1.2.3
@@ -118,6 +118,7 @@
if ( defined($_[0]) && length($_[0]) ) {
my $quantity = shift;
+ $quantity = int( $quantity + 0.00001 );
qsearchs({
'table' => 'rate_tier_detail',
More information about the freeside-commits
mailing list