fix net sales amount (credits were being applied in wrong month), RT#7502
authorivan <ivan>
Sat, 22 May 2010 18:52:47 +0000 (18:52 +0000)
committerivan <ivan>
Sat, 22 May 2010 18:52:47 +0000 (18:52 +0000)
FS/FS/Report/Table/Monthly.pm

index 19c0b21..524e01b 100644 (file)
@@ -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