[freeside-commits] freeside/FS/FS/Report Table.pm,1.4,1.5
Mark Wells
mark at wavetail.420.am
Fri Feb 3 12:24:49 PST 2012
Update of /home/cvs/cvsroot/freeside/FS/FS/Report
In directory wavetail.420.am:/tmp/cvs-serv6444/FS/FS/Report
Modified Files:
Table.pm
Log Message:
unbreak package churn report, fallout from #15393
Index: Table.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Report/Table.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- Table.pm 7 Jan 2012 23:04:02 -0000 1.4
+++ Table.pm 3 Feb 2012 20:24:47 -0000 1.5
@@ -546,12 +546,12 @@
}
-sub setup_pkg { shift->pkg_field( @_, 'setup' ); }
-sub susp_pkg { shift->pkg_field( @_, 'susp' ); }
-sub cancel_pkg { shift->pkg_field( @_, 'cancel'); }
+sub setup_pkg { shift->pkg_field( 'setup', @_ ); }
+sub susp_pkg { shift->pkg_field( 'susp', @_ ); }
+sub cancel_pkg { shift->pkg_field( 'cancel', @_ ); }
sub pkg_field {
- my( $self, $speriod, $eperiod, $agentnum, $field ) = @_;
+ my( $self, $field, $speriod, $eperiod, $agentnum ) = @_;
$self->scalar_sql("
SELECT COUNT(*) FROM cust_pkg
LEFT JOIN cust_main USING ( custnum )
More information about the freeside-commits
mailing list