[freeside-commits] freeside/FS/FS cust_main.pm,1.196,1.197
Ivan,,,
ivan at wavetail.420.am
Wed Sep 28 11:27:14 PDT 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv29564
Modified Files:
cust_main.pm
Log Message:
recognize hourly frequency in cust_main->bill
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -d -r1.196 -r1.197
--- cust_main.pm 24 Sep 2005 22:53:25 -0000 1.196
+++ cust_main.pm 28 Sep 2005 18:27:11 -0000 1.197
@@ -1633,6 +1633,9 @@
} elsif ( $part_pkg->freq =~ /^(\d+)d$/ ) {
my $days = $1;
$mday += $days;
+ } elsif ( $part_pkg->freq =~ /^(\d+)h$/ ) {
+ my $hours = $1;
+ $hour += $hours;
} else {
$dbh->rollback if $oldAutoCommit;
return "unparsable frequency: ". $part_pkg->freq;
More information about the freeside-commits
mailing list