[freeside-commits] freeside/FS/FS/part_pkg sqlradacct_hour.pm, 1.6, 1.6.4.1
Ivan,,,
ivan at wavetail.420.am
Tue Apr 8 20:33:20 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv9741
Modified Files:
Tag: FREESIDE_1_7_BRANCH
sqlradacct_hour.pm
Log Message:
fix hourly cap for SQL overage charges
Index: sqlradacct_hour.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/sqlradacct_hour.pm,v
retrieving revision 1.6
retrieving revision 1.6.4.1
diff -u -d -r1.6 -r1.6.4.1
--- sqlradacct_hour.pm 19 Dec 2005 04:18:43 -0000 1.6
+++ sqlradacct_hour.pm 9 Apr 2008 03:33:14 -0000 1.6.4.1
@@ -127,9 +127,9 @@
my $hourscharge =
$hours * sprintf('%.2f', $self->option('recur_hourly_charge'));
- $hourscharge = $self->option('recur_hours_cap')
- if $self->option('recur_hours_cap')
- && $hourscharge > $self->option('recur_hours_cap');
+ $hourscharge = $self->option('recur_hourly_cap')
+ if $self->option('recur_hourly_cap')
+ && $hourscharge > $self->option('recur_hourly_cap');
if ( $self->option('recur_total_charge') > 0 ) {
push @$details, "Last month's data ".
More information about the freeside-commits
mailing list