[freeside-commits] freeside/FS/FS/Report/Table Monthly.pm, 1.8.2.2, 1.8.2.3
Ivan,,,
ivan at wavetail.420.am
Wed Mar 26 11:18:47 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS/Report/Table
In directory wavetail.420.am:/tmp/cvs-serv8850
Modified Files:
Tag: FREESIDE_1_7_BRANCH
Monthly.pm
Log Message:
add a netcredits_12mo sub so that 12mo checkbox works again... sure do need these to be auto-generated or $AUTOLOADED or something :)
Index: Monthly.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Report/Table/Monthly.pm,v
retrieving revision 1.8.2.2
retrieving revision 1.8.2.3
diff -u -d -r1.8.2.2 -r1.8.2.3
--- Monthly.pm 14 Mar 2008 07:48:44 -0000 1.8.2.2
+++ Monthly.pm 26 Mar 2008 18:18:45 -0000 1.8.2.3
@@ -274,6 +274,12 @@
$self->credits($speriod, $eperiod, $agentnum);
}
+sub netcredits_12mo {
+ my( $self, $speriod, $eperiod, $agentnum ) = @_;
+ $speriod = $self->_subtract_11mo($speriod);
+ $self->netcredits($speriod, $eperiod, $agentnum);
+}
+
#not being too bad with the false laziness
use Time::Local qw(timelocal);
sub _subtract_11mo {
More information about the freeside-commits
mailing list