summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-05-22 18:52:46 +0000
committerivan <ivan>2010-05-22 18:52:46 +0000
commitc3a7a85cc177d38b50621900f239447c92552a0c (patch)
treee8939b6c1235c427895590c7de831878b8d69fcc
parent42ed7ef03700fb17467bfeedead3639da9efc4a4 (diff)
fix net sales amount (credits were being applied in wrong month), RT#7502
-rw-r--r--FS/FS/Report/Table/Monthly.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Report/Table/Monthly.pm b/FS/FS/Report/Table/Monthly.pm
index 620af081e..376ee5cd8 100644
--- a/FS/FS/Report/Table/Monthly.pm
+++ b/FS/FS/Report/Table/Monthly.pm
@@ -142,7 +142,7 @@ sub netsales { #net sales
my( $self, $speriod, $eperiod, $agentnum ) = @_;
$self->invoiced($speriod,$eperiod,$agentnum)
- - $self->credits( $speriod,$eperiod,$agentnum);
+ - $self->netcredits($speriod,$eperiod,$agentnum);
}
#deferred revenue