summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-05-22 18:59:54 +0000
committerivan <ivan>2010-05-22 18:59:54 +0000
commitea1bb84596f02036257f51cd18dc6ae4a6886b02 (patch)
tree06aa6e19249a5b2f3b4a5622d2cd9019bba63073
parent8c3023a80f5fa8c09d88b89f3bcbec9619a14738 (diff)
fix net sales amount (credits were being applied in wrong month), RT#7502FREESIDE_1_7_BRANCH
-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 832f7eb..b3515ed 100644
--- a/FS/FS/Report/Table/Monthly.pm
+++ b/FS/FS/Report/Table/Monthly.pm
@@ -141,7 +141,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