[freeside-commits] freeside/FS/FS/part_pkg flat.pm,1.22,1.23

Ivan,,, ivan at wavetail.420.am
Wed Apr 16 18:39:56 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv24550/FS/FS/part_pkg

Modified Files:
	flat.pm 
Log Message:
implement line item bundling

Index: flat.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/flat.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- flat.pm	13 Apr 2008 07:41:28 -0000	1.22
+++ flat.pm	17 Apr 2008 01:39:53 -0000	1.23
@@ -155,7 +155,8 @@
 }
 
 sub reset_usage {
-  my($self, $cust_pkg) = @_;
+  my($self, $cust_pkg, %opt) = @_;
+  warn "    resetting usage counters" if $opt{debug} > 1;
   my %values = map { $_, $self->option($_) } 
     grep { $self->option($_, 'hush') } 
     qw(seconds upbytes downbytes totalbytes);



More information about the freeside-commits mailing list