summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-05-22 18:52:47 +0000
committerivan <ivan>2010-05-22 18:52:47 +0000
commit092f7a9513b9de30a2b936865667daf18a07a810 (patch)
tree64cc277fcfbee23119b1f0dabbb1e0886e5e3ab5
parent31c9718c6e5cb6d6f1c33c85f72f68560454db93 (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 19c0b216d..524e01b04 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