[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5993] branches/1.3/LedgerSMB/RP.pm



Revision: 5993
          http://sourceforge.net/p/ledger-smb/code/5993
Author:   einhverfr
Date:     2013-08-30 10:42:24 +0000 (Fri, 30 Aug 2013)
Log Message:
-----------
Correcting typo that caused error in with inventory activity report.

Modified Paths:
--------------
    branches/1.3/LedgerSMB/RP.pm

Modified: branches/1.3/LedgerSMB/RP.pm
===================================================================
--- branches/1.3/LedgerSMB/RP.pm	2013-08-30 08:37:24 UTC (rev 5992)
+++ branches/1.3/LedgerSMB/RP.pm	2013-08-30 10:42:24 UTC (rev 5993)
@@ -93,7 +93,7 @@
     @cols = qw(description sold revenue partnumber received expense);
     while ( $ref = $sth->fetchrow_hashref(NAME_lc) ) {
         $form->db_parse_numeric(sth=>$sth, hashref=>$ref);
-        $ref->{net_income} = $ref->{revenue} - $ref->{expense};
+        $ref->{net_income} = $ref->{revenue} - $ref->{expenses};
         map { $ref->{$_} =~ s/^\s*// } @cols;
         map { $ref->{$_} =~ s/\s*$// } @cols;
         push @{ $form->{TB} }, $ref;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits